Sunday, May 29, 2016

Synaptics touchpad configuration in Xorg

I wanted to customize the configuration of the Synaptics' driver because the click buttons were swapped and I wanted to disable it while typing.

This is the Xorg configuration file I wrote:

# /etc/X11/xorg.conf.d/50-synaptics.conf
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchDevicePath "/dev/input/event*"
MatchIsTouchpad "on"
 Option "TapButton1" "1"
 Option "TapButton2" "3"
 Option "TapButton3" "2"
 Option "VertEdgeScroll" "on"
 Option "VertTwoFingerScroll" "on"
 Option "HorizEdgeScroll" "on"
 Option "HorizTwoFingerScroll" "on"
 Option "EmulateTwoFingerMinZ" "40"
 Option "EmulateTwoFingerMinW" "8"
 Option "PalmDetect" "1"
 Option "PalmMinWidth" "10"
 Option "PalmMinZ" "100"
EndSection

The touchpad is not really disabled while typing. Instead, it is sensitive to recognize the palm when I touch it accidentally, avoiding to do a click.

No comments: