Hello
Well, because is crhomium you will be on a linux system.
So after a little search this can be remove from some setting on the chormium. Is not just a clik,
So for those who want to run a automated script that start the chormium using kiosk mode well this will be a help for them.
Before you start the chromium with –kiosk just add one more line
sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
This did not work for me in Ubuntu 13, but I checked out the Preferences file after a crash, and noticed that it said exit_type: “Crashed”, so I created a bash script with the above line of code in it, as well as this one, based on the one above:
sed -i ‘s/”exited_cleanly”: false/”exited_cleanly”: true/’ ~/.config/chromium/Default/Preferences
Then I ran that script at startup, and mission accomplished!
Comment by Dale — July 14, 2013 @ 5:49 am
Sorry that was the same line of code, the second one should read:
sed -i ‘s/”exit_type”: “Crashed”/”exit_type”: “Normal”/’ ~/.config/chromium/Default/Preferences
Comment by Dale — July 14, 2013 @ 5:51 am
Hello
Nice to hear that this post was helping someone .
Regards
Radu
Comment by admin — July 24, 2013 @ 11:06 am
Helps a lot. I was searching for hours. It’s my mother computer. Only to Internet, and with systemd system shuts it off too quickly. This commands helps a lot.:)
Comment by Piotr — May 30, 2014 @ 5:32 pm
Thanks, this endeed helps. (But please fix those “smart” quotes!)
Comment by T — July 24, 2014 @ 7:28 pm