Using xdg-user-dirs for the gutsy desktop
hgibson at sun.ac.za
Tue Jun 19 09:53:00 BST 2007
On Monday 18 June 2007 19:16:33 Brian Murray wrote:
> On Mon, Jun 18, 2007 at 02:52:14PM +0200, Sebastien Bacher wrote:
> > 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?
> Most of the directory names are pluralized but the "DOWNLOAD" directory
> is not. I would prefer that it was the same as the rest and became
Does MUSIC become SONGS ?
And what about music videos ?
Perhaps MUSIC, PICTURES and VIDEOS should simply be put in MEDIA ?
It would make all the translations a lot simpler.
Ubuntu System Administrator
Departement Elektriese en Elektroniese Ingenieurswese
Department of Electrical and Electronic Engineering
Universiteit Stellenbosch / Stellenbosch University
Privaat Sak/Private Bag X1 Matieland 7602
Tel: +27 21 808 4989 | Cell: 084 646 4758
E-pos/E-mail: hgibson at sun.ac.za
Maties Ubuntu: http://www.ubuntu.sun.ac.za
More information about the ubuntu-desktop