I am running Linux Mint Debian edition (essentially Debian testing) and the Cinnamon desktop environment. Every time I launch google-chrome it asks to become the default browser. I have told it to do so in all ways I can think of but I still get this pop-up:

enter image description here

What I have tried:

  • Clicking on "Set as default" in the pop-up.
  • Making chrome the default in its settings:

    enter image description here

  • Using my desktop environment's (cinnamon) settings app to set it as default:

    enter image description here

  • Associating it with all relevant mimetypes in the various ways and files where such things are defined:

    $ xdg-mime query default text/html 
    $ grep chrome .local/share/applications/mimeapps.list
    $ grep chrome /usr/share/applications/defaults.list

    In those files, I replaced all occurrences of firefox (my previous default) with google-chrome. No other browsers are defined anywhere in the file:

    $ grep -E 'firefox|opera|chromium' /usr/share/applications/defaults.list \ 
  • Launching chrome as root in case that helps but it won't let me:

    enter image description here

  • Using Debian's alternatives system to set it as default:

    $ sudo update-alternatives --install /usr/bin/www-browser www-browser /usr/bin/google-chrome 1080
    update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/www-browser (www-browser) in auto mode
    $ ls -l /etc/alternatives/www-browser
    lrwxrwxrwx 1 root root 22 Jan 23 17:03 /etc/alternatives/www-browser -> /usr/bin/google-chrome

None of these seem to have any effect. Will no one rid me of this turbulent pop-up?


I don't have Chrome installed, only Chromium, but I hope they aren't too different for this to work. When I choose "Don't ask again", Chromiom stores the following setting in my ~/.config/chromium/Profile 1/Preferences file:

   "alternate_error_pages": {
      "enabled": false
   "apps": {
      "shortcuts_have_been_created": true
   "autofill": {
      "negative_upload_rate": 1.0,
      "positive_upload_rate": 1.0
   "bookmark_bar": {
      "show_on_all_tabs": true
   "bookmark_editor": {
      "expanded_nodes": [ "1" ]
   "browser": {
      "check_default_browser": false,

You could try to manually add that check_default_browser setting to your Preferences file :)


found the solution:

When you get the question again, don’t press the button that makes Chrome the default browser, but click on the far right of the bar on the X to make the bar disappear. Big chance it won’t come back.

via a manjaro forum post

  • 2
    This seems to be irrelevant to terdon's question of 2014 (IIUC, he had an explicit "Don't ask again" button, which didn't work). But it's quite useful in 2019 (when there's no "Don't ask again" button, but "x" does the job). It's really quite counter-intuitive UX decision in Chrome/Chromium (I'd expect "x" to mean "hide this now", but not "forget it forever"). – sasha Apr 24 '19 at 15:37
  • solved my problem. – Syrtis Major Jan 18 at 13:00

Here is a quick solution as worth as the one above I guess but different: Run in a terminal :

echo '# Disable set default browser
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --no-default-browser-check"' \
| sudo tee /etc/chromium.d/disable-set-default-browser

It will create a file that will launch Chromium without checking ... Very useful when the "don't ask again" question doesn't pop up :)

  • Darn. That looked very promising, but there was no /etc/chromium.d/ directory on my Ubuntu system, and making it had no effect. – Auspex Jul 14 '18 at 15:57
  • I am also using this --no-default-browser-check flag. Works like a charm! You can also create a launcher "desktop" file in ~/.local/share/applications/ so that when you click to open the app from launcher/favorites bar, it runs with this flag. See here for more about the desktop files: askubuntu.com/questions/461943/… – pestophagous Aug 3 '19 at 19:37

Why manual edits?
Just "Click on "Don't ask again" in the pop-up." as indicated.

I don't see any indication in your question that you have tried that.

  • 11
    It's 2018, and there is no such thing as "don't ask again". – carbolymer Jan 5 '18 at 16:17
  • 1
    That never worked and it isn't even an option now. – neuronet Jul 8 '18 at 1:44

Simple solution

Works fine!

sudo xdg-mime default google-chrome.desktop x-scheme-handler/http
sudo xdg-mime default google-chrome.desktop x-scheme-handler/https
sudo xdg-mime default google-chrome.desktop text/html
  • This is great if you want chromium to be the default, but not so much if you don't. – bschlueter Oct 12 '19 at 4:02
  • @bschlueter thx about your advice. That was a material mistake. Now works fine! – Antonio Feitosa Oct 16 '19 at 1:31
  • Now it works great if you want google-chrome to be the default which may remedy the problem of being notified that chrome is not the default browser, but isn't helpful if you want something else, like firefox, or surf, to be the default, but still want to be able to use chrome on occasion without getting the notification. – bschlueter Oct 17 '19 at 16:17
  • 1
    only one that worked for me! – Mark Deven Jan 26 at 3:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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