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

Greg Couch gregc at cgl.ucsf.edu
Wed Mar 6 11:18:20 PST 2013


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 at cgl.ucsf.edu
To: 	Yasha Karant <ykarant at 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20130306/cfa4176b/attachment.html>


More information about the Chimera-users mailing list