Skip to content


How to change the default web browser in Ubuntu

Firefox Linux

Have multiple browsers installed on your Ubuntu machine? Sometimes it can be a bit confusing if you want to change the the default web browser from one to another. Here’s a simple way you can make the switch using the Linux command line.

Say that Konqueror is currently the default web browser on your computer and you want to change it to Firefox. We’ll use the Ubuntu tool update-alternatives to help us make the change. Open a Terminal window by selecting Applications -> Accessories -> Terminal and run the following command:

sudo update-alternatives –config x-www-browser

Enter your password for sudo access. You will see a textual interactive menu like the one below:

There are 2 alternatives which provide `x-www-browser’.

Selection Alternative
———————————————–
1 /usr/bin/firefox
*+ 2 /usr/bin/konqueror

Press enter to keep the default[*], or type selection number:

Follow the instructions. Type 1 and hit the Return key to change from the current default web browser (Konqueror) to Firefox. Now when you click on a link somewhere Firefox will launch rather than Konqueror.

Posted in Firefox, Linux.

Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

 

You can always opt out of this email subscription at any time.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.