3 ms·
With X11 it's quite simple to change all possible trackpad options through a single text file with libinput e.g. cat > /etc/X11/xorg.conf.d/40-libinput.con
by tomxor 4y ago
With X11 it's quite simple to change all possible trackpad options through a single text file with libinput e.g.
cat > /etc/X11/xorg.conf.d/40-libinput.conf << EOF
Section "InputClass"
Identifier "Touchpad Settings"
MatchDriver "libinput"
MatchIsTouchpad "on"
Option "NaturalScrolling" "true"
Option "Tapping" "true"
Option "TappingDrag" "true"
Option "TappingDragLock" "true"
EndSection
EOF
For a full listing of options:
man libinput
The same driver is used for wayland but I don't know how you configure it there, it will no doubt be possible to do something similar with a single text file config.
I think the problem is that most UI tools like gnome settings do not expose the full range of possibilities because it's too much effort.
[EDIT]
Ouch, so i'm wrong, there is no equivalend in wayland. I know wayland has no concept of a display server but this really sucks for configurability [0]:
> For Wayland, there is no libinput configuration file. The configurable options depend on the progress of your desktop environment's support for them; see #Graphical tools.
This means there is no built in way to configure libinput without your DE/WM supporting it or other tools like libinput-config as the sibling comment points out.
[0] https://wiki.archlinux.org/title/Libinput#Configuration https://wiki.archlinux.org/title/Libinput#Configuration