Skip to content

Instantly share code, notes, and snippets.

@sam0x17
Created April 28, 2018 21:06
Show Gist options
  • Save sam0x17/766d1777e06acd0a4e04330b53fce9e4 to your computer and use it in GitHub Desktop.
Save sam0x17/766d1777e06acd0a4e04330b53fce9e4 to your computer and use it in GitHub Desktop.
set trackpoint sensitivity linux
#!/bin/bash
# must be run with sudo, tested with Lenovo X270 on Ubunto 16.04 and 17.10
echo "setting trackpoint speed and sensitivity"
set -o noclobber
echo "110" >| /sys/devices/platform/i8042/serio1/serio2/speed
echo "200" >| /sys/devices/platform/i8042/serio1/serio2/sensitivity
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment