touchscreen.sh 304 B

1234567891011121314
  1. #!/usr/bin/bash
  2. # xte is in part of xautomation
  3. # apt install xautomation
  4. #set -a
  5. SESSION="touch.py"
  6. CMD="/usr/bin/python3 /opt/LibreLight/Xdesk/input/touchscreen.py"
  7. #echo "cmd: $CMD"
  8. #echo "ses: $SESSION"
  9. #echo
  10. screen -X -S "$SESSION" quit
  11. screen -d -m -S "$SESSION" sh -c "$CMD"
  12. #sleep 1
  13. #screen -ls