Comment 12 for bug 150906

Revision history for this message
Artem Popov (artfwo) wrote :

Hi! Of course, I have read all the comments for bug #122602. Sorry, If I am being unclear, but english is not my native language, and my comments may seem ambiguous.

I'll try to be more clear: Despite "Desktop" not being bookmarked in the latest xdg-user-dirs(-gtk) packages, another folder named "Desktop" (translated on disk to "Рабочий стол", "Bureau") is being created, which is very confusing, because:

In all revelant places (Places menu, GTK file choosers, etc.), users have TWO Desktop-shortcuts:

1. One points to the physical "Desktop" folder
2. The other points to the physical "Рабочий стол" folder (Desktop translation)

I beleive this happens due to unification of DESKTOP and DOWNLOAD dirs in 0.8-0ubuntu3. xdg-user-dirs-gtk creates a bookmark for DOWNLOAD, and DOWNLOAD points to DESKTOP in our package. But the folder created has translated name, ignoring the already-present special-cased "Desktop" folder. So, in recent daily livecds I always see 2 folders in my $HOME: "Desktop" and "Рабочий стол"

See?

Please take your time to look at the screenshots attached to this bug. They illustrate this all quite well.

I beleive there're two ways to fix this:

1. Remove translations for "Desktop" and "desktop" from all the .po-files for xdg-user-dirs, so that exactly one special-cased "Desktop" folder will remain.

2. Split DESKTOP and DOWNLOAD in /etc/xdg/user-dirs.defaults again, so the false Desktop folder will not at least be created by default.

I beleive GNOME does not yet respect xdg-user-dirs, and is hardly tied to the special-cased untranslated "Desktop" directory, so it might be useful to remove "desktop" and "Desktop" translation strings from the template until Hardy and GNOME 2.22...