Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two-finger scrolling enabled on my touchpad. Moving my fingers up scrolls up and moving them down scrolls down. I would like to have the direction of scrolling inverted, in much the same way the Mac does it. Can I do this? How?

share|improve this question
dconf editor is the best way, but I think he meant to check, not uncheck it. Also , I tried, files(nautilus) would not ignore this setting on ubuntu 14.04 – user3801017 Jul 3 '14 at 14:11
up vote 2 down vote accepted

Just paste

pointer = 1 2 3 5 4 6 7 8 9 10 11 12

inside a file named: .Xmodmap and save it to your home folder :) Don't forget to log out and back in

share|improve this answer
Thanks. I'd point out to readers that the key thing here is switching 4 and 5 in the order. – jml Apr 11 '12 at 18:39
Thanks, spread the word! – Nicholos Tyler Apr 11 '12 at 21:30
You may also want to switch 6 and 7. Notice that this doesn't work as consistently in 12.04 as it did in 11.10. Some applications (such as nautilus, gedit and the software center) ignore this setting. – Umang May 5 '12 at 23:59

I suppose the best way to do this is by using dconf-editor:

  • Open Terminal
  • Type in deconf-editor and hit Enter
  • Now go to org>gnome>settings-daemon>peripherals>touchpad and uncheck natural scroll

Here's a screenshot of deconf-editor after making changes:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.