[sage-support] Re: Plotting from linux console mode?

2009-04-04 Thread Alasdair
It turned out not to be a Sage issue at all, but a file association issue. My desktop (xfce) associated images with gqview; I changed the association to ImageMagick's display, and got what I wanted. -Alasdair On Apr 4, 4:26 pm, William Stein wst...@gmail.com wrote: 2009/4/3 Alasdair

[sage-support] Re: Plotting from linux console mode?

2009-04-03 Thread William Stein
On Fri, Apr 3, 2009 at 7:43 PM, Alasdair amc...@gmail.com 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,

[sage-support] Re: Plotting from linux console mode?

2009-04-03 Thread Alasdair
Thanks - in which file in the sage tree is this variable set? -Alasdair On Apr 4, 2:00 pm, William Stein wst...@gmail.com wrote: On Fri, Apr 3, 2009 at 7:43 PM, Alasdair amc...@gmail.com wrote: If I run a plot command from the linux console, the plot is created, and displayed as an image

[sage-support] Re: Plotting from linux console mode?

2009-04-03 Thread William Stein
2009/4/3 Alasdair amc...@gmail.com: 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']

[sage-support] Re: Plotting from linux console mode?

2009-04-03 Thread William Stein
2009/4/3 Alasdair amc...@gmail.com: Thanks - in which file in the sage tree is this variable set? You might have been asking how to set it yourself. In linux (well, bash) do e.g., export SAGE_BROWSER=firefox -- William --~--~-~--~~~---~--~~ To post to