New version of xdg-user-dirs
Alexander Larsson
alexl at redhat.com
Fri Feb 23 09:40:00 PST 2007
On Fri, 2007-02-23 at 11:47 -0500, William Jon McCann wrote:
> Hi Alex,
>
> On 2/23/07, Alexander Larsson <alexl at redhat.com> wrote:
> > On Fri, 2007-02-23 at 12:31 +0100, Alexander Larsson wrote:
> > > On Fri, 2007-02-23 at 12:06 +0100, Alexander Larsson wrote:
> > > > I just uploaded version 0.0.2 to:
> > > > http://www.gnome.org/~alexl/xdg-user-dirs-0.0.2.tar.gz
> > >
> > > Another release:
> > > http://www.gnome.org/~alexl/xdg-user-dirs-0.0.3.tar.gz
> >
> > Yet another release at:
> > http://www.gnome.org/~alexl/xdg-user-dirs-0.0.4.tar.gz
> >
> > NEWS:
> > * Added Projects/projects to list of translated keys
> > * Also support non-homedir-relative directories in user-dirs.dir.
> > This isn't recommended (as it can cause problems with e.g. shared
> > homedirs on multiple machines), but can be useful at times.
> > (Idea from an off-list comment)
>
> First, thanks for working on this!
>
> It might be nice to have the ~/.config/user-dirs.dirs variables in the
> environment by default. That way they could be used in similar ways
> to how the other XDG path variables are used. Also they could be used
> to form (and store in gconf or .desktop files) command line strings.
> Would it be possible to set them in /etc/profiles.d or equivalent? I
> guess this doesn't work well if you expect that xdg-user-dirs-update
> 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.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a world-famous guerilla shaman on a search for his missing sister. She's
a foxy antique-collecting opera singer with only herself to blame. They fight
crime!
More information about the xdg
mailing list