I’m new to JupyterLab. I want to change the default location notebooks are saved from ~/ (i.e. my home directory) to a mounted network location with the path /workspaces/Jupyter/ (or alternatively, another local directory I create outside of my home). I do not want all these .ipynb files cluttering up my home directory.
I looked at a number of answers, but as far as I can tell, none of them address my question because they are either specific to Windows or they focus on an older version of Jupyter. Also, because I am new to JupyterLab, I don’t want to screw things up by trying something that I’m not sure is correct. So I’m looking for the correct answer for changing the default working directory in JupyterLab on Linux.
These are the config files I currently have:
~/.jupyter/ ├── lab │ ├── user-settings │ │ └── @jupyterlab │ │ ├── console-extension │ │ │ └── tracker.jupyterlab-settings │ │ ├── fileeditor-extension │ │ │ └── plugin.jupyterlab-settings │ │ └── notebook-extension │ │ └── tracker.jupyterlab-settings │ └── workspaces │ └── default-37a8.jupyterlab-workspace ├── migrated └── nbconfig └── notebook.json 8 directories, 6 files
None of them contain the config keys I saw mentioned in the reference pages I checked.
$ grep -irP '(root_dir|notebook_dir)' ~/.jupyter/ $ echo $? 1
(EDIT: I am only allowed 2 links, but I checked many more)