Set Default Applications in Ubuntu
There are two ways:
First is to goto System -> Preferences -> Preferred applications
Second is update-alternatives. So to update the web browser you would type:
sudo update-alternatives --config x-www-browser
Now select the browser you want. This is self explanatory. Make sure you change the default with both methods because for me it wouldn’t work when i just did the update-alternatives method.