jupyter_core icon indicating copy to clipboard operation
jupyter_core copied to clipboard

Add support for XDG_CONFIG_HOME

Open 0az opened this issue 4 years ago • 0 comments

Right now, I have a patch (wip) to implement XDG_CONFIG_HOME on an opt-in basis. That is, XDG_CONFIG_HOME is used if and only if .jupyter does not exist. This minimizes breakage by ensuring that the change only affects:

  1. New users with XDG_CONFIG_HOME set,
  2. Existing users with XDG_CONFIG_HOME set who explicitly migrate,
  3. Existing users with XDG_CONFIG_HOME set who delete their .jupyter directory for any other reason.

The solution to cases 1/3 is documentation, and I'm willing to update the docs in jupyter/jupyter, and any other locations.

The question is: should the Linux default get set to .config, when it isn't set? This is a more significant change in behavior, but it parallels the existing default of .local/share.

0az avatar Apr 03 '20 22:04 0az