Re: Changing GNOME "default" directories

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

 



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
available.

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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux