Mandriva

Return to the main archive index.

Custom Search

Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


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


Hi everybody,

as you are all changelog lurkers, you probably already know it but
whatever :)

I've finished integrating XDG user directories in cooker. For most
people, it won't be a new feature, since it is somehow the "default
directories" feature we did in August 2005 (with flamewar included, I
remember Fabrice :) but more correctly this time (kudos to Alexander
Larsson from Redhat who took time to write a reference implementation
and tried to fix all issues we discovered since we did the initial
feature). It is always nice to see our ideas weren't that bad after all,
even if our implementation wasn't the one merged upstream (but frankly,
I never had time to try to clean it for upstream proposal).

There is no real "written" specification, except the code (MIT licensed
for easier copy/paste) available at
http://freedesktop.org/wiki/Software/xdg-user-dirs

So, stuff in ~/.mdk-folders is now deprecated (you shouldn't use the
symlinks which are there anymore). 

xdg-user-dirs will take care of creating the directories on first
graphical login (and if mdk-folders were present, it will use those as
"XDG" user directories) and create the config file accordingly
(~/.config/user-dirs.dirs and ~/.config/user-dirs.locale). This package
is pulled by desktop-common-data now.

xdg-user-dirs-gtk will take care of creating ~/.gtk-bookmarks (and
removing the .desktop bookmarks there which were an ugly hack I'm not
proud of) and will ask user who changes locale if they want their
default directories to be change to the new translated name of not.
I'm still not sure which package should pull xdg-user-dirs-gtk. This
package is useful for all environments (even KDE). Suggestions are
welcome.

I'll remove the .desktop in ~/.gtk-bookmarks patch I did for libgnomeui
and nautilus shortly.

KDE will soon be adapted to handle those XDG user directories (stay
tuned for more on this from either our KDE hackers).

There will be a visual regression compared to our previous
implementation : we were using icons for those folders in file selectors
but since this part hasn't been specified at all and since I want to
drop all the ugly hacks I did in the past, we will have to live without
them. I'll try to discuss with Alex to see if we can try to come with a
nice upstream solution in the near future (but not for 2008.0).

GNOME 2.19 is already using this feature by default, since glib 2.12.0
is shipping with integrated support for XDG user directories.

The most important change is probably that ~/Desktop will now be
translated for NEW accounts (not of accounts with ~/Desktop already
existing). I'm hoping we won't see too much regressions but if there are
too much, we can always create a symlink to ~/Desktop.

-- 
Frederic Crozat <fcrozat@mandriva.com>
Mandriva



Date Index | Thread Index

Looking for a job?



Advertisement (via La Vignette)