This post will basically work like a log for myself, but I’ll try to write decent so any one can take advantage of my setup. It was written before https://help.ubuntu.com/community/MacBookPro5-3/Precise was documented.
Installing
Burn Xubuntu to a CD/DVD and boot from it. If you’re having hard trouble booting, just hit F6 and select “nomodeset” before booting live CD. After this basically everything works in live mode, but I recommends you to manually turn on the fans so you don’t overheat anything. Open a terminal, sudo -i and write
echo 6000 > /sys/devices/platform/applesmc.768/fan1_min
echo 6000 > /sys/devices/platform/applesmc.768/fan2_min
If 6000 is too much noise, just dial it down to 5000 or so.
Fan control
Firstly, install fan control unit so we don’t have to write to fan?_min manually. This program is called macfanctld and is found over at mactel ppa.
Network – wireless
During installation you should be able to install this from the tray area. If now, you can do it now.
Graphics
Nvidia proprietate driver is my choice and is available from the restricted drivers menu. At this point glxgears (sudo apt-get install mesa-utils) gives me 4900-5000 FPS.
I use an additional monitor attached to my machine at home and choose therefore to write this to /etc/X11/xorg..conf.
I also added some additional code to dial the gfx performance and heat waste down by adding
Option "Coolbits" "1"
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefaultAC=0x3"
to device section.
Keyboard light
not working yet
That’s the general part. Stuff that I have not mentioned can you assume is working out of the box (sound, camera, suspend etc.). Now I will share my desktop setup.
Xubuntu Layout
Xubuntu team creates to panel which is not how Xfce usually appears. This doesn’t matter because I change it completely. I remove all panels and add a new one to right down corner. This panel is set small and to auto hide. This is where I have tray icons.
How will I launch applications? by going to Desktop settings I chose to remove icons and that minimized programs should appear as icons on desktop. This automatically makes left mouse click on desktop to the main launch menu.
Now we basically only have a background image.
Launch quicklier
To be able to launch applications quickly, I choose to use Kupfer and the right CMD-key which is default mapped to Super_R. We can remap this with xmodmap -e "keycode 134 = Menu" which can be put in startup and then edit ~/.config/kupfer/kupfer.cfg and change it to “keybinding = Menu”.
Additionally to Kupfer there is Gnome-Do and Synapse.
Music
Xubuntu is shipped with gmusicbrowser which is a very light music player with enough features (for me at least).
Go to Settings Manager -> Keyboard -> Application shortcuts and add
“gmusicplayer -cmd PrevSong” for “X86AudioPrev”
“gmusicplayer -cmd PlayPause” for “X86AudioPlay”
“gmusicplayer -cmd NextSong” for “X86AudioNext”
File browsing
I uninstalled Thunar and installed Nautilus. They appear equal fast and clean, but nautilus has additional features such as bookmarking and volume management. Also, Nautilus has dropbox support. For the record,
Email notify
XFce has a neat mail plugin for the panel called Mail Watcher. I configured it for GMail (you’ll figure it out) and added a OSD notifier (on screen display) in the field where it runs a command for each new email. I used notify-send -i /usr/share/app-install/icons/gnome-gmail.png -t 99999999 "New Email" "Read message"
Chromium crap
Chromium keeps asking about being default browser this did not work: sudo update-alternatives --config x-www-browser
Flash is some piece of shitware and this time it adds blue tint over videos on youtube. You can fix it with
sudo mkdir /etc/adobe
echo -e "EnableLinuxHWVideoDecode=1\nOverrideGPUValidation=true" | sudo tee /etc/adobe/mms.cfg > /dev/null
Take a look at the table below for programs which ease my work (randomly listed)
| Name |
Package |
Description |
Comment |
| Xournal |
xournal |
highlighting in PDF documents |
|
| PDF Mod |
pdfmod |
edit pdf documents |
|
| VMware |
|
|
|
| MATLAB |
my own package |
to mathematical operations |
|
| Audacity |
audacity |
audio editing |
|
| X Video Capture |
xvidcap |
|
|
| VideoLAN |
vlc |
Video viewer |
|
| Bluefish |
bluefish |
Development editor |
|
| Tex Maker |
texmaker |
Write latex documents |
|
| Chrome |
chromium-browser |
Web browser |
|
| Dropbox |
nautilus-dropbox |
File syncer |
Must have or similar |
| Skype |
skype |
Video chat program |
It just works |
| WiIThon |
wiithon |
Put Wii games on removable devices |
https://launchpad.net/wiithon |
|
gshutdown |
Set a timeout when your machine should be off |
Rarley use this |
| Tilda |
tilda |
Dropdown console |
Use it all the time |
| WINE |
wine |
|
|
| BOOT-up-MANAGER |
bum |
Modify GRUB graphically |
|
|
usb-creator-gtk |
create startup USBs |
|
|
firestarter |
setup a firewall or share a connection |
|
|
ubuntu-restricted-extras |
Java and Flash |
|
|
macfanctld |
|
|
| Netbeans |
netbeans |
IDE for programming |
I use this when programming Java |
|
apt-file |
Search for specific files in your repository |
|
| Cheese |
cheese |
Webcamera application |
|
| Kupfer |
kupfer |
Do thing quickly |
Must have or similar |
| Nmap |
nmap |
Network map – look for services on the net |
Must have |
| MPlayer |
mplayer |
Simple video player. What VLC dosen’t take, this does. |
|
|
|
|
|
…