петък, 10 май 2013 г.

Install Apple Magic Trackpad on Linux Mint/Ubuntu


All I need is:
 1 finger tap for left click
 2 finger tap for right click
3 finger tap for middle button click
 horizontal scrolling
 vertical scrolling
Other gestures I didn't test.

I followed several tutorials, but the tap was not working.  Thanks to xf86-input-mtrack it is finally working :)

Bellow the steps:
1. Click the start buton on the Trackpad, green light appears.
2. Ubuntu: Start Button>Control Center>Bluetooth Manager, "Search" and "Setup" with PIN "0000", on Ubuntu follow the first steps described here.
3. Install Ubuntu-x-swat with the following:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates 
sudo apt-get update
 more recent information is available here.
4. Install xf86-input-mtrack:

sudo apt-get install xserver-xorg-input-mtrack
5. Create the file  /etc/X11/xorg.conf.d/50-synaptics.conf with the content bellow:

Section "InputClass"
     Identifier "Magic Trackpad ZZ"
     MatchUSBID "05ac:030e"
     #Driver "evdev"
     Driver "mtrack"
     MatchIsTouchpad "on"
     MatchDevicePath "/dev/input/event*"
EndSection
6. Open /usr/share/X11/xorg.conf.d/50-synaptics.conf and comment the Section with Identifier "touchpad catchall". 
7. Open /usr/share/X11/xorg.conf.d/10-evdev.conf and comment the Section with Identifier "evdev touchpad catchall"
8. Restart



Няма коментари:

Публикуване на коментар