New version of xdg-user-dirs
William Jon McCann
mccann at jhu.edu
Fri Feb 23 08:47:50 PST 2007
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:
> * 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?
More information about the xdg