Skip to content

Instantly share code, notes, and snippets.

@vivirenremoto

vivirenremoto/kiosk.sh

Last active May 19, 2020
Embed
What would you like to do?
abrir una página web en chromium
#!/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 --start-fullscreen https://web1.com &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment