I would like to change the mapping of my touchpad (of an eee-pc with Linux Mint 16 MATE edition) so that a two fingers tap is a middle click and three is right click.
For that I add the
ButtonMapping option to
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" # This option is recommend on all Linux systems using evdev, but cannot be # enabled by default. See the following link for details: # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html MatchDevicePath "/dev/input/event*" Option "ButtonMapping" "1 3 2 4 5" EndSection
But it has no effect.
xinput command does work, but is lost on reset (and it doesn't work in
~/.xinitrc or other init scripts I've tried):
xinput set-button-map "ETPS/2 Elantech Touchpad" 1 3 2 4 5
Update: xclip is not actually what I want as it changes also the physical keys. However it did work in the MATE startup applications. The following doesn't, but does what I want when manually executed:
#!/bin/sh synclient TapButton2=2 synclient TapButton3=3