Comment 4 for bug 860088

Revision history for this message
Michael Terry (mterry) wrote :

Hello! I will update this bug's description because nowadays the website says ~/.config/<package-name>. But the job here isn't done, because we should also be recommending ~/.cache and ~/.local.

This is a pet peeve of mine. I have seen apps that put a lot of data cache files (mp3 files, images, etc) in ~/.config because of this recommendation. This has a direct effect on users. For example, the default backup program deja-dup will automatically ignore ~/.cache but does back up ~/.config by default -- so when apps store large cache data in ~/.config, it wastes users' time and space.

I would request the following text be added to the Technical Requirements section of http://developer.ubuntu.com/publish/my-apps-packages/ :

 * Write all cache files to ~/.cache/<package-name> (This can be one file or a directory containing multiple cache files)
 * Write all user data files to ~/.local/share/<package-name> (This can be one file or a directory containing multiple data files)

And optionally, maybe even link to the XDG spec for full gory details (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)