how to suppress "chromium didn't shut down correctly..." notification ?

Affichage de 17 messages sur 7
how to suppress "chromium didn't shut down correctly..." notification ? Marcellus Wallace 13/02/11 10:44
Hi,
I'd like to make simple presentation screen : on startup, chromium
will start automatically and load a page in kiosk mode.

"chromium-browser -kiosk /folder/presentation.hml"

But the PC will be powered off with a power plug switch.

I'd like to disable the "chromium didn't shut down..." at each reboot.

How can I do ?

Thanks.
Re: [chromium-discuss] how to suppress "chromium didn't shut down correctly..." notification ? Caleb Eggensperger 13/02/11 19:08
Why are you hard resetting the PC in this setup? That is generally not
advisable....

You could use the --user-data-dir= command line switch to use a
different user directory, then wipe it before each run of the
chromium-browser command. I assume the "chromium didn't shut down
correctly" message is based on data in that directory.

$ rm -rf ~/temp_data_dir; chromium-browser
--user-data-dir=~/temp_data_dir --kiosk preso.html

> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/a/chromium.org/group/chromium-discuss
>

--
Caleb Eggensperger
www.calebegg.com

Re: how to suppress "chromium didn't shut down correctly..." notification ? Marcellus Wallace 17/02/11 11:27
Thanks for your answer, but it's what I already do. I think there is a
log file in another place which I have to modify if I don't find how
to suppress this notification.
Re: how to suppress "chromium didn't shut down correctly..." notification ? Marcellus Wallace 18/02/11 09:54
Ok I think it's ok now :
There is a config folder in .cache/chromium
so at each start, I erase it and I launch chromium with --no-first-run
option

I found useful commands flags here : http://peter.sh/experiments/chromium-command-line-switches/
Re: [chromium-discuss] Re: how to suppress "chromium didn't shut down correctly..." notification ? PhistucK 05/11/12 22:24
However, any preference you set afterward will not be stored.

PhistucK



On Tue, Nov 6, 2012 at 5:55 AM, Scott <scott....@freshloc.com> wrote:
This is VERY easy to fix. and to bypass. what im going to tell you is very simple and nobody thought to try it :)  what I did to fix this was to simply make sure you do a clean shutdown. (where if you where to bring up chrome again there would be NO error) then after that browse to AppData\Local\Google\Chrome\User Data\Default\preferences.  then simply right click on it and bring up properties screen. then choose "READ ONLY".  this will prevent google chrome from writing the flag that will say "Clean-shutdown"false"  thus avoiding the unclean shutdown message..  cheers !! (file attached)

--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Re: [chromium-discuss] Re: how to suppress "chromium didn't shut down correctly..." notification ? Zachary Schmerold 11/05/13 09:04
This batch file solves both issues:
if not exist "%USERPROFILE%\AppData\Local\Google" goto end
cd /d "%USERPROFILE%\AppData\Local\Google"
attrib +r "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Preferences"
taskkill /f /im chrome.exe
timeout /t 4 /NOBREAK
del /q /s *.tmp "Current Session*.*" "Last*.*"
start chrome

:end
Re: [chromium-discuss] Re: how to suppress "chromium didn't shut down correctly..." notification ? xi...@madiya.org 26/06/13 11:24
Don't screw with attributes. Fix the actual problem.

Use sed for windows, cygwin, or some other viable replacement to the following command.

Before starting chrome, run: 
sed -i bak 's/\("exited_cleanly": *\)false,/\1true,/' "%USERPROFILE%\Local\Google\Chrome\User Data\Default\Preferences"