Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script to fix natural touchpad scroll direction for gnome based apps on XFCE4 (eg.: Xubuntu). A copy of https://gist.github.com/wjladams/1a7f37019e0b1b3c2c0be335142b1852
#!/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
You can’t perform that action at this time.