💾 Archived View for darknesscode.xyz › notes › libinput-touchpad.gmi captured on 2022-01-08 at 13:53:57. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-05)
-=-=-=-=-=-=-
Libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver. It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code compositors need to provide the common set of functionality that users expect.
A basic configuration should have the following structure:
Section "InputClass" Identifier "devname" Driver "libinput" Option "Tapping" "false" Option "ClickMethod" "clickfinger" Option "NaturalScrolling" "true" EndSection
+ **Option "Tapping" "on"**: tapping a.k.a. tap-to-click
+ **Option "ClickMethod" "clickfinger"**: trackpad no longer has middle and right button areas and instead two-finger click is a context click and three-finger click is a middle click, see the docs.
+ **Option "NaturalScrolling" "true"**: natural (reverse) scrolling
+ **Option "ScrollMethod" "edge"**: edge (vertical) scrolling
The file is located in the path below. Change vim for you prefer text editor.
sudo vim /etc/X11/xorg.conf.d/30-touchpad.conf
After edit the system must be reboot.
----------
----------
© DarknessCode