Skip to content

Possibility to launch notebook via .desktop file #1922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tomspur opened this issue Nov 25, 2016 · 6 comments
Closed

Possibility to launch notebook via .desktop file #1922

tomspur opened this issue Nov 25, 2016 · 6 comments

Comments

@tomspur
Copy link
Contributor

tomspur commented Nov 25, 2016

There is a current feature request at Fedora (see bugzilla bug, were a .desktop file is proposed to start the notebook:

[Desktop Entry]
Name=Jupyter
Exec=sh -c "ipython notebook"
Terminal=false
Type=Application
Icon=jupyter-sq.png
Categories=GNOME;GTK;
StartupNotify=true

Do you think this is a good idea and would you like to support this also when installing this package?

@minrk
Copy link
Member

minrk commented Nov 25, 2016

Do you mean the Fedora package, or the Python package? I think it would be great for this to be part of the fedora/debian package (note: it should be jupyter notebook not ipython notebook).

@takluyver
Copy link
Member

For reference, I have a .desktop file in nbopen, which is principally to support opening .ipynb files from a GUI file explorer (so it doesn't actually show up in the menu):

https://github.com/takluyver/nbopen/blob/master/nbopen/nbopen.desktop

@tomspur
Copy link
Contributor Author

tomspur commented Nov 25, 2016

I mean the Python package. I would prefer using a desktop file with an proposed and supported startup method by you. Maybe something like the nbopen.desktop file would work in this case too.
(yes, that bug and the Fedora ipython package is a bit older, it will be jupyter and not ipython at the end :))

@minrk
Copy link
Member

minrk commented Nov 28, 2016

Adding jupyter notebook %f would be good for launching a notebook server in a given directory. It would be even better if it did what nbopen does, and launches IFF one doesn't already exist, and opens if not.

@Amr-Ibra
Copy link
Contributor

Amr-Ibra commented Aug 3, 2021

This issue is now closed by #6010 and #6099.

@kevin-bates
Copy link
Member

Good point - thank you @Amr-Ibra!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants