Created
March 3, 2020 05:49
-
-
Save igavrysh/04f8b0d5c63d5d17e5a14183c31f5dec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install sysfutils | |
sudo apt-get install sysfsutils | |
# edit /etc/sysfs.conf | |
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 | |
# restart service | |
sudo service sysfsutils restart | |
# https://askubuntu.com/questions/37824/what-is-the-best-way-to-configure-a-thinkpads-trackpoint | |
## added solution (not working on ubuntu 19) | |
* find track point device | |
find /sys/devices/platform/i8042 -name name | xargs grep -Fl TrackPoint | sed 's/\/input\/input[0-9]*\/name$//' | |
* find values for sensitivity and speed | |
echo 220 | sudo tee /sys/devices/platform/i8042/serio1/serio2/sensitivity | |
echo 100 | sudo tee /sys/devices/platform/i8042/serio1/serio2/speed | |
* create new udev rule | |
* open gksu gedit /etc/udev/rules.d/trackpoint.rules | |
* paste the following: | |
SUBSYSTEM=="serio", DRIVERS=="psmouse", DEVPATH=="/sys/devices/platform/i8042/serio1/serio2", ATTR{sensitivity}="220", ATTR{speed}="110" | |
* Save the file and either reboot or run the commands above: | |
sudo udevadm control --reload-rules | |
sudo udevadm trigger | |
# Another way to try (that actually worked) | |
# https://askubuntu.com/questions/37824/what-is-the-best-way-to-configure-a-thinkpads-trackpoint | |
# http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint | |
xinput | |
xinput --list --short | |
xinput --list-props 13 | |
xinput --set-prop "13" "Accel Speed" 0.45 | |
xinput --set-prop "10" "Device Accel Constant Deceleration" 0.5 | |
xinput --set-prop "13" "325" 0.45 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment