Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When chrome has crashed, it displays a warning (under the address bar) on restart, offering to restore tabs. I'm launching chrome in kiosk mode, i don't want theses warnings to be displayed.

Is there a way to do this ?

share|improve this question
    
This is a probable duplicate of superuser.com/questions/461035/…. Even though this question is older, it has 10x fewer views and 3x fewer votes. – nc4pk Jul 23 '15 at 0:31
up vote 5 down vote accepted

You should run Chrome in Incognito Mode with this command:

chrome --incognito --kiosk http://127.0.0.1

Here they talk about running this command before starting Chrome to stop the Restore Bar from appearing:

sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' \
    ~/.config/google-chrome/Default/Preferences
share|improve this answer
    
incognito does the trick for me. – Olivier Jan 27 '11 at 15:40

--disable-infobars --disable-session-crashed-bubble

while true; do
   chromium-browser --kiosk http://fotolia.com/ --no-first-run --touch-events=enabled --fast --fast-start --disable-popup-blocking --disable-infobars --disable-session-crashed-bubble --disable-tab-switcher --disable-translate --enable-low-res-tiling
   sleep 10s;
done
share|improve this answer
1  
Confirmed, this works for me on Chromium 47 on Linux. – Sundae Dec 9 '15 at 15:42
1  
Did the trick for me. My Chromium ignored the "exited_cleanly" Preferences. – cljk Feb 19 at 6:59

I believe --restore-last-session will also do the job.

Source: http://peter.sh/experiments/chromium-command-line-switches/

share|improve this answer

I have been trying to solve this problem for days. Incognito mode comes without cache, and changing Preferences file did not work for me.

Finally I have been able to solve by following steps below:

  1. Go to chrome://flags url. Search for “Enable session restore bubble UI” and set it to Disabled.
  2. open chrome with --kiosk --hide-infobars options.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.