Created
April 20, 2019 18:23
-
-
Save paulodeleo/7b0e39f80fa04c7a8cb3009d5744c0d0 to your computer and use it in GitHub Desktop.
Script to fix natural touchpad scroll direction for gnome based apps on XFCE4 (eg.: Xubuntu). A copy of https://gist.github.com/wjladams/1a7f37019e0b1b3c2c0be335142b1852
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Find the amount by doign | |
# synclient | grep HorizScrollDelta | |
# synclient | grep VertScrollDelta | |
# And then simply negative that value for this | |
# Found at | |
# https://askubuntu.com/questions/690512/how-to-enable-natural-scrolling-in-xfce4/853262 | |
# This is because, although xubuntu 18.04 has reverse scrolling option in touchpad | |
# settings, it doesn't really work, the setting does not cascade to gnome apps for some reason. | |
synclient HorizScrollDelta=-116 | |
synclient VertScrollDelta=-116 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi I have 2 laptops both with xubuntu 20, I run the script for my first laptop and it worked, but when I tried it with my other laptop it didn't work, do you know why?