Tuesday, August 1, 2023

Lenovo Thinkpad X260 touchpad scrolling not smooth in Linux Mint 21.2

I just installed Linux Mint 21.2 onto a Lenovo Thinkpad X260. Everything is good, except that the scrolling using the touchpad is not smooth. After reading around, some people suggested to change the drive to synaptics, instead of the default libinput. Here is how to achieve that:

Get the id of the touchpad
$ xinput list | grep -i touchpad

 
Check properties of the touchpad, my id for the touchpad is 11, the id might differ. You should be seeing a lot of libinput inside the output (refer picture), to show that the touchpad is using libinput driver
$ xinput list-props 11

We can also determine which driver is being used, by using below command
$ grep -i "using input" /var/log/Xorg.0.log

 
Install synaptics driver
$ sudo apt update && sudo apt install xserver-xorg-input-synaptics -y

Logout and log in to switch the driver from libinput to synaptics






















Check the driver again, you should see a lot of synaptics, like below 
$ xinput list-props 11

















Your scrolling with touchpad will be much better compared to the previous driver. 
 
With both synaptics and libinput installed, synaptics will take priority. 
 
If you want to change back to libinput, simply uninstall synaptics
$ sudo apt remove xserver-xorg-input-synaptics

Then logout and log in again to activate libinput.


No comments:

Post a Comment