Made a fresh install of Ubuntu 20.04 yesterday, I'm dual booting alongside windows 10. It lags when you scroll with two fingers on the touchpad. I don't have such issues on windows as scrolling is very smooth. How can this be fixed? It's a HP probook 640 G2
2 Answers
This is what improved responsiveness for two finger scrolling for me (ThinkPad T14 Gen1, Ubuntu 22.04):
Get xinput props for your touchpad:
$ xinput list-props "SynPS/2 Synaptics TouchPad"
Set scrolling pixel distance:
$ xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Scrolling Pixel Distance" 10
The new setting becomes effective immediately.
In my case it was set to 15 and lowering it to 10 significantly improved responsiveness of two finger scrolling. It turned out that values below 10 are not allowed. Could be a different value for your touchpad (I don't know), so you have to try.
It is a linux bug, probably from the kernel with synaptic touchpads, just by putting the 2 fingers the cursor is lagged. This occurs on all existing versions of linux, with xorg-input-synaptics and libinput I checked on all. It is a software problem because in windows the touchpad is fluid.
xserver-xorg-input-synapticsbut it just got worse.xinput listshowsSynPS/2 Synaptics Touchpadsynaptics symbus touchpadandhid compliant mouse