I think the default location of config file should be changed from ~/.jupyter to ~/.config/jupyter.
Jupyter can search in the old location for backwards compatibility.
I think the default location of config file should be changed from ~/.jupyter to ~/.config/jupyter.
Jupyter can search in the old location for backwards compatibility.
In jupyter_core 5.0, this can be delegated to platformdirs, and in jupyter_core 6.0 this will be the default behavior. So the default will follow the XDG Base Directory Specification instead of yet another made-up-something-something location. However, a number of tools don’t use jupyter_core to find their files, so there will be a period where some breakage might be expected.
Thanks!!!
Indeed exporting JUPYTER_PLATFORM_DIRS to 1 make jupyter notebook --generate-config generates the config file in ~/.config/jupyter!