Hi
When I restart / shutdown without closing Chrome, the next time I open it I get the "Google chrome didn't shut down correctly." message. I guess this is to be expected but can anyone suggest a way to close chrome elegantly on shutdown / reboot?
Hi
When I restart / shutdown without closing Chrome, the next time I open it I get the "Google chrome didn't shut down correctly." message. I guess this is to be expected but can anyone suggest a way to close chrome elegantly on shutdown / reboot?
To err is human, but not uniquely so.
It is very elegant to close Chromium via the X button... or write a kill script which runs on shutdown.
Being a target means being on the internet. End of line.
Takedown blog (hungarian)
Just clicking x should shut down Chrome without you seeing a message next time it's used.
I don't know, I'd have to agree with his Idea, the "x" is very effective.
That being said, there's always man pages dealing with the kill command:
I'm worried though that using kill will give you the same effect ask shutting down, since shutting down really just calls the kill command.Code:man kill
I do not know, why the X is not enough good, but then write a script which query only chromium-browser processes, awk it to get only the process ID, then put it to the suitable rc directory and runs it before the GUI shuts down... I think it will be so hard...
Being a target means being on the internet. End of line.
Takedown blog (hungarian)
If your cumputer siezes up, there is not really anything you can do about it, but usualy, you can restore the previous tabs. Otherwise, simply clicking the 'X' botton (or indevidualy closing all the tabs) should work fine.
Sorry, I seem to have created the wrong impression here. I can perfectly well shut chrome with the 'x' button, and my computer is not freezing up.
My point is that I want to be able to simply restart the computer without doing that (or closing any other apps), and still have chrome behave as if I had closed it 'cleanly'. I have set my preferences to remember what I had open when I last logged in and it seems to work fine, except that chrome has this 'feature'.
To err is human, but not uniquely so.
Short of screwing around with chrome I'm not sure what you'd do.
I'm sure you know all about kill... It won't close the program the way it was "intended" since chrome probably has some mechanism to detecting if the program was closed the way it wanted.
I wonder how hard it would be to disable this feature.
It's interesting because Firefox doesn't complain at all about being closed by an outside program.... well, sometimes it gives me "this is embarrassing" and then goes to restore all my tabs (even though it failed??)
Interesting - Chrome now doesn't start automatically when I login again (I wonder if I am imagining that it ever did?) Whatever - even if I set the preferences in chrome to 'open the following pages' on startup, I still get the message about not shutting down cleanly (which does kind of make sense) when I manually restart it.
Last edited by ubername; April 15th, 2010 at 10:19 AM.
To err is human, but not uniquely so.
Bookmarks