Skip to content

Instantly share code, notes, and snippets.

@RidaAyed
Created February 26, 2018 13:33
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 RidaAyed/02539781d87ad1c93734d97bba895dc8 to your computer and use it in GitHub Desktop.
Save RidaAyed/02539781d87ad1c93734d97bba895dc8 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# No more restore session messages
#######################################################################
# Chrome Shut-Up #
#######################################################################
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State'
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences
chromium --no-default-browser-check --no-first-run --disable-infobars --disable-session-crashed-bubble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment