[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Changing GNOME "default" directories

On Tue, Jan 05, 2010 at 06:32:44PM +1030, Tim wrote:
> On Sun, 2010-01-03 at 22:19 +0100, Alessandro Boggiano wrote:
> > I'd like to change the destination of the default GNOME directories :
> > the directories like "Videos","Music"," Documents".. ( I'm using GNOME
> > in Italian, so
> > the original name, maybe, are a little different).
> > Usually their definition is in the file ~/.config/user-dirs.dirs, and
> > the file is there!
> > Here a couple of lines:
> > [snip]
> > XDG_DESKTOP_DIR="$HOME/Scrivania"
> > XDG_MUSIC_DIR="$HOME/Musica"
> > [snip]
> > 
> > But if I change the values, for example:
> > XDG_MUSIC_DIR="/Dati/Mp3"
> > 
> > The change is not detected, even after a logout.
> There's supposed to be some function (or was in earlier Fedora releases)
> that'd periodically update your user directories.  Though I don't know
> how, and how often, it actually did its trick.  I've never seen it do
> its trick.

It's xdg-user-dirs-update, and it does work.  Just tested it here on a
fresh account.

> I suspect the changes you made will only mean something to programs
> looking for the default "video" folder (and other special folders), your
> user dirs file will tell them which of your directories are the special
> ones.  Creating the directories they refer to would have to be done as
> another process (the real *first* logon, perhaps).

Right.  Any application these days worth its salt should be consulting
the xdg (freedesktop.org) settings to get this information when

I didn't have a lot of time to play with xdg-user-dirs-update, but it
appears that even though you can use the program to set values, you
still need to create special directories before first login if they're
different from the system defaults.

Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]