[sage-support] Re: Plotting from linux console mode?
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 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 this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Plotting from linux console mode?
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, from gqview to ImageMagick's display. Set the environment variable SAGE_BROWSER. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Plotting from linux console mode?
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 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 --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Plotting from linux console mode?
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'] 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 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 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 sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Plotting from linux console mode?
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 this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---