Ubuntu – How to set up Google Chrome as default browser in Xubuntu

12.04google-chromexfcexubuntu

I use Xubuntu 12.04. I uninstalled Firefox and now use Google Chrome version 19.xxx.

To solve this problem, I tried:

  • galternatives

  • the "default apps" under settings and

  • sudo update-alternatives --config x-www-browser

Neither of these worked. Does anybody have an alternative solution for this?

–> Solution: I used the "sudo gedit /usr/share/applications/defaults.list" tip from 天使の and searched for firefox in the whole document! Everytime I found "firefox" I replaced it with "google-chrome.desktop". I also used the "default apps" menu to change it to google-chrome. And now it works.. I hope it helps some other 😉

Best Answer

SOLVED:

Listen, the easy way to do this is open xfce4-settings-manager as root either with

sudo bash
xfce4-settings-manager

or

gksu xfce4-settings-manager

then select preferred apps, and under browsers select other then paste:

/usr/bin/X11/chromium-browser

close it and you are good for all users, forever. :D