2009/4/3 Alasdair <[email protected]>:
>
> Thanks - in which file in the sage tree is this variable set?
>
> -Alasdair
In misc/viewer.py
sage: search_src('SAGE_BROWSER')
misc/viewer.py: if os.environ.has_key('SAGE_BROWSER'):
misc/viewer.py: BROWSER = os.environ['SAGE_BROWSER']
server/notebook/notebook_object.py:
SAGE_BROWSER environment variable, e.g., by putting
server/notebook/notebook_object.py: export
SAGE_BROWSER="firefox"
>
> On Apr 4, 2:00 pm, William Stein <[email protected]> wrote:
>> On Fri, Apr 3, 2009 at 7:43 PM, Alasdair <[email protected]> wrote:
>>
>> > If I run a plot command from the linux console, the plot is created,
>> > and displayed as an image in gqview (on my system). Where does Sage
>> > look for the application to display its plots? I'd like to change
>> > this, if possible, from gqview to ImageMagick's display.
>>
>> Set the environment variable SAGE_BROWSER.
>>
>> William
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---