02-13-2020, 10:03 PM
(This post was last modified: 02-15-2020, 08:35 PM by ab1jx.
Edit Reason: subscribe, tap to click, libinput
)
I tamed my touchpad by making it generic. All I ever wanted was a touchpad like from 10 years ago: X & Y movement, 2 buttons, scroll wheel emulation. The PBP touchpad by default is trying to be a "clickpad" (google it), it has "gestures" which would be more appropriate on a touchscreen. I use the libinput driver and only the libinput driver. I'm not sure how libinput got there, I don't remember if I installed it or not. Remove or disable by renaming to not have a .conf extension (like .off ?) your synaptics and mtrack files in /usr/share/X11/xorg.conf.d. synclient won't work anymore. Use a libinput xorg.conf snippet like this:
After a reboot you won't have the Synaptics driver loaded anymore, you don't need it for basic stuff. The file /var/log/Xorg.0.log should be your feedback.
Tap to click defaults to off, see the libinput man page to turn it on. It's just another option line, probably the same place where ScrollMethod is. You'll need to add it if you want it. There's also tap-and-drag but you need tapping enabled to use it.
For libinput what I see installed is libinput-bin, libinput10, xserver-xorg-input-libinput. After 24 hours it's still working fine, just a nice normal touchpad.
Code:
# Basic libinput file, disable 50-mtrack.conf and 70-synaptics.conf
# You can do this by renaming them to not have .conf extensions
# Match on all types of devices but tablet devices and joysticks
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"
# This is the only "fancy" feature I have enabled: the right side of the
# touchpad emulates a scroll wheel on a mouse, press hard, move up and down.
Option "ScrollMethod" "edge"
EndSection
# Don't want this
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "off"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
# Don't want this
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "off"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
After a reboot you won't have the Synaptics driver loaded anymore, you don't need it for basic stuff. The file /var/log/Xorg.0.log should be your feedback.
Tap to click defaults to off, see the libinput man page to turn it on. It's just another option line, probably the same place where ScrollMethod is. You'll need to add it if you want it. There's also tap-and-drag but you need tapping enabled to use it.
For libinput what I see installed is libinput-bin, libinput10, xserver-xorg-input-libinput. After 24 hours it's still working fine, just a nice normal touchpad.