How can I make chrome (stop asking to be) the default browser?
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:
What I have tried:
- Clicking on "Set as default" in the pop-up.
Making chrome the default in its settings:
Using my desktop environment's (cinnamon) settings app to set it as default:
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 previous default) withgoogle-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:
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?
chrome browser mime-types defaults
add a comment |
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:
What I have tried:
- Clicking on "Set as default" in the pop-up.
Making chrome the default in its settings:
Using my desktop environment's (cinnamon) settings app to set it as default:
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 previous default) withgoogle-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:
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?
chrome browser mime-types defaults
add a comment |
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:
What I have tried:
- Clicking on "Set as default" in the pop-up.
Making chrome the default in its settings:
Using my desktop environment's (cinnamon) settings app to set it as default:
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 previous default) withgoogle-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:
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?
chrome browser mime-types defaults
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:
What I have tried:
- Clicking on "Set as default" in the pop-up.
Making chrome the default in its settings:
Using my desktop environment's (cinnamon) settings app to set it as default:
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 previous default) withgoogle-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:
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?
chrome browser mime-types defaults
chrome browser mime-types defaults
edited Mar 1 '18 at 17:42
terdon
asked Jan 23 '14 at 16:07
terdon♦terdon
129k32253428
129k32253428
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
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 :)
add a comment |
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
add a comment |
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.
7
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
add a comment |
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 :)
I hope it can help.
David.
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
add a comment |
Simple solution
Works fine!
sudo update-alternatives --config x-www-browser
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
sudo xdg-mime default chromium-browser.desktop text/html
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f110613%2fhow-can-i-make-chrome-stop-asking-to-be-the-default-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 :)
add a comment |
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 :)
add a comment |
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 :)
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 :)
answered Jan 23 '14 at 18:32
Martin von WittichMartin von Wittich
9,89433157
9,89433157
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Sep 7 '18 at 12:12
Jason LewisJason Lewis
513
513
add a comment |
add a comment |
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.
7
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
add a comment |
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.
7
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
add a comment |
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.
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.
answered Jul 2 '14 at 23:25
Michael DurrantMichael Durrant
15.9k44115182
15.9k44115182
7
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
add a comment |
7
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
7
7
It's 2018, and there is no such thing as "don't ask again".
– carbolymer
Jan 5 '18 at 16:17
It's 2018, and there is no such thing as "don't ask again".
– carbolymer
Jan 5 '18 at 16:17
1
1
That never worked and it isn't even an option now.
– neuronet
Jul 8 '18 at 1:44
That never worked and it isn't even an option now.
– neuronet
Jul 8 '18 at 1:44
add a comment |
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 :)
I hope it can help.
David.
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
add a comment |
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 :)
I hope it can help.
David.
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
add a comment |
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 :)
I hope it can help.
David.
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 :)
I hope it can help.
David.
edited Mar 1 '18 at 17:36
GAD3R
25.8k1750107
25.8k1750107
answered Mar 1 '18 at 17:33
David GouzienDavid Gouzien
111
111
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
add a comment |
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
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
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
add a comment |
Simple solution
Works fine!
sudo update-alternatives --config x-www-browser
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
sudo xdg-mime default chromium-browser.desktop text/html
add a comment |
Simple solution
Works fine!
sudo update-alternatives --config x-www-browser
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
sudo xdg-mime default chromium-browser.desktop text/html
add a comment |
Simple solution
Works fine!
sudo update-alternatives --config x-www-browser
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
sudo xdg-mime default chromium-browser.desktop text/html
Simple solution
Works fine!
sudo update-alternatives --config x-www-browser
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/http
sudo xdg-mime default chromium-browser.desktop x-scheme-handler/https
sudo xdg-mime default chromium-browser.desktop text/html
answered Jan 5 at 22:33
Antonio FeitosaAntonio Feitosa
1313
1313
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f110613%2fhow-can-i-make-chrome-stop-asking-to-be-the-default-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown