LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > vik
User Name
Password

Notices


Rate this Entry

Apple Magic Trackpad in Linux

Posted 08-18-2013 at 08:09 PM by vik
Updated 08-18-2013 at 08:49 PM by vik

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.
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
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.
Posted in Uncategorized
Views 5119 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration