Ubuntu Feisty On Macbook

Ubuntu Feisty Fawn 7.04
MacBook Core2 Duo, first generation.

- Enabled 1280*800 resolution:

sudo apt-get install 915resolution

If you want to see immediatly the change and not wait until next reboot, then restard GDM by pressing CTRL-ALT-BACKSPACE or, from terminal
sudo /etc/init.d/gdm restart

- Enable specific MacBook tool

sudo apt-get install pommed

Then

sudo gedit /etc/pommed.conf

Per cambiare il funzionamento dei tasti funzione:
fnmode = 2
Per abilitare il funzionamento del telecomando
enabled = yes

- Enable Bluetooth

sudo apt-get install gnome-bluetooth

- Beryl:

Add the needed repository

sudo sed -i '$adeb http://ubuntu.beryl-project.org/ edgy main' /etc/apt/sources.list
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
sudo apt-get update

Now install beryl with some useful tools

sudo apt-get install beryl beryl-manager emerald-themes

- Wifi

sudo aptitude install build-essential
wget http://snapshots.madwifi.org/madwifi-hal-0.9.30.13-current.tar.gz
tar -zxvf madwifi<tab>
cd madwifi<tab>
make
sudo make install   (answer 'r' when asked)

for more info, check 2

. Mouse

I have experienced a strange behavior with one of my installation. I cannot move mouse while I was pressing a key on the keyboard. A behavior that is useful for Touchpad but really annoying for mouse.
This is how to fix:

sudo gedit /etc/default/mouseemu
Uncomment "TYPING_BLOCK...", change 300 to 0, save
sudo /etc/init.d/mouseemu restart

. Keyboard:

There is not default settings for the third level keyboard chooser (the one to make [ or €, for example)

From the menu System -> Preferences -> Keyboard
Tab "Layout Options". Open "Third level chooser", then choose the appropriate key:
Hint: Win Key is actually the Mac key :)

. Synaptic Touchpad

Insert 'Option "SHMConfig" "true"' in /etc/X11/xorg.conf

sudo gedit /etx/X11/xorg.conf

find the section InputDevice with Identifier "Synaptics Touchpad" then add the option. In the end should look like this one:

Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizScrollDelta"    "0"
        Option   "SHMConfig"  "true"
EndSection

Reboot is needed to see effect.

Then tune the "suppress touchpad when typing"

syndaemon -i 1 -d

Now install and use gsynaptics to configure touchpad

sudo apt-get install gsynaptics

iSight Camera

sudo modprobe -r uvcvideo
sudo mv /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/uvcvideo.ko.original
sudo apt-get install libusb-0.1-4 libusb-dev linux-headers-$(uname -r)
wget http://files.i-nz.net/projects/linux-kernel/isight/uvcvideo-isight.tar.gz
tar -xzvf uvcvideo-isight.tar.gz
cd against-revision-100
sudo make
sudo make install
sudo modprobe uvcvideo
gst-launch-0.10 v4l2src ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=640,height=480 ! ffmpegcolorspace ! ximagesink

References:
1 http://ubuntuforums.org/showthread.php?t=452262
2 https://help.ubuntu.com/community/MacBook
3 http://wiki.debian.org/MacBook
4 http://ubuntuforums.org/showthread.php?t=491381 (for iSight)

page_revision: 18, last_edited: 1185547611|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.