I have a RaspBerry 3B together with the original 7" TouchPanel. When I turn of the raspberry without “shutdown” at the next start following error message will occur:
"Restore pages? Chromium didn’t shut down correctly.
To avoid this error message following parameter has to be added to /opt/volumiokiosk.sh
Hello;
I’m a benginner and it is not so clear to me where I have to place – disable-infobars or – incognito.
Could you explane me exactly in which position I have to add it, please?
#!/bin/bash
xset -dpms
xset s off
openbox-session &
while true; do
/usr/bin/chromium-browser
–no-touch-pinch
–kiosk
–no-first-run
–disable-3d-apis
–disable-breakpad
–disable-crash-reporter
–disable-infobars
–disable-session-crashed-bubble
–disable-translate
–user-data-dir=’/data/volumiokiosk’ --no-sandbox localhost:3000
done
An additional info.
If I cancel the slashbar on --disable-infobars I get a message like this:
Please start Chromium as normal user. If you need to run as root for development rerun with --no-sandbox flag
Everytime I change the state of one of the rows in volumiokiosk.sh (add or remove ‘’’’ or try to add --incognito) I get this message and start a loop with it so it is not possible to continue
#!/bin/bash #prevent sleep (remove any other xset commands)
xset -dpms
xset s off #prevent the ‘crashed’ dialog box: (keep each sed on 1 line)
sed -i ‘s/“exited_cleanly”:false/“exited_cleanly”:true/’ /data/volumiokiosk/Default/Preferences
sed -i ‘s/“exit_type”:“Crashed”/“exit_type”:“None”/’ /data/volumiokiosk/Default/Preferences
openbox-session &
while true; do
/usr/bin/chromium-browser
–no-touch-pinch
–kiosk
–no-first-run
–disable-3d-apis
–disable-breakpad
–disable-crash-reporter
–disable-infobars
–disable-session-crashed-bubble
–disable-translate
–user-data-dir=’/data/volumiokiosk’ --no-sandbox localhost:3000
done