Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EkoAdiWijayanto/c508f2be0fc578d096dcab3318048b9f to your computer and use it in GitHub Desktop.
Save EkoAdiWijayanto/c508f2be0fc578d096dcab3318048b9f to your computer and use it in GitHub Desktop.
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "true"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "NaturalScrolling" "true"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment