from http://bugs.musicbrainz.org/ticket/5299
When clicking lookup, MusicBrainz.org launches in Firefox. My default browser as set in Preferred Applications is Opera.
I built it from bzr source, r944.
Running XFCE (Xubuntu 9.04).
One of the comments says
Is the correct way of opening a browser for Linux - irrespective of desktop - not:
xdg-open http://whatever
As this links the correct handler for gnome / kde / xfce and any XDG compliant desktop.
Here's where I came across it:
I was able to get good response on my system by editing:
/usr/lib/python2.6/site-packages/picard/util/webbrowser2.py
and changing the whole Linux if structure to (as I am on python 2.6):
webbrowser.register('xdg-open', None, webbrowser.BackgroundBrowser(["xdg-open", "%s"]), update_tryorder=-1)