git.slaskete.net
/
einar-bin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Script to switch a monitor on and off
[einar-bin]
/
fixmiddlemouse.sh
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
#!/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