start.sh 751 B

12345678910111213141516171819202122232425262728
  1. echo "\e[42mBOOTING LIBRELIGHT CONSOLE\e[0m"
  2. #killall ibus-daemon # ibus slowsdown tkinter/Editor
  3. screen -ls
  4. set -e
  5. screen -XS ASP quit | echo ""
  6. screen -XS console quit | echo ""
  7. screen -XS Editor quit | echo ""
  8. #killall screen | echo ""
  9. #killall SCREEN | echo ""
  10. path="/opt/LibreLight"
  11. cd "$path"
  12. echo "\e[42mSTARTING ASP\e[0m"
  13. screen -d -m -S ASP sh $path/ASP/start_ASP.sh
  14. cd $path/Xdesk/
  15. screen -d -m -S console python3 $path/Xdesk/console.py
  16. echo "\e[42mSTARTING DMX MONITOR\e[0m"
  17. sleep 3;
  18. #xterm -e 'screen -r DMX'
  19. xfce4-terminal -e 'screen -r DMX' --hide-menubar --zoom=-1.5 --geometry=90x35+800+520
  20. echo "\e[42mSTARTING GUI\e[0m"
  21. sleep 2
  22. screen -d -m -S Editor python3 $path/Xdesk/LibreLightDesk.py
  23. screen -ls
  24. echo "BOOT END"
  25. sleep 3;