This post is based on here.
To reverse mouse scroll direction, in case you like natural scrolling direction, edit /usr/share/X11/xorg.conf.d/10-evdev.conf file and add the line highlighted in green:
...
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Option "ButtonMapping" "1 2 3 5 4 6 7 8"
Driver "evdev"
EndSection
...
Restart X11 to take effect!
that works! Cheers :)
ReplyDeleteI am glad to here that!
DeleteThis comment has been removed by the author.
DeleteIt works on Ubuntu 16.04.2.
ReplyDeleteThanks
Not working with Ubuntu 17.04... The file is empty/not existing.
ReplyDeleteSorry, I can't help with 17.04.
Deletehow to restart X11?
ReplyDeletethis may help you
Deletehttps://askubuntu.com/questions/1220/how-to-restart-x-window-server-from-command-line
This worked awesomely !!!
ReplyDeleteGreat!
DeleteWorks great in Linux Lite!! Thanks
ReplyDeleteGood to know!
DeleteThis comment has been removed by the author.
ReplyDeleteThis works for me with browser windows, but not others (e.g. text documents, pdfs). Am I missing something? I am using Ubuntu 16.04.
ReplyDeleteWork here on Debian 9 Stretch as well! Different conf but same principles
ReplyDeleteI had better luck (as in, it worked globally in the browser AND in Terminal) following these directions https://ducfilan.wordpress.com/2016/09/20/enable-system-wide-inverse-reverse-natural-scrolling-on-ubuntu-16-04/
ReplyDelete