Created
December 10, 2015 21:31
-
-
Save adamhrv/527dc5a568b5dfc339da to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# | |
# wait for internet connection to be established before launching, adjust next line based on install network | |
# can also ignore | |
#sleep 15s | |
# | |
# this script runs once on startup | |
xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' 'Evdev Middle Button Emulation' 0 | |
xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' 'Evdev Third Button Emulation Button' 0 | |
xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' 'Evdev Wheel Emulation' 0 | |
xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' 'Evdev Wheel Emulation Button' 0 | |
xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' 'Device Enabled' 0 | |
# | |
# then wait a second | |
sleep 1s | |
# | |
# then reenable | |
xinput set-prop 'Advanced Silicon S.A CoolTouch(TM) System' 'Device Enabled' 1 | |
# | |
# use this to clear the clipboard | |
# xsel -bc | |
# | |
# wait another second | |
#sleep 1s | |
# then, launch google chrome in kiosk mode | |
#google-chrome --kiosk http://yoursite.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment