Roland's homepage

My random knot in the Web

Xinput settings for Synaptics TouchPad

Detecting possible parameters.

> xinput --list-props 11
Device 'SynPS/2 Synaptics TouchPad':
    Device Enabled (141):  1
    Coordinate Transformation Matrix (142):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (299):        0
    libinput Tapping Enabled Default (300):        0
    libinput Tapping Drag Enabled (301):   1
    libinput Tapping Drag Enabled Default (302):   1
    libinput Tapping Drag Lock Enabled (303):      0
    libinput Tapping Drag Lock Enabled Default (304):      0
    libinput Tapping Button Mapping Enabled (305): 1, 0
    libinput Tapping Button Mapping Default (306): 1, 0
    libinput Natural Scrolling Enabled (279):      0
    libinput Natural Scrolling Enabled Default (280):      0
    libinput Disable While Typing Enabled (307):   1
    libinput Disable While Typing Enabled Default (308):   1
    libinput Scroll Methods Available (281):       1, 1, 0
    libinput Scroll Method Enabled (282):  1, 0, 0
    libinput Scroll Method Enabled Default (283):  1, 0, 0
    libinput Accel Speed (290):    0.400000
    libinput Accel Speed Default (291):    0.000000
    libinput Left Handed Enabled (295):    0
    libinput Left Handed Enabled Default (296):    0
    libinput Send Events Modes Available (264):    1, 1
    libinput Send Events Mode Enabled (265):       0, 0
    libinput Send Events Mode Enabled Default (266):       0, 0
    Device Node (267):     "/dev/input/event6"
    Device Product ID (268):       2, 7
    libinput Drag Lock Buttons (297):      <no items>
    libinput Horizontal Scroll Enabled (298):      1

Setting up the accelleration speed and handedness.

> xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Accel Speed' 0.3
> xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput 'Left Handed Enabled 1

alternatively a shorter version.

> xinput set-prop 11 290 0.3
> xinput set-prop 11 295 1

This has been incorporated into the configuration fragment for the touchpad, /usr/local/etc/X11/xorg.conf.d/touchpad.conf:

Section "InputClass"
    Identifier      "Synaptics touchpad"
    MatchDriver     "libinput"
    MatchIsPointer  "On"
    Option          "AccelSpeed"    "0.3"
    Option          "LeftHandedEnabled" "1"
EndSection

For comments, please send me an e-mail.


Related articles


←  Switching vim to use native package management Xinput settings for Kensington Expert Mouse  →