Tips for configuring Ubuntu Karmic on MacBook Pro

The new Ubuntu Karmic (9.10) will be release soon and it will greatly increase the support of MacBooks, thanks to the official Ubuntu Mactel Team (https://launchpad.net/mactel-support)

Here are a short list of tips for configuring your Macbook with Ubuntu Karmic.

To change the default behavior of the Fn keys, because I use much more the F1, F2, F3 ecc, than changing brightness of my screen, keyboard, etc. Added in /etc/rc.local:

echo 2 > /sys/module/hid_apple/parameters/fnmode

The new hid-apple module has native support for keys for changing brightness on screen and keyboard, and also for the integrated light sensor. Unfortunately, hid-apple obey too much to the light sensor, changing every few seconds the brightness without taking care of manual changes to the brightness. In a few words, I cannot manually change the screen brightness because the light sensor reset it every time. So I decided to reinstall ye good olde pommed to control everything.

sudo aptitude install pommed

For changing settings:

sudo nano /etc/pommed.conf

For mounting the mac hfs+ partition on Ubuntu: sudo aptitude install hfsprogs Add to /etc/fstab: /dev/sda2 /media/mac hfsplus defaults 0 2 Important note: you MUST disable journaling on the hfs filesystem, because Linux doesn’t know how to handle the journal. You can disable journaling on the mac volume when you are on MacOsX running in a terminal:

diskutil disableJournal /

I have also changed on my Ubuntu /etc/passwd the UID of my user from 1000 to 501, so I don’t need to use my root account to access my mac home directory. You can also change the mac user UID from mac, using the Account applet in the System Preferences panel (but I don’t have tried yet)

Also remember to add to your sources.list the Medibuntu repository (https://help.ubuntu.com/community/Medibuntu) and Mactel PPA (https://edge.launchpad.net/~mactel-support/+archive/ppa)

🇬🇧 🇺🇸 If you found value in my content, consider supporting me by treating me to a coffee, beer, or pizza. Your contributions help fuel more quality content creation.

🇮🇹 Se hai trovato valore nei miei contenuti, considera di supportarmi offrendomi un caffè, una birra o una pizza. I tuoi contributi aiutano a creare contenuti di qualità.

🇬🇧 🇺🇸 If you have found inaccuracies or wish to improve this article, please use the comments section below (after clicking on Load Comments).

🇮🇹 Se hai trovato imprecisioni o vuoi migliorare questo articolo, utilizza la sezione commenti qui sotto (dopo aver cliccato Load Comments)

Comments