From: Einar Jørgen Haraldseid Date: Mon, 2 Aug 2021 17:18:45 +0000 (+0200) Subject: Handle different devices X-Git-Url: https://git.slaskete.net/einar-bin/commitdiff_plain/a2115ab55db8b8523c3820ad5503a71add6fadc7?ds=sidebyside Handle different devices --- 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