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 ;-)
SOLVED:
Listen, the easy way to do this is open xfce4-settings-manager as root either with
or
then select preferred apps, and under browsers select other then paste:
close it and you are good for all users, forever. :D
Maybe use this way
try to find
x-www-browser
and set its value to your google-chrome.desktop locationEDIT
if you won't find
x-www-browser
, then try to search forIn "settings manager", chose "preferred applications". The path to the chromium executable is
/usr/bin/X11/chromium-browser
. Had the same problem as you, and this solved it.If you meant the 'Web Browser' shortcut at the bottom screen dock, when you click it, it will ask you to choose the browser you want to use and in the list, there is no chrome right?
Just choose "Other..." (it's on the bottom of the drop-down menu) and enter 'google-chrome' and press ok.
It will now open chrome when you click it later on.
Happy Xubuntuing! ;)
First I tried replacing
firefox
withchromium-browser
everywhere in this document:It didn't work. Still Firefox would open my documents rather than Chromium.
Then I did this alternative:
Got three alternatives:
I selected
0
. Now it works!Instructions for setting up SRWare (Iron Browser) as your default in Linux Mint 14:
sudo apt-get install chromium
( or use synaptic ) then..sudo apt-get install galternatives
then.....You will now see choices and you should now see chromium (was option 0 for me.. choose and hit enter)
Example:
Now go into "preferred applications" and you'll see chromium, change that to Chromium.
Now selecting links in IRC, ect., it will open up Iron Browser and not the default Firefox, and wont open in Chromium as long as you have Iron already opened up!
Oh happy days are here again!! \o/
(if you do not install chromium before doing any of this, you will see no other options in x-www-browser, config editor or preferred applications)
Hope this helps all the complaints I see all over the place on Iron not setting as default in Mint! :)
Xubuntu 14.04 LTS
Making Chrome as the default browser for XFCE.
I'm running 11.04 with Chrome 18 and I was able to change the default browser inside Chrome's Settings via the wrench menu.
At the very bottom of the main Settings page is a button for default browser. I had an external application open. The first time Firefox started. After the change, a new Chrome tab opened upon clicking a link in the external application, without restarting any of the applications.
You didn't say whether you have tried this, so we don't know whether this is an issue with 12.04.
Edit: It may be that Chrome's settings don't have the desired effect in Xubuntu, as they do in stock Ubuntu. More info might help us find an answer.
This is still broken in 13.04. I installed Chrome, and now every time I click on a link in another application, it asks what browser I want to make the default (I click chromium-browser); and every time I start Chrome manually, it asks if I want to make it the default browser (yes).
Why is this setting not sticking? Has someone in Ubuntu dev got it in for Chrome?
This has been an issue since 12.04 and is still not fixed. Fixing it via the command line or config edit is fine for experts and sysadmins, but so far I have had to explain it away to all my users by saying that someone fouled up the code and you have to do this by hand and one day perhaps they'll get it fixed.
It really looks bad when this kind of thing never gets fixed.