How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

March 26, 2012

How to disable the “Chromium didn’t shut down correctly” message

Filed under: Linux — Tags: , , , , — admin @ 10:42 am

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

5 Comments »

  1. 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

  2. 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

  3. Hello
    Nice to hear that this post was helping someone .

    Regards
    Radu

    Comment by admin — July 24, 2013 @ 11:06 am

  4. 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

  5. Thanks, this endeed helps. (But please fix those “smart” quotes!)

    Comment by T — July 24, 2014 @ 7:28 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress