Max2Play Home › Forums › Max2Play Projects and Builds › Mein Audiosystem › Reply To: Mein Audiosystem
29. Mai 2019 at 22:05
#45552
Das Custom_autostart.sh startet mein Script
/opt/max2play/custom_autostart.sh
Chromium starten und Vollbild aktivieren
#!/bin/bash
echo "Custom Bash-Script"
if [ $(ps -AL | grep "chromium-browse" | wc -l) -gt "0" ]; then
exit 0
fi
echo "Start Panel"
export DISPLAY=':0.0'
sleep 10
chromium-browser http://192.168.0.100:52199/Panel/#/playing &
sleep 20
xdotool mousemove 780 105 click 1
sleep 10
xdotool mousemove 655 115 click 1
exit 0