From a2115ab55db8b8523c3820ad5503a71add6fadc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Einar=20J=C3=B8rgen=20Haraldseid?= Date: Mon, 2 Aug 2021 19:18:45 +0200 Subject: [PATCH] Handle different devices --- fixmiddlemouse.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fixmiddlemouse.sh b/fixmiddlemouse.sh index c75ff6e..8752649 100755 --- a/fixmiddlemouse.sh +++ b/fixmiddlemouse.sh @@ -1,3 +1,4 @@ #!/bin/bash # Fix the middle mouse on the TrackPoint -xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Scroll Method Enabled" 0 0 0 +xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Scroll Method Enabled" 0 0 0 >/dev/null 2>&1 +xinput --set-prop "TPPS/2 Elan TrackPoint" "libinput Scroll Method Enabled" 0 0 0 >/dev/null 2>&1 -- 2.30.2