2010-01-27

X.Org and default browser mess

I'm using Ubuntu 9.10 at home. As some may notice, Firefox-3.6 has been released about a week or so ago. Had to remove Firefox-3.5 and add ubuntuzilla repository which makes latest official builds from Mozilla available in Ubuntu. Everything went fine and now I'm writing this post from Firefox-3.6. The only thing which was not working properly is opening links in a browser from Psi instant-messenger. It started to open links in w3m instead of FF. While Pidgin was still using Firefox for URLs as expected.
So here is the path the URL travels to the browser from Psi in case you don't use Gnome or KDE or XFCE:
Psi tries xdg-open, it is a shell script, it determines the flavor of your desktop environment, if none of KDE, Gnome and XFCE are found then it launches /usr/bin/sensible-browser which is another shell script which will finally open the url with one of gnome-www-browser or x-www-browser or gnome-terminal & www-browser, or if you don't have a DISPLAY environment variable, just www-browser assuming you are in a bare console. Of course all these *www-browser files are supposed to be symbolic links to real browsers.

It all looks damn ugly. BTW, nice to see FF has learned to open tabs right after current one and not at the very end of the list :)

No comments:

Post a Comment