autostart.sh 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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 "vpu1_out" quit
  16. screen -XS "vpu2_out" quit
  17. # Ayrton VPU Offset Y ___ Y ___ (Ghost 255)
  18. 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
  19. sleep 1
  20. # Ayrton VPU Offset X 235 Y 253 (Pannel 255) 7,5m-4m ... 9,5m-4m
  21. 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
  22. sleep 3
  23. screen -ls