Hello,
The subject might not be clear, I might have missed something.
In order to be able to start a jupyter notebook server from Nautilus for example, the best I can do is to start 'jupyter notebook' from the current folder then load the wanted notebook from the web browser. Then closing the tab or even the browser will not terminate jupyter server since I forked the server from Nautilus.
I didn't find if it is possible to directly start jupyter-notebook on one notebook and automatically shut down the server when the tab or the browser is closed.
This would allow to quickly edit or see notebooks from file browser without starting from the shell a server and killing it when done just by doing "right click"->"open with"->"jupyetr-notebook".
Best regards,
Alexis.