Views:
7,153
Votes: 3
Tags:
touchpad
hardware
synaptics
libinput
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/999704
Title:
Libinput: Change Touchpad 2 finger and 3 finger clicks
ID:
/2018/01/25/Libinput_-Change-Touchpad-2-finger-and-3-finger-clicks
Created:
January 25, 2018
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
From this page:
Button re-mapping
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 TappingButtonMap
to lrm
, for left/middle/right set it to lmr
.
/etc/X11/xorg.conf.d/30-touchpad.conf
:
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.