Guest User

Untitled

a guest
Dec 10th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. 2 down vote
  2.  
  3.  
  4. for gui solution
  5.  
  6. $ sudo apt-get install gpointing-device-settings
  7. $ gpointing-device-settings
  8.  
  9. for command line
  10.  
  11. $ xinput list
  12. # find your device name there
  13. $ xinput list-props "PointingStick" # the name can be different
  14. # this will list available settings for that pointing stick
  15. $ xinput set-*-prop "PointingStick" ...
  16. # to set a property, see man page for more how to set properties
  17.  
  18. an example how to set it for thinkpad
  19. $ xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation" 8 1
  20. $ xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation Button" 8 2
  21. $ xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation Timeout" 8 200
  22.  
  23. to disable device
  24. $ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 0
  25. to enable
  26. $ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 1
Add Comment
Please, Sign In to add comment