autostart.sh 1.3 KB

12345678910111213141516171819202122232425262728293031
  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 -XS "vpu1_out" quit
  9. screen -XS "vpu2_out" quit
  10. screen -m -d -S vnc -- x11vnc -forever
  11. #x=$(screen -ls | grep ASP | wc -c)
  12. #echo "$x"
  13. screen -m -d -S ASP -- python3 /opt/LibreLight/ASP/ArtNetProcessor.py
  14. #screen -m -d -S shader -- python3 /opt/LibreLight/Xdesk/3d/demo_shader_live.py
  15. #screen -m -d -S shader -- python3 /opt/LibreLight/Xdesk/vpu/shader_live.py
  16. #screen -m -d -S shader -- python3 /opt/LibreLight/Xdesk/vpu/vpu_live.py -m 16,12,5
  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,8,8 -X 12 --pixel-map=_1 --gobo-ch=11
  19. 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
  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,8,8 -X 4 --pixel-map=_2 --gobo-ch=21 --win-pos 430,164 --start-univ=4
  22. 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
  23. sleep 3
  24. screen -ls