[Bug 860088] Re: Use XDG user configuration settings location

Andrew Mitchell ajmitch at ubuntu.com
Thu May 10 16:50:28 UTC 2012


On Thu, May 10, 2012 at 07:54:06AM -0700, David Planella wrote:
> Al 07/05/12 08:51, En/na Michael Terry ha escrit:
> > 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)
> > 
> 
> Hi all,
> 
> I had a quick chat with Mike the other day regarding the above (bug 860088).
> 
> It all looks sensible to me and I'd be happy to modify the d.u.c page
> with the additional information, I simply wanted to ask the ARB for a
> final sanity check.
> 
> What do you think?
> 
> Cheers,
> David.


Yes, it is sane & apps should be using the standard XDG locations where
appropriate.

Andrew



More information about the App-review-board mailing list