You are not logged in.
Problem:
I installed google-chrome but somehow it would not set itself as the default browser (example: clicking a link in terminator opened firefox/iceweasel).
After a long search here on the forums I found the solution(s) to my problem:
I hope this works for others to..
Howto:
Find out where chrome is installed (in my case it is /usr/bin/google-chrome) but firefox seems to be in /opt/firefox/firefox
Check if chrome is known as your default browser.
Open a terminal:
sudo update-alternatives --config x-www-browserThis will show you this example:
Selection Path Priority Status
------------------------------------------------------------
* 0 /opt/firefox/firefox 70 auto mode
1 /opt/firefox/firefox 70 manual mode
2 /usr/bin/google-chrome 150 manual mode
Change it to default by pressing the right number. In this example you press 2
Note:
If Chrome doesnt show up then you can add it:
sudo update-alternatives --install /usr/bin/x-www-browser \x-www-browser /usr/bin/google-chrome 150Or as an alternative you could also use this option (http://crunchbanglinux.org/forums/post/54138/#p54138e):
sudo ln -s /etc/alternatives/x-www-browser /usr/bin/google-chromeNow check again if you see it in the list.
To be sure it went right you can type:
sudo update-alternatives --display x-www-browserIt will show this:
x-www-browser - auto mode
link currently points to /usr/bin/google-chrome
/opt/firefox/firefox - priority 70
/usr/bin/google-chrome - priority 150
Current 'best' version is '/usr/bin/google-chrome'.
Now we have this right and x-www-browser uses your chrome a default browser..
But if you where unlucky like me, Terminator still opens Firefox as browser..
Now we can fix that with changing this (found here: http://crunchbanglinux.org/forums/post/73904/#p73904):
Type:
sudo gedit .gconf/desktop/gnome/url-handlers/http/%gconf.xml
and
sudo gedit .gconf/desktop/gnome/url-handlers/https/%gconf.xmlIn my case both showed:
<stringvalue>/opt/firefox/firefox "%s"</stringvalue>
So I changed it too:
<stringvalue>/usr/bin/google-chrome "%s"</stringvalue>
Did a reboot and now when I click a link in terminator chrome opens the link.
Now i would not be surprised if there are more ways or still other issues you need to fix but this worked for me.
This is my first howto ever. Feel free to join in to explain better, to correct me or suggest other methodes 
Type and read you later
Pieter (XPieter on #crunchbang)
Using Crunchbang Statler beta v2
Last edited by Pieter (2010-08-16 10:51:42)
Using CrunchBang 10 “Statler” Alpha 2
Offline
awesome! I think I saw you working this out on IRC the other day. I was/am having the same problem. I'll check this when I get a chance, and post back the results.
Offline
Thanks a lot!
Offline
That was helpful, thank you!
Offline
Nice post! 
Open a terminal:
sudo update-alternatives --config x-www-browser
Even though I do prefer typing-in commands, it is worth noting that a terminal executing this command is fired up through cb-x-www-browser-pipemenu when clicking on OB Menu -> Network -> WWW Browsers -> Select default browser.
Last edited by VDP76 (2012-07-11 21:03:34)
We are a nice, friendly community here and I hope we stay that way.. 
Offline
Thanks for the How-To!
I was also prompted with the option to set Chrome as my default upon execution. (Version 25.0.1364.172)
I feel I missed out on the fun of the command line, but it does seem Google made this relatively simple.
I didn't even give iceweasle a chance
not quite sure
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.