Using xdg-user-dirs for the gutsy desktop

Sebastien Bacher seb128 at ubuntu.com
Mon Jun 18 13:52:14 BST 2007


Hi,

The gutsy desktop can use xdg-user-dirs and will start depending on it
soon, the tool description is:

"xdg-user-dirs is a tool to help manage "well known" user directories
 like the desktop folder and the music folder. It also handles
 localization (i.e. translation) of the filenames.
 .
 The way it works is that xdg-user-dirs-update is run very early in the
 login phase. This program reads a configuration file, and a set of
 default directories. It then creates localized versions of these
 directories in the users home directory and sets up a config file in
 $(XDG_CONFIG_HOME)/user-dirs.dirs (XDG_CONFIG_HOME defaults to
 ~/.config) that applications can read to find these directories."


The default set of directory is:

"DESKTOP=Desktop
DOWNLOAD=Download
TEMPLATES=Templates
PUBLICSHARE=Public
DOCUMENTS=Documents
MUSIC=Music
PICTURES=Pictures
VIDEOS=Videos"


The desktop applications make use of it to know what directory to use.

Does anyone has concern about the list of directory or does it look ok
to everybody?


Cheers,

Sebastien Bacher





More information about the ubuntu-desktop mailing list