Topic: How to: Make xchat open links in iceweasel (or any other browser)

The newest image at this time of writing (CrunchBang 10 "Statler" r20110207) has chromium-browser set as the default browser. Even after you install iceweasel and run

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

xchat still opens links in chromium-browser. I suspect that xchat uses xdg-open to decide which browser to use, and there are several keys that need to be changed in the xdg database in order to make sure all URLs will be opened in that browser. That's why I didn't bother! Just open xchat, go to settings-->advanced-->URL handlers...add a new entry called "Iceweasel" (or whatever you prefer) and in the command blank put

exec /usr/bin/iceweasel %s

Last edited by mynis01 (2011-02-20 04:10:31)

Re: How to: Make xchat open links in iceweasel (or any other browser)

Actually run the following command in terminal: exo-preferred-applications

Select other from list (not chromium) and type /usr/bin/iceweasel "%s"

Click closed && fixed! wink You may now open Web-Pages from xChat with iceweasel as the default browser.

N.B: You can also set your default mail client from there too!

Last edited by db_crunch (2011-04-17 19:08:14)

~My mind works like lightning. One brilliant flash and it's gone.

Re: How to: Make xchat open links in iceweasel (or any other browser)

i use Opera and set it as default browser in xfce settings.  xchat opens up Opera for links from xchat with no probs.  I did remove chromium after installing Opera.