Skip to content

Instantly share code, notes, and snippets.

View hpop's full-sized avatar

Helmut Poppen hpop

  • Hamburg, Germany
View GitHub Profile
#!/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
#!/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
#!/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