Created
July 20, 2022 10:16
-
-
Save txtyash/3272b92e648ed647d108a2c791f9c437 to your computer and use it in GitHub Desktop.
Configure touchpad in xorg to support natural scrolling, tap to touch, etc.
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
# Put this file in /etc/X11/xorg.conf.d/ directory and then reboot to reflect changes | |
Section "InputClass" | |
Identifier "libinput pointer catchall" | |
MatchIsPointer "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
EndSection | |
Section "InputClass" | |
Identifier "libinput keyboard catchall" | |
MatchIsKeyboard "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
EndSection | |
Section "InputClass" | |
Identifier "libinput touchpad catchall" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
Option "Tapping" "on" | |
Option "ClickMethod" "clickfinger" | |
Option "NaturalScrolling" "true" | |
Option "AccelSpeed" "0.5" | |
EndSection | |
Section "InputClass" | |
Identifier "libinput touchscreen catchall" | |
MatchIsTouchscreen "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
EndSection | |
Section "InputClass" | |
Identifier "libinput tablet catchall" | |
MatchIsTablet "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment