Change TrackPoint Settings on FreeBSD
=====================================


My Lenovo X270 Thinkpad runs FreeBSD. I wanted to increase
it sensitivity.

This is how to change some settings on the TrackPoint.

List xinput devices
-------------------
To get an overview of the devices, issue the command

  xinput list

On my X270 this leads to the following list:

  ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
  ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
  ⎜   ↳ System mouse                              id=6    [slave  pointer  (2)]
  ⎜   ↳ SynPS/2 Synaptics TouchPad                id=10   [slave  pointer  (2)]
  ⎜   ↳ TPPS/2 IBM TrackPoint                     id=11   [slave  pointer  (2)]
  ⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
      ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
      ↳ System keyboard multiplexer               id=7    [slave  keyboard (3)]
      ↳ Sleep Button                              id=8    [slave  keyboard (3)]
      ↳ AT keyboard                               id=9    [slave  keyboard (3)]
      ↳ ACPI video extension                      id=12   [slave  keyboard (3)]

We see that the TrackPoint here is device "11".

List properties
---------------
Use xinput --list-props to get an overview of the properties:

  xinput --list-props "11"

This gives a list like:

  Device 'TPPS/2 IBM TrackPoint':
          Device Enabled (175):   1
          Coordinate Transformation Matrix (176): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
          libinput Natural Scrolling Enabled (299):       0
          libinput Natural Scrolling Enabled Default (300):       0
          libinput Scroll Methods Available (301):        0, 0, 1
          libinput Scroll Method Enabled (302):   0, 0, 1
           ....

Change
------
Now we can change some setting, like:

  xinput --set-prop "11" "libinput Accel Speed" 0.6

Try any value between 0 and 1 for Accel Speed.

Add to xinitrc
--------------
When you are happy with the setting, add it to your ~/.xinitrc
file, to make the change persistent.

Just copy the line "xinput --set-prop .." into your .xinitrc.



Last edited: $Date: 2023/08/22 07:25:13 $