GNOME Bugzilla – Bug 545126
Uninstalling default browser doesn't fall back to another
Last modified: 2008-07-28 21:07:11 UTC
the bug has been described on https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/217296 "Ubuntu Hardy beta, all updates installed 1. Install Galeon. 2. In Preferred Applications, set Galeon as your default browser. 3. Open a Web shortcut in Nautilus, or enter "xdg-open http://example.com/" in a terminal, to check that it opens in Galeon. 4. Uninstall Galeon. 5. Open a Web shortcut in Nautilus, or enter "xdg-open http://example.com/" in a terminal. 6. See what the default browser is in Preferred Applications. What happens: 5. You get an error message. 6. The default browser is described as "Custom" and shows the no-longer-existing "galeon". What should happen: 5. Ubuntu should fall back to another browser automatically. 6. This automatically-chosen browser should be shown in Preferred Applications. Probably this will require a specification that I don't have time to write -- I'm just recording it here before I forget. If anyone else wants to work on it, I would be very grateful. :-)" One way to fix that would be to have gnome-settings-daemon to monitor the binaries and update the gconf value when something used in uninstalled
There's *so much* that could go wrong there. You're probably better off having a "sensible-web-browser" script similar to what Debian has. And the default for all apps is "disabled" anyway. Plus, the fallback chosen will be wrong in 90% of the cases, I foretell.