Skip to content

Instantly share code, notes, and snippets.

@hpop
Last active June 11, 2018 11:23
Show Gist options
  • Save hpop/c0944be7eb0e908eef7d6f70021129f9 to your computer and use it in GitHub Desktop.
Save hpop/c0944be7eb0e908eef7d6f70021129f9 to your computer and use it in GitHub Desktop.
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment