Ask Your Question

Revision history [back]

Could you try the following from Sage

sage:  from sage.misc.viewer import viewer
sage: viewer.png_viewer()
'xdg-open'

If your answer is different from 'xdg-open' above you should adapt the steps below.

  1. Make sure that xdg-utils is installed on your computer. You can do it via

    $ sudo apt-get install xdg-utils

  2. Try to open a png file with xdg-open, namely

    $ xdg-open my_picture.png

    where my_picture.png should be replaced by a picture you have on your computer

If the steps 1 and 2 above works but picture still do not show up from Sage, there is something fishy.