I'm growing increasingly impressed with Xubuntu but setting the default web browser is a nightmare. In theory, you simply choose your preferred web browser in the settings and it should be enough. Some applications just ignore this and open in whatever was set before them by the distro makers. There is a reason, and a solution.
Instead of set commands being hardwired, these are variables triggering other commands. The "web browser" link on the XFCE menu isn't hardwired to Firefox, it looks for the variable, if that variable is set to Firefox, it opens Firefox. The key is how to change this.
An app call galternatives in the repositories is what you need. It's a GUI app appearing on the Administration menu as Alternatives Configurator. This requires root privileges to run, so you will be asked for your password. It has a lot of defaults you can alter, you're looking for two specifically:
- gnome-www-browser
- x-www-browser
Some applications use one variable, some use the other. This is why some applications ignore the defaults, and why you need to set both. So switch both of these to your browser of choice. As a final touch I had to go back into the XFCE settings to ensure Chromium was set as the preferred browser after that, then tell Chromium when it opened to set itself as default. With that, no matter what application you click a link to "open in web browser" it should always open in your browser of choice. It shouldn't be needed to do this type of repeated enforcement just to set a consistent default web browser that's respected, but it does work. Here's hoping this is fixed in future editions so you don't have to jump through all these hoops.
If you liked this post, buy me a coffee
As a supporter of Creative Commons, the contents of this site are licensed under a Creative Commons CC-By-SA 3.0 Unported license. This means you're allowed to copy, distribute, transmit, adapt and make commercial use of the work under certain conditions.
- Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
- Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
Related Blog Posts
- Compiz & The Notification Panel On XFCE
- Installing Applications
- Consistency
- Ice Age 3 - Created Partly On An XFCE Desktop
- Linux Mint 7 "Gloria" XCFE CE Review
- The Ubuntu App Store
- The Ubuntu App Store's Elephant In The Room
- I'm Seriously Impressed With OpenSuSE 11.4
- Initial Impressions Of Ubuntu 12.04
- UNR - Ubuntu Netbook Revisited
Add new comment