Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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 it's 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 
    chrome.desktop
    
    $ grep chrome .local/share/applications/mimeapps.list
    text/html=chrome.desktop
    x-scheme-handler/http=chrome.desktop
    x-scheme-handler/https=chrome.desktop
    x-scheme-handler/about=google-chrome.desktop
    x-scheme-handler/about=google-chrome.desktop;
    text/html=emacs.desktop;google-chrome.desktop;firefox.desktop;
    x-scheme-handler/http=chrome.desktop;
    
    $ grep chrome /usr/share/applications/defaults.list
    application/xhtml+xml=google-chrome.desktop
    text/html=google-chrome.desktop
    text/xml=gedit.desktop;pluma.desktop;google-chrome.desktop
    x-scheme-handler/http=google-chrome.desktop
    x-scheme-handler/https=google-chrome.desktop
    

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

    $ grep -E 'firefox|opera|chromium' /usr/share/applications/defaults.list \ 
       .local/share/applications/mimeapps.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?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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 :)

share|improve this answer
1  
Welcome to 3K, glad to see you back on the site! Don't stay away so long 8-) –  slm Jan 23 at 20:40
1  
Thanks! I'll try :) –  Martin von Wittich Jan 23 at 20:49

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.

share|improve this answer
    
Thanks, but that was the first thing I tried as mentioned in the first bullet point of my question. –  terdon Jul 2 at 23:28
    
reread your question please that is NOT the first bullet point! –  Michael Durrant Jul 2 at 23:29
    
Your first bullet point is 'set as default' –  Michael Durrant Jul 2 at 23:30
    
oh terdon, it's you. hmm, suprised by that q then I guess. –  Michael Durrant Jul 2 at 23:31
    
Ha! You're right, it simply never occurred to me to click on don't ask again, even to the point of misreading your answer. What I wanted was to make it the default and have it shut up about it, so I was clicking on make default. Anyway, thanks, that might indeed have gotten rid of the pop up. It still wouldn't have made chrome default though. –  terdon Jul 2 at 23:36

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.