My touchdpad has two buttons (not tapping) and I used to configure two-finger tapping as middle click with synclient.
Now, with ubuntu-gnome 16.10, libinput is the way to go and I tried to achieve the same without success until now.
I tried the approaches mentioned in https://wiki.archlinux.org/index.php/Libinput. I have a file /etc/X11/xorg.conf.d/30-touchpad.conf with
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "TappingButtonMap" "lmr"
EndSection
which does not have effect. I can use
Option "ButtonMapping" "1 3 2 4 5 6 7 8 9 10 11"
Then two-finger-tap works for middle click, but the real right button will be a middle-click, too. I also tried a set of scripts and gnome configurations without success until now. Is there any solution with libinput, or do I have to switch back to synclient?
Any help appreciated.
xinput
command sample. – arrowd Jul 03 '20 at 13:51