GNOME Bugzilla – Bug 653000
[info] Default Applications Do Not Persist
Last modified: 2012-12-18 16:46:15 UTC
Created attachment 190265 [details] Defaulted (incorrect) values for 'Default Applications' in GUI The default applications on my clean install of Feodra 15 with Gnome 3.0.1 do not persist for an extended period of time. If I reboot or leave my laptop on all evening the default browser and e-mail client will magically reset itself back to 'Firefox' and 'Evolution' instead of 'Google Chrome' and 'Gnome-Mail'. I have tried checking all the typical files and settings but the only command that seems to detect the reverting is: []$ xdg-mime query default text/html which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josh/bin) mozilla-firefox.desktop If I want Gnome to not revert the browser until I reboot I need to run: []$ xdg-mime default google-chrome.desktop text/html At this point I'm out of ideas for how to further troubleshoot this issue and I can only assume it's a bug since I'm now running on my 2nd clean install.
Created attachment 190266 [details] Correct 'Default Applications' configuration in GUI
xdg-mime is very likely broken, and it's what Chrome/Chromium uses to set itself as default. Which version of it do you have? What errors do you see (if any) when running "gnome-control-center info" and making the changes again, from a terminal?
See also: https://bugzilla.redhat.com/show_bug.cgi?id=678656 https://bugzilla.redhat.com/show_bug.cgi?id=654746 and: https://bugzilla.gnome.org/show_bug.cgi?id=648599
Thanks! I'm running Google Chrome: 14.0.794.0 dev. I get no errors when I run 'gnome-control-center info' and under "Default Applications" everything looks fine since I changed them back manually this morning. They will only be reverted after a reboot. It should be noted that the "Default Application" for Mail "Gnome-Gmail" also gets reverts back to "Evolution" so I'm not sure if it's Chrome specific. A few days ago when testing, I found that when I ran the settings commands manually they would not set the browser as expected until I used gnome-control-center []$ xdg-settings set default-web-browser google-chrome.desktop which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josh/bin) xdg-mime: malformed argument 'which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josh/bin) which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josh/bin)', expected *.desktop Try 'xdg-mime --help' for more information. []$ xdg-settings get default-web-browser which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josh/bin) which: no gnome-default-applications-properties in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/josh/bin) mozilla-firefox.desktop []$ xdg-settings --list Known properties: default-web-browser Default web browser []# find / -name google-chrome.desktop /opt/google/chrome/google-chrome.desktop /usr/local/share/applications/google-chrome.desktop []$ rpm -qa | grep xdg-utils xdg-utils-1.1.0-0.6.20110505.fc15.noarch
xdg-utils is still broken it seems.
Please let me know if I can do any additional testing to help resolve the issue.
Quick update. For what it's worth and how it's related I'm not 100% sure yet but I decided to remove/uninstall Firefox and Evolution and since then neither my default mail or default browser programs have reverted back. Granted now Chrome is my only registered browser so that's hard to tell but Gnome-GMail is among another option and it has not reverted to Evolution as it was previously doing. Again, if there are other troubleshooting steps I can take to help solve the puzzle just let me know.
If you want to debug this further, feel free to reopen this bug. We'd need the output from: gvfs-mime --query x-scheme-handler/http for example. I'll close this as the original problem was solved.