You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
327 B
10 lines
327 B
#!/bin/sh |
|
|
|
trackpoint_dev="TPPS/2 IBM TrackPoint" |
|
|
|
if xinput --list --name-only | grep -q "$trackpoint_dev"; then |
|
xinput set-prop "$trackpoint_dev" "Evdev Wheel Emulation" 1 |
|
xinput set-prop "$trackpoint_dev" "Evdev Wheel Emulation Button" 2 |
|
xinput set-prop "$trackpoint_dev" "Evdev Wheel Emulation Timeout" 200 |
|
fi |
|
|
|
|