[IPython-dev] open IPython notebooks from file browser (Linux)
Vasco
vasco+python at tenner.nl
Wed Dec 3 06:37:48 EST 2014
Hi,
I wrote a little helper script to open ipynb files directly from my
filebrowser (caja in my case). It assumes that there is already a
notebookserver running, that can access the ipynb files.
It contains a .desktop file that calls a bash script. This script
removes the "ipython notebook server root directory" from the file name,
and opens a browser with the url pointing to the notebook.
Installation:
copy the desktop file to ~/.local/share/applications
copy the sh file to ~/bin/ and chmod +x
I realize this is a very crude approach, but it works for me.
Vasco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipython-notebook_here.sh
Type: application/x-shellscript
Size: 414 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141203/97acacf8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipython-notebook_here.desktop
Type: application/x-desktop
Size: 268 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141203/97acacf8/attachment-0001.bin>
More information about the IPython-dev
mailing list