Re: [Chimera-users] How to fork/specify a web browser

Forgot to include list in reply. -------- Original Message -------- Subject: Re: [Chimera-users] How to fork/specify a web browser Date: Wed, 6 Mar 2013 09:23:11 -0800 From: gregc@cgl.ucsf.edu To: Yasha Karant <ykarant@csusb.edu>
For certain of the tutorials, help files, etc., Chimera linux displays a comment to use a web browser in order to use a URL file://foobar . How does one configure Chimera to automatically use a specified browser to diplay the URL generated by Chimera? I have not been able to find a preferences setting for this, nor an answer on the web or in the Chimera manuals/help. I have not perused the source code for Chimera to find a solution.
Yasha Karant
Chimera uses Python 2.7's webbrowser module to open files in a web browser. For Linux, if you are using a GNOME or KDE desktop environment, then it will use the default browser that is configured for that environment. Otherwise, it looks for firefox (and derivatives), kfm, konqueror, galeon, epiphany, skipstone, opera, mosaic, and grail(!). You can override the the search order with the BROWSER environment variable. You may have noticed that Google's chrome is not on that list. Chrome support is included in Python 3's webbrowser module. But, that support would only be needed if you are not using a GNOME or KDE desktop environment. I will look into how much work it would be to backport Python 3's webbrowser module to Chimera. HTH, Greg
participants (1)
-
Greg Couch