I got a ThinkPad x240 and it has some known issues with jumpy touchpad behaviour in linux because of the difference in horinzontal and vertical resolution. The former solution (in xorg) was to put some config into /etc/X11/xorg.conf.d/ (see Here, Here). But now I am in Ubuntu 17.10 and therefor gnome with wayland. xinput list shows the following:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:13 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:13 id=7 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:13 id=8 [slave keyboard (3)]
There are several files in /usr/share/X11/xorg.conf.d/: 10-amdgpu.conf 10-radeon.conf 50-synaptics.conf 10-quirks.conf 40-libinput.conf 70-wacom.conf
I tried adding the 50-synaptics.conf to match the one here except I changed the line MatchProduct to this MatchIsTouchpad "on"
.
I also tried editing the 40-libinput.conf:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "VertResolution" "100"
Option "HorizResolution" "65"
Driver "libinput"
EndSection
None of this config files helped me solve my problem. Afaik the only 2 settings I need are VertResolution
and HorizResolution
. How can I set these for my touchpad and permanent?
50-synaptics.conf
to30-synaptics.conf
. This might freeze the trackpad, take precautions. – Pierre ALBARÈDE May 10 '20 at 20:43