Shows "Chromium isn't your default browser" since 15.10.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Xdg-utils |
Unknown
|
Medium
|
||
| chromium-browser (Ubuntu) |
Undecided
|
Unassigned | ||
| xdg-utils (Ubuntu) |
High
|
Unassigned |
Bug Description
Since the 15.10. upgrade Chromium shows on every launch "Chromium isn't your default browser", even when i select "Set as default" or "Don't ask again".
Chromium is set as default application for "Web" at System Settings -> Details -> Default Applications.
Version 45.0.2454.101 Ubuntu 15.10 (64-bit)
summary: |
- Shows "Chromium isn't your default browser" since 15.10 + Shows "Chromium isn't your default browser" since 15.10. |
description: | updated |
description: | updated |
Launchpad Janitor (janitor) wrote : | #1 |
Changed in chromium-browser (Ubuntu): | |
status: | New → Confirmed |
Changed in chromium-browser (Ubuntu): | |
assignee: | nobody → Chad Miller (cmiller) |
Saikrishna Arcot (saiarcot895) wrote : | #2 |
Same on KDE, so this is DE-independent.
Chad Miller (cmiller) wrote : | #3 |
The problem is that the XDG utilities aren't written very well. If you have more that one action in a "desktop" file (as we do, for "new temporary profile" and "open an incognito window"), then it doesn't count desktop files right. I fixed upstream XDG, but need to include a local copy that we always use until it's fixed everywhere.
Or Schiro (orschiro) wrote : | #4 |
Dear Chad,
Thanks for the fix!
> I fixed upstream XDG, but need to include a local copy that we always use until it's fixed everywhere.
What does this mean for the user? Does the user need to do anything other than waiting for the update?
Thankfully,
~ Robert
Launchpad Janitor (janitor) wrote : | #5 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in xdg-utils (Ubuntu): | |
status: | New → Confirmed |
atti (spamtub) wrote : | #6 |
same on Lubuntu 15.10 (64bit)
Chrome Version 46.0.2490.86 (64-bit)
Alex N. (a-nox) wrote : | #7 |
Problem was fixed for me after resetting my unity settings.
Or Schiro (orschiro) wrote : | #8 |
Dear Alex,
Can you please describe briefly how you reset the unity settings?
Thankfully,
~ Robert
Alex N. (a-nox) wrote : | #9 |
i should be more precise, i reset my gnome settings like this:
cd ~
rm -rf .gnome .gnome2 .gconf .gconfd .metacity
Or Schiro (orschiro) wrote : | #10 |
Dear Alex,
Thanks for sharing! I thought there was a GUI setting somewhere that I had missed. :)
~ Robert
Alex N. (a-nox) wrote : | #11 |
But beware, the above command will delete configuration files and you might have to reconfigure a lot of settings!
NicDumZ (nicdumz) wrote : | #12 |
Would there be a way to provide a less destructive workaround than #9?
Chad Miller (cmiller) wrote : Re: [Bug 1509139] Re: Shows "Chromium isn't your default browser" since 15.10. | #13 |
Everyone experiencing this, please paste the result of this in a terminal:
$ apt-cache policy xdg-utils; grep http ~/.config/
~/.local/
On Tue, Nov 24, 2015 at 2:41 AM, NicDumZ <email address hidden> wrote:
> Would there be a way to provide a less destructive workaround than #9?
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> Shows "Chromium isn't your default browser" since 15.10.
>
> Status in chromium-browser package in Ubuntu:
> Confirmed
> Status in xdg-utils package in Ubuntu:
> Confirmed
>
> Bug description:
> Since the 15.10. upgrade Chromium shows on every launch "Chromium
> isn't your default browser", even when i select "Set as default" or
> "Don't ask again".
>
> Chromium is set as default application for "Web" at System Settings ->
> Details -> Default Applications.
>
> Version 45.0.2454.101 Ubuntu 15.10 (64-bit)
>
> To manage notifications about this bug go to:
>
> https:/
>
$ apt-cache policy xdg-utils; grep http ~/.config/
xdg-utils:
Installed: 1.1.0~rc3+
Candidate: 1.1.0~rc3+
Version table:
*** 1.1.0~rc3+
500 http://
100 /var/lib/
grep: /home/xxxxx/
NB I stopped reminders and don't get them but I cannot make Chromium the default browser in Chromium Settings
Alex N. (a-nox) wrote : | #16 |
watch the newline, the testing command should be: "apt-cache policy xdg-utils; grep http ~/.config/
i dont experience this anymore, but here is my output anyway:
$ apt-cache policy xdg-utils; grep http ~/.config/
xdg-utils:
Installed: 1.1.0~rc3+
Candidate: 1.1.0~rc3+
Version table:
*** 1.1.0~rc3+
500 http://
100 /var/lib/
/home/xxx/
/home/xxx/
/home/xxx/
Andreas Brudin (andreas-brudin) wrote : | #17 |
I am experiencing this issue (Swedish package repositories):
$ apt-cache policy xdg-utils; grep http ~/.config/
xdg-utils:
Installed: 1.1.0~rc3+
Candidate: 1.1.0~rc3+
Version table:
*** 1.1.0~rc3+
500 http://
100 /var/lib/
/home/xxx/
/home/xxx/
Chad Miller (cmiller) wrote : | #18 |
Thanks, all. I have enough information now.
Changed in xdg-utils (Ubuntu): | |
assignee: | nobody → Chad Miller (cmiller) |
importance: | Undecided → High |
The problem and a temporary workaround have been discussed here:
Alex N. (a-nox) wrote : | #20 |
The suggested workaround disables the default browser check in Chrome. I think we should wait for a fix and not disable a useful feature.
Yes, but until we have a fix, this removes the annoying message. That's why I said "temporary workaround".
Launchpad Janitor (janitor) wrote : | #22 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in google-chrome (Ubuntu): | |
status: | New → Confirmed |
Boris Aranovich (nomaed) wrote : | #23 |
Happens on 14.04.01 as well, and has been happening for a while.
Ron (shinazueli) wrote : | #24 |
The workaround at #19 does not work. You can edit the text file all day but as as soon as google-chrome starts up if overwrites the setting you just changed. 15.10.
3vi1 (launchpad-net-eternaldusk) wrote : | #25 |
I can confirm what Ron says in #24. The workaround does not work with the current chrome stable release - it gets overwritten back to true shortly after restarting the browser (change was made after closing chrome).
I can confirm that to. It used to work, and seems to continue to work if you don't reinstall chrome, but if you do, it automatically changes back to "true".
Btw, is there anything happening here at all?
radoslaw (radoslaw-cz) wrote : | #27 |
Any working workaround?
John (johnernaut) wrote : | #28 |
I'm having this exact issue as well.
Tony (l-tony-w) wrote : | #29 |
I am hitting this issue too on a fresh 15.10 install, exactly as everyone else has described. This really needs to be triaged and looked at IMHO, although not a major issue it is a pretty poor experience.
Dave Lyon (tuxrocket) wrote : | #30 |
Same here.
Gustav Ekner (gustav-ekner) wrote : | #31 |
This seems to be fixed here: https:/
Nikita Unkovsky (niihelium) wrote : | #32 |
Chrome not only showing this notification, it also can't change default browser to itself.
Tim Nolte (tim-nolte) wrote : | #33 |
Same as everyone else.
Ryan Lux (alphalux) wrote : | #34 |
Gustav is correct. Editing the file /usr/bin/
The offending line for me is line #198
command="`grep -E "^Exec(
rectified to:
command="`grep -E "^Exec(
After making this change, you can set the default browser within the Chrome settings as Nikita mentioned, and it will succeed.
Richard (rpbaptist) wrote : | #35 |
I can confirm this worked for me. Thanks!
Mario Beauchamp (k-mario-t) wrote : | #36 |
This has also worked for me. Thank you!!
Brandon Taylor (dmn2004404) wrote : | #37 |
Fix has been proposed, but not yet committed.
Changed in chromium-browser (Ubuntu): | |
status: | Confirmed → In Progress |
Andriy Podanenko (podarokua) wrote : | #38 |
https:/
Thanks
Alan Hoyle (alanh) wrote : | #39 |
#34 appears to have fixed it for me as well.
tdtrung17693 (trungsuper) wrote : | #40 |
#34 worked for me too. Thanks!!
Leo Iz (leo2002b) wrote : | #41 |
#34 fixed the problem. Thank you Ryan Lux!
Fawad Raza (fwd079) wrote : | #42 |
The link:
https:/
fixed for me too, thanks Ryan.
Launchpad Janitor (janitor) wrote : | #43 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in google-chrome-beta (Ubuntu): | |
status: | New → Confirmed |
Zachary Rash (zcrash) wrote : | #44 |
#34 fixes the issue for me as well. Thanks for the workaround.
Ross McLean (gast0r) wrote : | #45 |
Unfortunately #34 did not fix this for me. It seems it's worked for everyone else perfectly, so I'm a little confused.
Brandon Taylor (dmn2004404) wrote : | #46 |
Works in Ubuntu but not Linux Mint.
Dany (wonder) wrote : | #47 |
#34 not works in Linux Mint (the line 198 is not the same).
Also, I try with:
change lines #177 and #202 in the file /usr/bin/
command="`grep -E "^Exec(
to
command="`grep -E "^Exec(
But also, not works in Linux Mint (18 KDE).
|
#59 |
From any desktop / window manager using the fallback mechanisms (enlightenment, XMonad tested)
$ xdg-settings get default-web-browser
firefox.desktop
$ xdg-settings set default-web-browser chromium-
$ xdg-settings get default-web-browser
firefox.desktop
-rw-r--r-- 1 root root 414 Oct 1 22:16 /usr/share/
openSUSE Bug report: https:/
This issue is sitting somewhere on my todo list, but probably won't be looked at this week.
I am not sure if this should go here as well (please tell me whether I should open another bug for that).
I am running KDE5 on Arch Linux and cannot xdg-settings set default-web-browser either.
Running with XDG_UTILS_
> $ xdg-settings set default-web-browser chromium-
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde: No kde runtime detected
> make_default_
> Updating /home/username/
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde: No kde runtime detected
> make_default_
> Updating /home/username/
I dug a bit deeper into this and noticed, that xdg-mime still has some parts which are not aware of KDE 5. I attached a patch which does some superficial fixes but it is not working although the output changed:
> $ xdg-settings set default-web-browser chromium.desktop
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde chromium.desktop text/html
> Updating /home/username/
> kbuildsycoca5 running...
> Reusing existing ksycoca
> Recreating ksycoca file ("/home/
> Still in the time dict (i.e. deleted files) ("apps")
> Menu "applications-
> Saving
> make_default_
> Updating /home/username/
> Running KDE trader query "text/html" mimetype and "Application" servicetype
> make_default_kde userapp-
> Updating /home/username/
> kbuildsycoca5 running...
> Reusing existing ksycoca
> Recreating ksycoca file ("/home/
> Still in the time dict (i.e. deleted files) ("apps")
> Menu "applications-
> Saving
> make_default_
> Updating /home/username/
Created attachment 127764
The superficial patch for KDE 5 support
After having read https:/
> $ ln -s ~/.local/
And it seems to work now. As can be seen from the logs, xdg-settings changed ~/.local/
|
#63 |
I've tracked down the issue, not sure how to solve it yet, desktop_
find -iname "*-*" [Mon Nov 7 14:01:25 ACDT 2016|0]
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./YaST2/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./kde4/
./textmaker-
./planmaker-
./presentations
./gtk-recordmyd
./yast2-
./yast2-
./claudia-
./projectM-
./git-gui.desktop
./simple-
./vivaldi-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./lxqt-
./pcmanfm-
./pcmanfm-
./chromium-
./gnome-
./pavucontrol-
./notification-
./gnome-
./geoclue-
./gpk-prefs.desktop
./bluetooth-
./uget-gtk.desktop
./gcr-prompter.
./mount-
./nautilus-
./nautilus-
./gcm-calibrate
./gcm-import.
./gcm-picker.
./gcr-viewer.
./lximage-
./lximage-
./ibus-
./xscreensaver-
./exo-file-
./exo-mail-
./exo-preferred
./exo-terminal-
./exo-web-
./itweb-
./xfce4-
./xfce4-
./xfce4-
./claws-
|
#64 |
According to the xdg specs (and my understanding), use of the vendor prefix means that
foo/bar.desktop
foo-bar.desktop
should be treated as equivalent. This code probably should too.
|
#65 |
Sorry, so .... in short , use of - in filenames *should* be ok (and allowed)
|
#66 |
Ok i'll patch desktop_
|
#67 |
Turns out the issue I was seeing was a regression in my fix for https:/
Lehel (gladia2r) wrote : | #48 |
FYI, I made this work in Linux Mint 18 KDE by replacing the following line in /usr/bin/xdg-mime
1000 # KTRADER=`which ktraderclient$
1001 KTRADER=`which ktraderclient 2> /dev/null`
It likely has to do with Plasma 5 and some greps.
$ ktraderclient5 -v
ktraderclient 5.6.5
$ ktraderclient -v
Qt: 4.8.7
KDE Development Platform: 4.14.16
KTraderClient: 0.0
Chromimum was able to set itself default after the change, and wont complain any more.
I see open Bug ref. with xdg-utils: https:/
|
#68 |
fyi, applied fixes from bug #44163 now, any news/update here?
Changed in xdg-utils: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
leross (ross-moussouni) wrote : | #49 |
xdg-utils:
Installed: 1.1.0~rc3+
Candidate: 1.1.0~rc3+
Version table:
*** 1.1.0~rc3+
500 http://
100 /var/lib/
x-scheme-
x-scheme-
x-scheme-
rtimai (rtimai) wrote : | #50 |
Chad, I don't agree that "the XDG utilities aren't written very well." The problem is that there's little agreement between both applications and platforms on how defaults are detected, and the script is doing its best to accommodate all the scenarios that cause issues. I believe I have tried EVERY fix (short of installing testing versions from PPAs of XDG-utils and Chromium) and Chromium STILL doesn't know that it's the default browser.
~$ apt-cache policy xdg-utils; grep http ~/.config/
xdg-utils:
Installed: 1.1.0~rc1+
Candidate: 1.1.0~rc1+
Version table:
*** 1.1.0~rc1+
500 http://
100 /var/lib/
/home/USERNAME/
/home/USERNAME/
~$ uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
~$ lsb_release -d
Description: Debian GNU/Linux 8.8 (jessie)
~$ apt-cache policy chromium
chromium:
Installed: 57.0.2987.
Candidate: 57.0.2987.
Version table:
*** 57.0.2987.
500 http://
500 http://
100 /var/lib/
/usr/bin/
198# command="`grep -E "^Exec(
199 command="`grep -E "^Exec(
200# command="`grep -E "^Exec(
Each line uncommented in turn with no change in chrome://settings: "Chromium is not currently your default browser."
Olivier Tilloy (osomon) wrote : | #51 |
@rtimai: this is an ubuntu bug, and you appear to be running chromium on debian. You’ll want to report that bug in the debian bug tracker. The issue might be very similar, and a fix might apply to both versions, but the chromium packages in debian and ubuntu are not identical, so issues need to be tracked separately.
Olivier Tilloy (osomon) wrote : | #52 |
If I read the report correctly, the issue was fixed in xdg-utils in xenial. Wily has been EOL for almost a year, so I am closing the bug.
no longer affects: | chromium-browser |
no longer affects: | google-chrome-beta (Ubuntu) |
no longer affects: | google-chrome (Ubuntu) |
Changed in chromium-browser (Ubuntu): | |
assignee: | Chad Miller (cmiller) → nobody |
status: | In Progress → Invalid |
Changed in xdg-utils (Ubuntu): | |
assignee: | Chad Miller (cmiller) → nobody |
status: | Confirmed → Fix Released |
rtimai (rtimai) wrote : | #53 |
@osomon [re #51]: Thanks for your response, nice to see someone's paying attention. I have a feeling that this issue is not occurring with most users in Gnome 3 on Debian, and I AM because of a combination of pre-existing conditions (I installed Dave Steele's Gnome-Gmail (from his PPA) so that mailto links open my Gmail account in Chromium. Plus, the Ubuntu forums always show a LOT more activity. Debian-stable (Jessie) repos are always several version behind in many packages. I suppose I'll wait patiently for this to resolve in time. Thanks again for your comment.
MR Zenwiz (mrzenwiz) wrote : | #54 |
xdg-utils is not fixed in xenial- this problem still occurs on bionic.
Olivier Tilloy (osomon) wrote : | #55 |
@mrzenwiz: is this the original problem, as quoted here:
« Chromium shows on every launch "Chromium isn't your default browser", even when i select "Set as default" or "Don't ask again".
Chromium is set as default application for "Web" at System Settings -> Details -> Default Applications. »
or a separate issue?
xChris (cs-.) wrote : | #56 |
Kubuntu 18.04 and still the bug occurs here!
xChris (cs-.) wrote : | #57 |
Looks like f*ck-up when another browser (eg. firefox) is installed too.
I removed the other browser (firefox) and the chrome does not complain anymore.
Olivier Tilloy (osomon) wrote : | #58 |
xChris: glad to know that you found a way to make the problem go away, but this isn't a proper fix and I'd like to get to the bottom of the issue. If you reinstall firefox, does the problem re-appear? If so, can you share the output of the following command, run in a terminal:
xdg-settings get default-web-browser
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https:/
Changed in xdg-utils: | |
status: | Confirmed → Unknown |
Status changed to 'Confirmed' because the bug affects multiple users.