[Python-modules-team] Bug#946543: Bug#946543: Bug#946543: Add the ability to open a Jupyter notebook (.ipynb file) directly from file manager
Yaroslav Halchenko
debian at onerussian.com
Fri Dec 13 21:14:42 GMT 2019
On Fri, 13 Dec 2019, Emmanuel Arias wrote:
> Hi,
> If I understand you correctly, you should contact to jupyter
> (upstream) maintainers.
> Here is just for jupyter debian packaging
FWIW
I think it might actually be more appropriate for debian package
(although adopted upstream as well), to provide .desktop file which
would define that. See
https://askubuntu.com/questions/162612/how-can-i-add-an-application-to-the-list-of-open-with-applications
the problem would be that mimetype of .ipynb is not specific enough
$> file --mime /usr/share/doc/python-statsmodels/examples/notebooks/ols.ipynb
/usr/share/doc/python-statsmodels/examples/notebooks/ols.ipynb: text/plain; charset=us-ascii
$> file --mime --extension /usr/share/doc/python-statsmodels/examples/notebooks/ols.ipynb
/usr/share/doc/python-statsmodels/examples/notebooks/ols.ipynb: application/octet-stream; charset=us-ascii
and I didn't research if .desktop could also limit by extension...
and found
https://github.com/jupyter/notebook/issues/1922
--
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20191213/320aa710/attachment-0001.sig>
More information about the Python-modules-team
mailing list