From 6e5d672ea04fb8c89ce9e91cf4c9a53fbb8c2f81 Mon Sep 17 00:00:00 2001 From: Evgeny Sorokin Date: Sat, 6 Jan 2024 03:41:49 +0000 Subject: add something --- .local/bin/trackpoint-setup.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .local/bin/trackpoint-setup.sh (limited to '.local/bin/trackpoint-setup.sh') diff --git a/.local/bin/trackpoint-setup.sh b/.local/bin/trackpoint-setup.sh new file mode 100755 index 0000000..e06c529 --- /dev/null +++ b/.local/bin/trackpoint-setup.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +TP="TPPS/2 IBM TrackPoint" + +xinput set-prop "$TP" "Evdev Wheel Emulation" 1 +xinput set-prop "$TP" "Evdev Wheel Emulation Button" 2 +xinput set-prop "$TP" "Evdev Wheel Emulation Timeout" 200 +xinput set-prop "$TP" "Evdev Wheel Emulation Axes" 6 7 4 5 + +xinput set-prop "$TP" "Device Accel Profile" 2 +xinput set-prop "$TP" "Device Accel Constant Deceleration" 0.8 +xinput set-prop "$TP" "Device Accel Adaptive Deceleration" 2.0 + +xinput set-ptr-feedback "$TP" 0 20 15 # acceleration factor = 20/10 + -- cgit v1.2.3