Apple Magic Trackpad in Linux
Here's the little tweaks I applied to my Apple Magic Trackpad. It doesn't come with a bluetooth dongle so if your motherboard doesn't have bluetooth support you will have to buy a dongle.
Create a file under /etc/X11/xorg.conf.d called 60apple-magic-trackpad.conf. If you don't have an xorg.conf.d directory, create one.
Make sure you specify the synaptics driver in the file; the evdev driver will only support clicks from the trackpad.
Let me explain my tweaks: TapButton1 means that if you tap the trackpad with one finger, it will register as a click of mouse button 1 (left mouse button). TapButton2: if you tap the trackpad with 2 fingers, it registers as a click of mouse button 3 (right mouse button). And if you tap with 3 fingers, it registers as a click of mouse button 2 (middle mouse button). Finally, locked drags makes it easier to drag windows if you have to scroll further than the trackpad. To use tap-and-drag, you double-tap with one finger, hold down your finger after the second tap, then move your finger in any direction to drag. Then you can move the window wherever you want, and tap again to drop it. LockedDrags means you can actually lift up your hand while you're dragging and it will keep dragging until you tap again.
Finally, install blueman or another bluetooth pairing program to pair your trackpad. Device code is just 0000.
Create a file under /etc/X11/xorg.conf.d called 60apple-magic-trackpad.conf. If you don't have an xorg.conf.d directory, create one.
Code:
Section "InputClass" Identifier "Apple Magic Trackpad" Driver "synaptics" MatchUSBID "05ac:030e" MatchIsTouchpad "on" Option "TapButton1" "1" Option "TapButton2" "3" Option "TapButton3" "2" Option "LockedDrags" "true" EndSection
Let me explain my tweaks: TapButton1 means that if you tap the trackpad with one finger, it will register as a click of mouse button 1 (left mouse button). TapButton2: if you tap the trackpad with 2 fingers, it registers as a click of mouse button 3 (right mouse button). And if you tap with 3 fingers, it registers as a click of mouse button 2 (middle mouse button). Finally, locked drags makes it easier to drag windows if you have to scroll further than the trackpad. To use tap-and-drag, you double-tap with one finger, hold down your finger after the second tap, then move your finger in any direction to drag. Then you can move the window wherever you want, and tap again to drop it. LockedDrags means you can actually lift up your hand while you're dragging and it will keep dragging until you tap again.
Finally, install blueman or another bluetooth pairing program to pair your trackpad. Device code is just 0000.
Total Comments 0