Bug 1275800

Summary: ipython notebook needs a desktop file
Product: [Fedora] Fedora Reporter: Christian Fredrik Kalager Schaller <cschalle>
Component: python-notebookAssignee: Karolina Surma <ksurma>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: mhroncok, michel, mrunge, orion, pviktori, python-sig, shahms, tomspur, zbyszek
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-notebook-6.3.0-1.fc35 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-26 11:13:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1941573    
Bug Blocks:    
Attachments:
Description Flags
example desktop file none

Description Christian Fredrik Kalager Schaller 2015-10-27 18:52:29 UTC
Created attachment 1086981 [details]
example desktop file

The ipython notebook IDE/shell should ship with a desktop file so that it becomes easily installable, discoverable and launchable from the desktop session.

What the package needs is:

a) .desktop file
b) application icon
c) appstream data file (http://www.freedesktop.org/software/appstream/docs/)



I added a .desktop file I made that works for me. That said it does leave a ipython process each time you run it, so I don't know if the package has some kind of automatic close on idle functionality that can be added.

Comment 1 Fedora End Of Life 2016-11-24 12:56:34 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Zbigniew Jędrzejewski-Szmek 2016-11-25 14:44:32 UTC
This applies also to python3-ipython-gui, it should have a graphical entry of some kind too.

Comment 3 Thomas Spura 2016-11-25 14:57:20 UTC
Upstreamed at:
https://github.com/jupyter/notebook/issues/1922

Comment 4 Miro Hrončok 2017-04-04 13:09:58 UTC
The never happening shutdown is a blocker for this. Maybe if we start the app with Terminal=true and let the user end it form there? But that's not so user friendly.

Comment 5 Miro Hrončok 2017-04-04 13:11:01 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> This applies also to python3-ipython-gui, it should have a graphical entry
> of some kind too.

Fixed in http://pkgs.fedoraproject.org/cgit/rpms/python-qtconsole.git/tree/python-qtconsole.spec#n131

Comment 6 Petr Viktorin (pviktori) 2017-08-07 11:15:41 UTC
Can we close this then?

Comment 7 Miro Hrončok 2017-10-31 15:41:49 UTC
(In reply to Petr Viktorin from comment #6)
> Can we close this then?

Nope, this is not fixed for python-notebook.

I guess I'll start with the terminal=True option and we can improve later.
Also, packaging https://github.com/takluyver/nbopen might be a good idea.

Comment 8 Petr Viktorin (pviktori) 2019-01-07 13:11:10 UTC
Setting this to low priority.

It would be great if someone else would get to this earlier than we can. If that's your case, please assign the bug to yourself (and adjust priority accordingly).

Comment 9 Miro Hrončok 2021-03-12 21:19:16 UTC
Side note: htop is a console app and it has a desktop file. You can check /usr/share/applications/htop.desktop from the htop package as an example.

Jupyter Notebook is not a console app per se, but the solution in comment #7:

> I guess I'll start with the terminal=True option and we can improve later.

is to treat it as such.

Comment 10 Karolina Surma 2021-03-17 09:40:59 UTC
Ready for review
https://src.fedoraproject.org/rpms/python-notebook/pull-request/24

Comment 11 Fedora Update System 2021-03-26 11:13:25 UTC
FEDORA-2021-f0a6d2d586 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.