I don’t think I’m going to need this again, but since I’m cleaning up my notes and this has come up time and again when I was setting up Arch Linux on a laptop, my code for natural scrolling on Linux (the probably-not-best-way-to-do-it).


Section "InputClass"
Identifier "Natural Scrolling"
MatchProduct "Logitech"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Option "VertScrollDelta" "-1"
Option "HorizScrollDelta" "-1"
Option "DialDelta" "-1"