TrackPoint
The TrackPoint is Lenovo's trademark for the pointing-stick in the middle of the keyboard. It is supported by xf86-input-evdev and xf86-input-libinput. The evdev driver is default for Xorg.
Default Xorg behavior supports click and point, but middle-click and scrolling requires extra configuration.
Contents
GUI configuration
Install the gpointing-device-settings package.
Middle button scroll
When using xf86-input-libinput, middle-button scrolling is enabled by default.
When using xf86-input-evdev, middle-button scrolling is supported via xinput from the xorg-xinput package. For example:
~/.xinitrc
tpset() { xinput set-prop "TPPS/2 IBM TrackPoint" "$@"; } tpset "Evdev Wheel Emulation" 1 tpset "Evdev Wheel Emulation Button" 2 tpset "Evdev Wheel Emulation Timeout" 200 tpset "Evdev Wheel Emulation Axes" 6 7 4 5 tpset "Device Accel Constant Deceleration" 0.95
Tap to select
The TrackPoint supports tap-to-click functionality just as most touchpads do. To enable it manually:
# echo -n 1 > /sys/devices/platform/i8042/serio1/press_to_select
udev configuration rule
This rule increases the trackpoint speed and enables tap to select (see above) on boot. Feel free to alter the values and add other modifications to files in /sys/devices/platform/i8042/serio1/serio2/. The rule also works for trackpoint-only devices.
/etc/udev/rules.d/10-trackpoint.rules
ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/sensitivity}="240"
Xorg configuration
To enable scrolling with the TrackPoint while holding down the middle mouse button, create /etc/X11/xorg.conf.d/20-thinkpad.conf
, replacing TPPS/2 IBM TrackPoint
with the device name from xinput:
Section "InputClass" Identifier "Trackpoint Wheel Emulation" MatchProduct "TPPS/2 IBM TrackPoint" MatchDevicePath "/dev/input/event*" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "Emulate3Buttons" "false" Option "XAxisMapping" "6 7" Option "YAxisMapping" "4 5" EndSection
Troubleshooting
Trackpoint is not detected or is detected after X minutes
This appears to be a kernel bug. See: https://bugzilla.kernel.org/show_bug.cgi?id=33292
A workaround is passing proto=bare to the psmouse module. However this disable scrolling with the clickpad and the two finger middle click.
modprobe psmouse proto=bare