diff options
| author | Donald Delmar Davis <don@suspectdevices.com> | 2017-10-20 10:46:30 -0700 |
|---|---|---|
| committer | Donald Delmar Davis <don@suspectdevices.com> | 2017-10-20 10:46:30 -0700 |
| commit | 261ac02efc8361ac1e55d9be72cfab1c8ea55237 (patch) | |
| tree | 4fbe0b23659cbd7c5f50c9e10f65d0441e6fee7c /ems.sh | |
Let's do this
Diffstat (limited to 'ems.sh')
| -rwxr-xr-x | ems.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +# sesh.sh - rpi startup script for ems +# To Activate: 1) Edit the file ~/.config/lxsession/LXDE-pi/autostart +# 2) Add the path to the script to the top of the file as in the line below: +# +# @/home/pi/ems/ems.sh +# +# 3) Save the file and restart +# +xinput --set-prop 'Microchip Technology Inc. AR1100 HID-MOUSE' 'Evdev Axes Swap' 0 +xinput --set-prop 'Microchip Technology Inc. AR1100 HID-MOUSE' 'Evdev Axis Inversion' 1 1 + + +cd /home/pi/ems +export PYTHONPATH=/home/pi/ems:$PYTHONPATH +python EMSConsole/EMSConsole.py >> /home/pi/ems/ems.log 2>&1 & |
