I have reproduced the steps explained in:

http://www.sagemath.org/doc/html/inst/node11.html

to create a Sage icon on the desktop and open the notebook by clicking
on it.

So, I have created a  a file  named "notebook.sage" containing the
line:

===
notebook(open_viewer=True)
===

in my home directory.

In my Desktop subdirectory, created a file "SAGE-notebook.desktop"
containing the lines:

===
[Desktop Entry]
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec=/usr/local/bin/sage /home/jakubi/notebook.sage
GenericName=
GenericName[en_US]=
Icon=
MimeType=
Name=SAGE
Path=$HOME
StartupNotify=true
Terminal=true
TerminalOptions=
Type=Application
Version=1.0
X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
===

Here, /usr/local/bin/sage is a link to /usr/local/sage-3.0.2-debian32-
intelx86-i686-Linux/sage

Using Gnome, I have got then an icon on the desktop and clicking on it
a terminal window opens for a fraction of a second and then closes.
This behavior is reproducible and occurs also using KDE.

I have observed that a script file of name "notebook.py" was generated
in my home directory, with contents:

===
# This file was *autogenerated* from the file /home/jakubi/
notebook.sage.
from sage.all_cmdline import *   # import sage library
notebook(open viewer=True)
===

Details: This is the binary distribution of Sage 3.0.2 for Debian
running under Debian Etch.

What could be wrong?


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to