💾 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

View Raw

More Information

⬅️ Previous capture (2021-12-05)

-=-=-=-=-=-=-

X11 Libinput touchpad

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

Some options

+ **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

Edit the file

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.

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode