I have Thinkpad T440, which do not ship with the three buttons on the touchpad.
I used to use trackpoint with clicks on those three buttons. While in this T440 case, I want to disable the touchpad " MOVE | tap-to-click | two-finger or three-finger " features, and only config it like a big clickable buttons, with the middle one.
Can anyone tell me how to write it in /usr/share/X11/xorg.conf.d/
I have those files:
10-evdev.conf 11-evdev-trackpoint.conf 50-wacom.conf 10-quirks.conf 50-synaptics.conf 51-synaptics-quirks.conf 11-evdev-quirks.conf 50-vmmouse.conf
Thanks in advance.
$xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)] ⎜ ↳ TPPS/2 IBM TrackPoint id=14 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Sleep Button id=8 [slave keyboard (3)] ↳ Integrated Camera id=9 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)] ↳ ThinkPad Extra Buttons id=15 [slave keyboard (3)]
Best Answer
Well, this is not the direct answer, but a suggestion and examples. If you run
xinput
, you will get list of your devices. Then runxinput list-props $id
where$id
is your touchpad id in the list.You will have a list of options like this:
You can change all of these on-the-fly with
xinput set-prop $id $propId $value
where$id
is the device id,$propId
is property id in brackets and$value
is what you want it to be. For example:xinput set-prop 13 135 0
setsDevice Enabled (135)
to0
and this will disable the touchpad.You will need descriptions of properties and a way to make your changes permanent. Descriptions can be found in
man synaptics
, but wait, they are in another cryptic format! Let's see why.To make changes permanent, you need to create conf file in
/etc/X11/xorg.conf.d
, for example30-tochpad.conf
with contents like these:So,
man synaptics
describes options forxorg.conf
and tells how they correspond toxinput list-props
output.PS. I tried to configure trackpoint on my ThinkPad X220 to have only two-fingers-scroll enabled, without clicks or mouse movement. I failed. Maybe you will manage to do what you want (there was an option to disable everything but clicks, maybe
Synaptics Off
).Sources, more examples and unicorns:
https://wiki.ubuntu.com/X/Config/Input
https://wiki.archlinux.org/index.php/Touchpad_Synaptics