Home > macbook > customized macbook xorg.conf – including double-tap, right-click, scrolling, etc.

customized macbook xorg.conf – including double-tap, right-click, scrolling, etc.

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”.

If this article has been helpful, please consider linking to it.

Categories: macbook Tags:

Related Posts

  1. Adam
    June 4th, 2007 at 14:30 | #1

    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. June 4th, 2007 at 15:51 | #2

    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. June 5th, 2007 at 12:12 | #3

    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
    June 5th, 2007 at 12:31 | #4

    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
    June 14th, 2007 at 09:09 | #5

    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. July 7th, 2007 at 21:05 | #6

    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. July 7th, 2007 at 23:47 | #7

    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. November 20th, 2007 at 17:23 | #8

    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
    March 28th, 2008 at 08:39 | #9

    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
    April 28th, 2008 at 10:16 | #10

    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. April 28th, 2008 at 10:43 | #11

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

  12. Cody
    April 28th, 2008 at 19:40 | #12

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

  13. Rolf
    August 16th, 2009 at 13:28 | #13

    Me too! Me too! Patch please!
    (or at least a link to the sources, maybe I can modif them myself, but dont count on it…)

  1. No trackbacks yet.