Skip to content

Instantly share code, notes, and snippets.

@espoelstra
Created March 19, 2020 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espoelstra/bf9122f30e09a8327da6fa6c968fb5ba to your computer and use it in GitHub Desktop.
Save espoelstra/bf9122f30e09a8327da6fa6c968fb5ba to your computer and use it in GitHub Desktop.
Disable Chrome automatic recovery when a crash happens by fixing the state before it starts
# Find exited cleanly and set it to true
sed -i 's%"exited_cleanly"%c"exited_cleanly": true' ~/.config/chromium/Default/Preferences
# could potentially run chrome || sed or add it to the desktop shortcut before launching chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment