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        

Attachment: signature.asc
Description: PGP signature

Reply via email to