Custom trackpad mapping doesn't work for all applications

Posted by picheto on Ask Ubuntu See other posts from Ask Ubuntu or by picheto
Published on 2012-09-09T15:43:41Z Indexed on 2012/09/09 15:49 UTC
Read the original article Hit count: 343

I found out I could invert my trackpad scrolling, so as to work more like the OS X "natural scrolling", which I liked better.

To do that, I run the following command on startup:

xinput set-button-map 11 1 2 3 5 4 7 6

Where 11 is the touchpad id (found with xinput list and xinput test 11). This inverts the vertical and horizontal two-finger scrolling, and works fine in Terminal, Chrome, Document Viewer, etc.

However, it doesn't work in Nautilus and some applications such as the Update Manager, as they keep the usual mapping. I'm running Ubuntu 12.04 x64

Why does this mapping work for some applications but not for others? I know there is software I can download to do the same, but this method seemed "cleaner".

Thanks

© Ask Ubuntu or respective owner

Related posts about nautilus

Related posts about google-chrome