Kubuntu has no integration of XDG directories in file manager.

Yuriy Kozlov yuriy-kozlov at kubuntu.org
Tue Mar 23 15:13:50 GMT 2010


On Mon, Mar 22, 2010 at 11:28 PM, Pan Shi Zhu <pan.shizhu at gmail.com> wrote:
> Kubuntu will be default create several xdg directories in $HOME, the
> details are in ~/.config/user-dirs.dirs
>
> name of directory depends on locale.
>
> $ cat .config/user-dirs.dirs
> # This file is written by xdg-user-dirs-update
> # If you want to change or add directories, just edit the line you're
> # interested in. All local changes will be retained on the next run
> # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
> # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
> # absolute path. No other format is supported.
> #
> XDG_DESKTOP_DIR="$HOME/desktop"
> XDG_DOWNLOAD_DIR="$HOME/share"
> XDG_TEMPLATES_DIR="$HOME/temp"
> XDG_PUBLICSHARE_DIR="$HOME/pub"
> XDG_DOCUMENTS_DIR="$HOME/doc"
> XDG_MUSIC_DIR="$HOME/music"
> XDG_PICTURES_DIR="$HOME/pic"
> XDG_VIDEOS_DIR="$HOME/video"
>
>
> This is just a sample, an ubuntu installation create these directories
> by default, so we should make use of it.
>
> Ubuntu create shortcuts for those directories in file manager, Like
> ubuntu, we could create shortcuts in Dolphin and give them correct
> icons.
>
> Or, if we really do not want that, we should remove those directories.
>
> Any idea?
>

First of all, this is for Lucid+1.  If you want to help organize the
idea, please start writing up a spec on the wiki, but now is the time
to concentrate on Lucid.

I've thought for a while doing something with these directories would
be nice.  I don't think adding shortcuts to the places panel in
dolphin is the way to go though, that's rather redundant.

The directories can be used by default though.  For example, Amarok
should look for the music collection in Music (I think maybe it
already does this).  Digikam should default to a photo collection in
Pictures instead of using a first run wizard.

The directories should also have appropriate icons which already exist
in Oxygen.  This would just involve shipping a .directory file right?

~ Yuriy



More information about the kubuntu-devel mailing list