autostart.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/usr/bin/bash
  2. #insert in xfce4-session on login event
  3. set -x
  4. #firefox-esr -P
  5. #screen -XS "vnc" quit
  6. screen -XS "ASP" quit
  7. screen -XS "shader" quit
  8. screen -m -d -S vnc -- x11vnc -forever -shared
  9. #x=$(screen -ls | grep ASP | wc -c)
  10. #echo "$x"
  11. screen -m -d -S ASP -- python3 /opt/LibreLight/ASP/ArtNetProcessor.py
  12. #screen -m -d -S shader -- python3 /opt/LibreLight/Xdesk/3d/demo_shader_live.py
  13. #screen -m -d -S shader -- python3 /opt/LibreLight/Xdesk/vpu/shader_live.py
  14. #screen -m -d -S shader -- python3 /opt/LibreLight/Xdesk/vpu/vpu_live.py -m 16,12,5
  15. #screen -XS "vpu01_out" quit
  16. #screen -XS "vpu02_out" quit
  17. screen -XS "watchdog_vpu" quit
  18. #sleep 1
  19. screen -m -d -S watchdog_vpu -- python3 /opt/LibreLight/Xdesk/vpu/watchdog_vpu.py
  20. ## Ayrton VPU Offset Y ___ Y ___ (Ghost 255)
  21. #screen -m -d -S vpu1_out -- python3 /opt/LibreLight/Xdesk/vpu/vpu_live.py -m 16,12,5 -X 12 --pixel-map=_1 --gobo-ch=11 --countdown=31,51,151,171 --videoplayer=181,201 --title=LIVE
  22. sleep 1
  23. #
  24. ## Ayrton VPU Offset X 235 Y 253 (Pannel 255) 7,5m-4m ... 9,5m-4m
  25. #screen -m -d -S vpu2_out -- python3 /opt/LibreLight/Xdesk/vpu/vpu_live.py -m 16,4,6 -X 4 --pixel-map=_2 --gobo-ch=21 --win-pos 430,164 --start-univ=4 --countdown=71,91,111,131 --videoplayer=221,241 --title=LIVE
  26. #
  27. sleep 3
  28. screen -ls