1. Setting up persistent sensitivity settings for the TrackPoint
    1. Ubuntu 20.04+
    2. Ubuntu 18.04

I have recently installed Ubuntu Budgie on my Lenovo ThinkPad T420. So far, the experience has been great. However, a crucial part of the IBM/Lenovo experience is the TrackPoint, the red nub at the center of the keyboard. Love it or hate it, for many people it is the main reason to buy a ThinkPad. Here is how I configure it to run on Ubuntu.

Setting up persistent sensitivity settings for the TrackPoint

Ubuntu 20.04+

Alternative for Ubuntu 20.04:

1
sudo vim /etc/udev/rules.d/10-trackpoint.rules

Paste and adjust to your taste:

1
2
3
4
5
6
7
ACTION=="add",
SUBSYSTEM=="input",
ATTR{name}=="TPPS/2 IBM TrackPoint",
ATTR{device/sensitivity}="220",
ATTR{device/speed}="180",
ATTR{device/inertia}="6",
ATTR{device/press_to_select}="0"

Reboot.

Credits to Nguyen Thanh Tung

Ubuntu 18.04

(Original Post)

This was tested with Ubuntu 18.04 LTS.

  1. First, install sysfsutils:
1
sudo apt-get install sysfsutils
  1. Second, edit the /etc/sysfs.conf. Add the following lines at the end.
1
2
3
4
5
#tweak trackpoint
devices/platform/i8042/serio1/serio2/sensitivity = 215
devices/platform/i8042/serio1/serio2/rate = 280
devices/platform/i8042/serio1/serio2/speed = 150
devices/platform/i8042/serio1/serio2/inertia = 1

These are my personal settings so far. Play with the values until you find the ones that suit your usage.

  1. Try out different configurations

Adjust the values and run sudo service sysfsutils restart to try out the new values until you get it just right for yourself.