git.slaskete.net
/
einar-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28add31
)
Handle different devices
author
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Mon, 2 Aug 2021 17:18:45 +0000
(19:18 +0200)
committer
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Mon, 2 Aug 2021 17:18:45 +0000
(19:18 +0200)
fixmiddlemouse.sh
patch
|
blob
|
history
diff --git
a/fixmiddlemouse.sh
b/fixmiddlemouse.sh
index c75ff6ed1bd93ac0e8bb88ff68e42069f83615bf..8752649a1a6c5fb320b0f70200cd19d26a44b2eb 100755
(executable)
--- 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