This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If Chrome crashes (usually due to rebooting), clear the crash flag so we don't have the annoying warning bar | |
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences | |
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "@xset s 0 0" >> /etc/xdg/lxsession/LXDE-pi/autostart | |
echo "@xset s noblank" >> /etc/xdg/lxsession/LXDE-pi/autostart | |
echo "@xset s noexpose" >> /etc/xdg/lxsession/LXDE-pi/autostart | |
echo "@xset dpms 0 0 0" >> /etc/xdg/lxsession/LXDE-pi/autostart | |
echo "consoleblank=0" >> /boot/cmdline.txt | |
echo "@chromium-browser --no-first-run --no-default-browser-check --disable-session-crashed-bubble --disable-infobars --kiosk https://kickertool.de/display" >> /etc/xdg/lxsession/LXDE-pi/autostart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If Chrome crashes (usually due to rebooting), clear the crash flag so we don't have the annoying warning bar | |
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences | |
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences | |
# Run Chromium and open tabs | |
/usr/bin/chromium-browser --no-first-run --no-default-browser-check --disable-session-crashed-bubble --disable-infobars --kiosk https://kickertool.de/display |