Advertisement
Boti7

How to configure the ThinkPad TrackPoint in Ubuntu

Apr 3rd, 2015
2,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##Test commands:
  2. sudo -s
  3. echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
  4. echo -n 150 > /sys/devices/platform/i8042/serio1/serio2/speed
  5. echo -n 1 > /sys/devices/platform/i8042/serio1/serio2/press_to_select
  6.  
  7.  
  8. ##To save the settings edit /etc/init/trackpoint.conf:
  9. sudo nano /etc/init/trackpoint.conf
  10.  
  11.  
  12. ##Copy-paste this text into trackpoint.conf:
  13.  
  14. description "Trackpoint-Settings"
  15. env TPDIR=/sys/devices/platform/i8042/serio1/serio2
  16. start on virtual-filesystems
  17. script
  18.   while [ ! -f $TPDIR/sensitivity ]; do
  19.         sleep 2
  20.   done
  21.   echo -n 200 > $TPDIR/sensitivity
  22.   echo -n 150 > $TPDIR/speed
  23.   echo -n 1 > $TPDIR/press_to_select
  24. end script
  25.  
  26.  
  27. ##Press Ctrl+O, Enter, Ctrl+X to save and exit nano.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement