communicationlesno.blogg.se

Stop chrome from opening last session
Stop chrome from opening last session









  • Insert the above 2 lines into the file, before Chromium is run (You should see a line starting with chromium-browser, so insert them above this)Īgain, the file used to start up Chromium may be located in a different location, depending on how you have setup your Pi, but after changing these two settings, Chromium should start up without displaying the crashing prompt.
  • Second and subsequent use of Edge result in it opening on the home page as it should.
  • Enter sudo nano ~/.Xsession into the console Stop Microsoft Edge from opening last session instead of home page This only happens the first time it is used after booting the computer.
  • Sed -i 's/"exit_type": "Crashed"/"exit_type": "Normal"/' ~/.config/chromium/Default/Preferencesįor example, with my setup (using Xsession), the procedure would go as follows: sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/Default/Preferences To adjust these settings, please add the following in your startup file, before launching Chromium (depending on how you have set up Chromium to automatically run in kiosk mode, this file can either be located at /etc/xdg/lxsession/LXDE-pi/autostart, /etc/xdg/openbox/autostart, ~/.Xsession, or another file, depending on what you have already installed). Other flags such as -disable-infobars will also not work. They are:įrom what I have gathered from personal tests, just changing the "exited_cleanly" setting may not always work at preventing the Chromium prompt on startup. The best way to now perform this task, without having to use incognito, is to adjust two settings in the Chromium preferences.











    Stop chrome from opening last session