[IPython-dev] How do I change kernel in Jupyter Notebook w/o working directory changes

Ruslan Korniichuk paad.ruslan.korniichuk at gmail.com
Sat Apr 25 12:28:38 EDT 2015

Hi all,

All history of this subject is available HERE:


Thanks to Thomas Kluyver. Now I can run in one Jupyter Notebook local and
remote kernels. But I can not fix one interesting moment with working

For example,

*pc-frontend: test at local_host*


*pc-backend: paad at remote_host.*

Username on a local machine is NOT the same as username on a remote
machine. *When I start Jupyter Notebook on a local machine with a local
kernel, my working directory is **“/home/test” (!pwd). Next I change kernel
 in Jupyter Notebook from local to remote and check (!pwd) my working
directory. My working directory is “/home/paad”**.* My Notebook is on a
local machine.

I read this articles:



and tried change “c.NotebookApp.notebook_dir” in ipython_notebook_config.py.
But this option does not available for kernel.

*When the working directory changes? What process is responsible for this?
Maybe somebody know how fix it and switch off working directory changes?*


Best regards,

Ruslan Korniichuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150425/8f6916ec/attachment.html>

More information about the IPython-dev mailing list