🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
Libinput: Change Touchpad 2 finger and 3 finger clicks
January 25, 2018
Edited: June 12, 2020
December 3, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
From this page:
Swapping two- and three-finger tap for a touchpad is a straight forward example. Instead of the default three-finger tap for pasting you can configure two-finger tap pasting by setting the
TappingButtonMap option in your Xorg configuration file. To set 1/2/3-finger taps to left/right/middle set
lrm, for left/middle/right set it to
Section "InputClass" Identifier "touchpad" Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" Option "TappingButtonMap" "lmr" EndSection
Remember to remove
MatchIsTouchpad "on" if your device is not a touchpad and adjust the Identifier accordingly.
You might want to read the entire page linked above as it covers many interesting topics such as running synaptics and libinput in parallel.