Last active
August 29, 2015 14:14
-
-
Save CootCraig/e36ae014508538c25f70 to your computer and use it in GitHub Desktop.
logitech marble mouse setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/local/share/lightdm/ivie2.sh | |
#!/bin/sh | |
xrandr --output HDMI3 --mode 1280x960 --pos 1280x0 --rotate normal --output HDMI2 --mode 1280x960 --pos 0x0 --rotate normal --output HDMI1 --off --output DP1 --off --output VGA1 --off | |
xinput --set-button-map "Logitech USB Trackball" 1 9 3 4 5 6 7 8 2 | |
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 8 1 | |
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 8 | |
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Axes" 8 6 7 4 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/lightdm/lightdm.conf | |
session-setup-script=/usr/local/share/lightdm/ivie2.sh | |
# at work on craigws | |
# /etc/lightdm/lightdm.conf | |
... | |
display-setup-script=/opt/lightdm/triple.sh | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment