I’ve been working on a complete guide to installing Ubuntu on a MacBook, part of which includes a customized xorg.conf to offer right-click, double-tap, scrolling and other such functionality. In a release-early, release-often mindset I wanted to post my config now. If you run Ubuntu on a macbook this might be helpful. If you have any suggestions to add I would appreciate hearing about those as well.

Ooh, if you’re running on a MacBook Pro there is a similar config for that hardware available here.

Remember, before you update *any* of your xorg.conf it is *always* a good idea to back it up. The last thing you want is a b0rk3d graphical server with no revert options. (sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-date).

…and if you read this far you can view / download my xorg.conf here:

macbook customized xorg.conf

The main magic is in the Section “Input Device”.

I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.

Related Posts

Random Posts

-->

Comments

12 Responses to “customized macbook xorg.conf - including double-tap, right-click, scrolling, etc.”

  1. Adam on June 4th, 2007 2:30 pm

    Does the scrolling function as it does under OS X where dragging two fingers up/down or left/right activates vertical or horizontal scrolling respectively; or is scrolling achieved by dragging on the side of the pad?

  2. Ubuntu Tutorials on June 4th, 2007 3:51 pm

    The scrolling function works on the right-side of the trackpad. I have never tried to duplicate the two-finger scroll like in OS X.

  3. thouters on June 5th, 2007 12:12 pm

    Personaly I don’t like tapping (why the hell would you tap a touchpad?), the macbook has a nice large button to act as its left mouse button and you hover your thumb over it anyway when moving the cursor.

    I mapped the left apple key (meta) to right-click using the mac button emulator driver from the kernel. If you always have your left hand over the keyboard, right clicking only requires you to lower your thumb.

    Two finger scrolling has been a feature you can use with the synaptics driver for ages. It works beautifully and in four directions. I’m a gentoo user and put my config up at http://www.thouters.be/pub/stickies/xorg-macbook-1.conf if you’re interested.

  4. Nathan DBB on June 5th, 2007 12:31 pm

    Trackpad gestures are patented (applied for) by Apple!

    http://hrmpf.com/wordpress/72/apple-applies-for-patents-for-touchpad-technology/

    Software patents will not be defeated becuse they are a tool that the established use to keep out the entrepreneurs and originals. The established give the campaign donations to the elected, and went to school with the judge.

  5. Mylo on June 14th, 2007 9:09 am

    I have linux on my mac. I’ve just been playing around with kde and an extra monitor.

    If you can work out how to get the screens working independently (right click on desktop -> Configure Desktop -> Screen) that would be a champion effort.

    I’ve got a bit of spare time over the next couple of weeks, and I know I’ll be thanking myself later for putting in the effort.

    Later dude

  6. Michael Moore on July 7th, 2007 9:05 pm

    Oh man, I was excited to have a nice premade xorg.conf, but it’s using /dvorak/!

    I’ll probably just fix that, but maybe you could provide a non dvorak xorg.conf as well?

    Thanks!
    Michael

  7. Ubuntu Tutorials on July 7th, 2007 11:47 pm

    Michael - I did not even think about that. I will update the file now to use the us layout. thank you for the reminder!

  8. Bast on November 20th, 2007 5:23 pm

    Hi,

    Few months ago, i speak about this article. Now I just seen that the xorg.conf file isn’t available anymore.

    The last time, i copied the touchpad section. You can find it on my weblog : http://bastnic.info/index.php/post/2007/06/05/Configurer-au-poil-son-serveur-X-sous-Ubuntu-Feisty-Fawn (in French, apparead on the french ubuntu planet).

    Sincerely,

  9. Max on March 28th, 2008 8:39 am

    I’ve actually modified the synaptics source to allow for two finger right click and two finger scrolling exactly like in OsX. I also added three finger middle click support. The problem is that when I contacted the original author of the package, I didn’t get any response. If anyone can tell me how I can get these features published into the next version of the driver, that would be appreciated… also appreciated I’m sure by all the people that would like multiple finger touchpad support in linux. :)

  10. dc on April 28th, 2008 10:16 am

    you should maybe warn more loudly that it is dvorak … it is easy to not notice when you are quickly running configs trying to get things tweakeds

  11. Christer Edwards on April 28th, 2008 10:43 am

    @dc - my mistake. I’ve updated the file.

  12. Cody on April 28th, 2008 7:40 pm

    MAX! I’m interested big time on that fix. Would you mind sharing them?

Leave a Reply




    OSCON


    OSCON 2008

    Subscribe to the RSS feed!


    subscribe to the ubuntu tutorials RSS feed

    Polls


  • Regarding the Ads on Ubuntu Tutorials...

    • I dislike all web-based ads and use AdBlock (or similar) to destroy them! (49%, 155 Votes)
    • I don't mind the text-based ads on ubuntu-tutorials.com and currently view them. (31%, 99 Votes)
    • I would be willing to disable AdBlock (or similar) for this site considering I have found it helpful. (16%, 51 Votes)
    • I subscribe to ubuntu-tutorials.com via RSS or email so ads are a non-issue. (15%, 48 Votes)
    • I'd be willing to use the "Donate" button instead of see ads. (5%, 17 Votes)

    Total Voters: 316

    Loading ... Loading ...

  • Blogroll

  • Ads by Google