[PATCH 1/1] Use ~/.subsurface as default directory on Linux

Gaetan Bisson bisson at archlinux.org
Sun Oct 11 15:35:37 PDT 2015


[2015-10-12 00:20:14 +0300] Lubomir I. Ivanov:
> i would say -1 for $XDG_DATA_HOME as that doesn't seem to be
> established very well, yet.
> but $HOME/.local/share/subsurface is less intrusive than ~/.subsurface
> IMHO, so +1 to that.

As far as I understand the XDG specs:
- the cloud storage cache should go under ~/.cache/Subsurface/
- the configuration file should go under ~/.config/Subsurface/
- some other things should go under ~/.local/share/Subsurface/

To me, that really scatters user data over many directories for
little-to-no benefit. Instead, I'd like an app called Subsurface to
simply write its user data under ~/.subsurface/: that's a unique
directory for me to symlink, backup, or rename, for instance in case
there's an issue I want to debug with a fresh profile.

But that's just my two cents.

-- 
Gaetan


More information about the subsurface mailing list