Home > Linux, MacOS > Get Mac OS X Lion Style Reverse Scrolling On Ubuntu

Get Mac OS X Lion Style Reverse Scrolling On Ubuntu

July 27th, 2011

Just switched to new Mac OS X Lion and adjusting to the reverse scrolling feature, I have started to have problems with the Ubuntu I am using at work. Although it is kind of a mind exercise, I realized that having 2 different scrolling directions at home and at work is not for me. So here is the thing that you should do to have Mac OS X Lion style scrolling at Ubuntu as well.

Just add this command to your startup (System -> Preferences -> Startup Apps):

xmodmap -e "pointer = 1 2 3 5 4"

Linux, MacOS , , ,

  1. Doug
    August 5th, 2011 at 17:15 | #1

    This is a beautiful hack–bravo! And it should work on almost any Linux distribution since it’s just X11. It just fixed up my sanity on CentOS.

  2. August 5th, 2011 at 22:38 | #2

    Thanks! I am glad it is a useful trick for you. You are right, it should work on most of the distros as well. Surrounded with Ubuntu everywhere, it is the only Linux distro that comes to my mind nowadays :)

  3. August 20th, 2011 at 17:55 | #3

    I love the simplicity of this hack. Good job. Bookmarked.

  4. Enrico
    September 10th, 2011 at 13:08 | #4

    Very useful (I’m using it with Ubuntu 11.04. And very simple as well, you just have to add he command to startup apps.

  5. Henry Lopes
    January 11th, 2012 at 14:47 | #5

    And about the horizontal scrolling??

  6. tio
    January 26th, 2012 at 00:01 | #6

    Very useful!

  7. Carus
    March 23rd, 2012 at 15:11 | #7

    Thank you so much!

  1. No trackbacks yet.