Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Members / jhb / fixing the trackpoint on ubuntu

fixing the trackpoint on ubuntu

by Jörg Baach last modified Oct 21, 2020 05:36 PM
The trackpoint acts jumpy (again). How can I fix it?

Update: I can't believe it is the year 2020, I install 20.04, and again I am having the jumpy trackpoint on my x220. From what I read others have it with newer laptops as well. After a bit of digging around I got the impression that one needs to switch back from libinput first: ( see https://askubuntu.com/questions/1188069/on-18-04-lts-how-can-the-trackpoint-driver-be-changed-from-libinput-back-to-syn):

apt install xserver-xorg-input-synaptics-hwe-18.04 xserver-xorg-input-evdev-hwe-18.04
apt remove xserver-xorg-input-libinput xserver-xorg-input-libinput-hwe-18.04

After that install the file that is explained below. Now at least we have a non-jumpy pointer. Last step is to accelerate it a bit:

xinput set-prop "TPPS/2 IBM TrackPoint" 297 3

This can be written into a ~/.xinitrc file.

From what I understand the problem with the trackpoint is known, but is not going to be fixed in libinput - http://who-t.blogspot.com/2018/05/x-server-pointer-acceleration-analysis-part1.html

-------------------------------------------------------------------------------

Original part:

Combining advice from

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1042069

and

http://www.x.org/wiki/Development/Documentation/PointerAcceleration/

had me create the following file in /usr/share/X11/xorg.conf.d/50-thinkpad-touchpad.conf:

Section "InputClass"
Identifier "touchpad"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
Option "MinSpeed" "1"
Option "MaxSpeed" "1"
# tweak the X-server pointer acceleration
Option "AccelerationProfile" "2"
Option "AdaptiveDeceleration" "1000"
Option "ConstantDeceleration" "16"
Option "VelocityScale" "30"
Option "AccelerationNumerator" "30"
Option "AccelerationDenominator" "10"
Option "AccelerationThreshold" "10"
EndSection

Section "InputClass"
Identifier "touchpad"
MatchProduct "Synaptics Inc. Composite TouchPad / TrackPoint (Stick)"
Driver "evdev"
Option "AccelerationProfile" "6"
Option "ConstantDeceleration" "12"
Option "VelocityScale" "30"
EndSection
tim
tim says:
Oct 21, 2020 07:27 AM

Thanks man! after loosing 1 day of seeking for a functional solution, including tweaking libinput settings and installing sysfsutils, going back to synaptics savet our beloved trackpoint :) It seems to me that the TP without properly set-up acceleration profile is useless..

tim
tim says:
Oct 21, 2020 05:04 PM

part 2:) the synaptics driver deosn't configure the middle button scroll function properly. Quick fix based on the solution from https://askubuntu.com/questions/8556/middle-button-on-thinkpad-not-working-with-10-10-update

First: add config file for X11: 20-thinkpad.conf in folder: /usr/share/X11/xorg.conf.d

Content:

Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 ALPS TrackPoint|TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection

___________

Reboot and have fun!

Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 6 times 7?
Your answer: