A little more insight into this follows as I use Chrome and have the
same issue.

Upon reading this, I started poking around the webbrowser module and it
appears that if the GNOME_DESKTOP_SESSION_ID environment variable is
set, the `gnome-open' command is set as the default "browser" command.
I confirmed this with the following:

---------------------------------------------------
$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbrowser
>>> webbrowser.get().name
'gnome-open'
>>> 
---------------------------------------------------

Sure enough, if you run on the command-line:

---------------------------------------------------
$ gnome-open 'http://google.com'
---------------------------------------------------

That will try to open firefox, which is apparently the default "gnome"
browser (I don't know much about `gnome-open' and where it's getting
firefox from).

As I was going through the source for the webbrowser module, I did find
that you can set a "BROWSER" environment variable to the path to your
browser and it will use that instead.

Hope this helps.

Jay

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/760143

Title:
  clicking a link from gwibber launches  firefox instead of the default
  browser

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to