Supporting Base Dir Spec
Brian J. Tarricone
bjt23 at cornell.edu
Wed Sep 8 21:08:30 CEST 2004
On 09/08/04 19:55, Jasper Huijsmans wrote:
> Brian J. Tarricone wrote:
> >On 09/08/04 17:40, Jasper Huijsmans wrote:
> >>Brian J. Tarricone wrote:
> >>>i'm all for this, but i thought it was decided that we were going to
> >>>wait until 4.3, mainly because of issues with migrating old user data.
> >>Ah, right. I can't remember. If that's the case, some modules must be
> >>changed to use the old locations, I think.
> >yeah, xfce4-session is using ~/.config and ~/.cache, and xfdesktop is using
> >~/.cache for the menu cache. pretty trivial to change xfdesktop, dunno
> >the session manager (/me pokes benny).
> ~/.cache is fine IMO, weve never had cache data before. Configuration
> and data are more important from a user's point of view.
the problem that i see (which is still a problem if we use the basedir spec)
with using ~/.cache/ now is that people don't really know about it. if we
do the full change, and make it public (put in docs and FAQs and whatnot),
then it's not so bad, but if we have a couple things using it, people won't
know where the files are. under normal circumstances, this is fine, but,
for example, there still may be instances where a manual refresh of the
desktop menu cache might be needed (these are bugs, if they exist, but i'm
not at the point where i think the menu cache is bug-free). current users
will think that the cache is stored somewhere in ~/.xfce4, and won't know
where to look without breaking out the source. personally, i don't mind
documenting it, but what i _do_ mind is the inevitable torrent of people
too lazy to do a google or mailing list search before asking about it. with
that in mind, i'm leaning toward changing the cache location. thoughts?
More information about the Xfce4-dev