aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup-trackpoint10
1 files changed, 10 insertions, 0 deletions
diff --git a/setup-trackpoint b/setup-trackpoint
new file mode 100755
index 0000000..62d5cb5
--- /dev/null
+++ b/setup-trackpoint
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# TrackPoint scrolling
+xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
+xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
+xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 150
+xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
+xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 1
+xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Inertia" 25
+xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 1