New version of xdg-user-dirs

William Jon McCann mccann at jhu.edu
Fri Feb 23 09:49:26 PST 2007


On 2/23/07, Alexander Larsson <alexl at redhat.com> wrote:
> On Fri, 2007-02-23 at 11:47 -0500, William Jon McCann wrote:
> > will be used after login but is that expected?  If it is expected then
> > xdg-user-dir-lookup suffers the same problem in a lesser form unless
> > the files are monitored for changes, right?
>
> Yes, i expect them to be able to change after login. "Make this my
> default directory for pictures" kind of thing.
>
> xdg-user-dir-lookup is ok, because it doesn't do any form of caching.
> But a less naive version would need monitoring or mtime checking.

Ok, just trying to clarify.  In practice, the caching would be done by
the application.  So the application would need to respond to some
kind of "user-directory-location-changed" signal from somewhere,
right?

Jon



More information about the xdg mailing list