Ask Your Question

Launch Sage Notebook directly from linux menu

asked 2017-04-13 22:10:03 +0200

cybervigilante gravatar image

How can I set up a menu icon to launch Sage notebook automatically from linux mint? Now I have to open a terminal, type sage, then when it loads, type notebook()

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-04-14 03:51:31 +0200

tmonteil gravatar image

You can find various desktop menus at

edit flag offensive delete link more

answered 2017-04-14 04:57:19 +0200

roberto gravatar image

I found the solutions above way too slow. I have all my sagemath notebooks on a sagemathNB folder in Documents. In my ~/bin I created a script called sage_nb

cd ~/Documents/sagemathNB
$SAGE ROOT/sage -n jupyter

Remember to chmod +x sage_nb Then I create a SageMath.desktop file in my desktop

[Desktop Entry]
Name=Jupyter notebook with Sage
Name[en]=Jupyter notebook with Sage
Comment=Scientific Computing using Jupyter notebook and Sage
Comment[en]=Scientific Computing using Jupyter notebook and Sage
Icon=$SAGE ROOT/src/ext/notebook-ipython/logo.svg

Finally you can copy to sudo cp SageMath.desktop /usr/share/applications/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-04-13 22:10:03 +0200

Seen: 1,496 times

Last updated: Apr 14 '17