I'm using Cinnamon on Debian 10 through virtualbox, and the "Mouse and Touchpad" settings don't seem to let me configure a 3 finger touchpad tap as the middle mouse button.
How else can I do this?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
To enable triple-finger tap , edit the configuration file under
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass" Identifier "libinput touchpad catchall" #MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "Tapping" "on" Option "TappingButtonMap" "lmr" EndSection
Documented on Arch-linux wiki: 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
TappingButtonMapoption 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
NB: Remember to remove
MatchIsTouchpad "on"if your device is not a touchpad and adjust the Identifier accordingly.