| Apple Magic Trackpad and Ubuntu Maverick |
|
|
|
| Written by Josh B |
| Monday, 11 October 2010 18:02 |
|
A few months ago I got hold of a Magic Trackpad. Unless you aren't slightly obsessed by Apple products, this is a Trackpad pointer device from Apple. When I first got it I thought it was very handy, especially for RSI-prone developers like myself. The only problem was I couldn't get it working with Ubuntu Lucid 10.04. Well now that Ubuntu Maverick 10.10 is out, I've got it working. (Sort of). First, get the Trackpad working with Ubuntu. You can either follow my instructions, or instructions on the Ubuntu wiki. You can also recurse back to this Blog since Then install utouch and input-utils
Make sure you can move the mouse pointer and click the Trackpad to select items with the Trackpad. Good show if you've got it to work...! Then use lsutils to see where the Trackpad is connected: sudo lsinput Then log out of your account and log back in. (This restarts X). You should hopefully have a new section in /etc/X11/xorg.conf. This should be identified with the following: Section "InputDevice" Now comment this out and add a new section: Section "InputClass" Note that the USBID is taked from the Vendor and Product Id we found above. This should be the same for all Trackpads, but Apple do have a habit of releasing new devices. If your Trackpad doesn't have multi-touch, this is one possible trouble-shooting start-point. (Thanks to Matt who pointed that out in the Comments). Finally, add the Pointing Devices preferences panel: apt-get install gpointing-device-settings Note that you should match up the MatchDevicePath with the output from lsinput. Now log out and back in again. You should find that mullti-touch is enabled for the Trackpad. You should be able to right-click by tapping two fingers on the Trackpad...! Now go to the "Pointing Device" preferences, and you should be able to enable vertical scrolling using two fingers. I still haven't been able to work out how to enable all the Multi-touch taps and swipes on the Trackpad. But when I do, I will post it up here...! UPDATED : It looks like Middle-Click is working with a Three-fingered tap...! This will give you access to the second Linux Clipboard. (In place copy). I have also added a note about the Pointing Devices preferences that Bobby has highlighted.
|
| Last Updated on Monday, 31 January 2011 13:25 |





Comments
thanks ! Quote
I tried these steps but with very little success. All of the tester tools show that the pad is functioning with multi fingers, but no two finger scrolling on a browser.
Also, what do you think about this video.
http://www.youtube.com/watch?v=UOdmUwxb2DQ
What's the diff between your sol and this one.
Here's a part of my config (tried several solutions):
Section "InputClass"
# Identifier "Magic Trackpad"
Identifier "Apple Wireless Trackpad"
MatchUSBID "0×5ac:0×30e"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event9"
Driver "synaptics"
# Driver "multitouch"
Option "SHMConfig" "True"
EndSection Quote
Did you check out Bobby's comments about adding the Pointer Devices control panel…? The two finger scrolling is enabled there.
Quoting Nick:
My solution is using the drivers in Maverick. I don't think the drivers linked to are in the repositories yet… When I have a moment I will check them out, as I would prefer to have the Trackpad setup with the same gestures as it is on Snow Leopard… I'll let you know how I get on… Quote
My challenge is I do not seem to have an xorg.conf file in the location you indicated. (/etc/X11/xorg.conf)
Is it possible 10.10 places this file somewhere else? I've messed up my xorg.conf on older versions of linux so I do not wish to simply create one here and hope for the best. Any advice? Thanks. Quote
I think that if you add a /etc/X11/xorg.conf with the above InputClass you should be fine. If it does screw up, the worst that will happen is that X Windows (the user-interface that is used to control Linux) won't load. When that happens, you will be dumped to a Terminal Prompt. Don't worry, as the following command will remove your xorg.conf file:
sudo rm /etc/X11/xorg.conf
Let me know how it goes…! Quote
The main xorg.conf in 10.10 is minimal. Most configuration ends up in /usr/share/X11/xorg.conf.d/ - for the magic trackpad in 60-magictrackpad.conf. Either edit that file directly, or copy it to 99-magictrackpad.conf and edit that one (it will be run last, and thus overrule anything set in 60-magictrackpad.conf. Quote
I was beginning to have some trouble when I decided to disconnect the trackpad and use it on a different machine. The switch over was no problem (as it was a Mac) but the switch back to Ubuntu was rather quirky. I couldn't quite figure out the right combination of buttons to push at just the right time… until now!
By the way, this is helpful anytime you decide to disconnect the magic trackpad for whatever reason. Also, if the trackpad is disconnected after restart, this can help reconnect it.
Push the power button on the trackpad once. If the trackpad was off, wait until it cycles through discoverable mode. Then press it again so there is a solid light for a few seconds. If the trackpad was already on, great! You should see the solid light. Next, go to the bluetooth applet > Apple Wireless Trackpad > Connect. It should be able to connect now.
Hope that is a helpful supplement to the already great walkthrough above. Quote
RSS feed for comments to this post.