aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-07-10 17:56:46 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-07-10 17:56:46 +0200
commit122e85cbb096bd2ab108305722487eb23ac8ab47 (patch)
tree526f0f1d7ea89be9e4efded92debee4399fcadf2
parentaa08f42e93b4d06fdbbb3127e1add385dc317a3b (diff)
downloadbin-122e85cbb096bd2ab108305722487eb23ac8ab47.tar.xz
Import setup-trackpoint script
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-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