On 2010-08-22 22:55, papukaija wrote : > As you wish but then the renaming failure will _not be_ fixed because > this bug becomes a feature request/wishlist. Let us recall that you asked if I consider this a bug. I replied YES (I want it to be a bug). That is because the system behaves abnormally. That the definition of a bug. And because the consequences can be important. So please make it a bug.
But don't change the title etc to a totally different meaning. I realized that one has to read the report up to the end to understand. In consequence, I have added a Summary at the beginning. NB: The fix must be very easy. So, I suggest Ubuntu themselves take care of that. Thanks. ** Description changed: Binary package hint: xdg-user-dirs This applies to all Ubuntu (Gnome) versions up to 10.04. Note: understand "Bureau" below as the name of any "standard" folder in any language. + + Summary: + This report explain some of the many pitfalls caused by the renaming of Desktop to Bureau. + These pitfalls can cause programs, scripts and the system itself to misbehave. + A drastic solution is to make a Bureau -> Desktop symbolic link instead. + Furthermore, this seems very simple to implement, it almost already works. When a user changes the language of its profile she/he is asked a "funny" question in Desktop-1.png. "Update standard folders to new language?" He/she does not understand and he replies "yes". From then on, obscure magic happens. Among other folders, ~/Desktop is renamed Bureau, but only if it is empty. Let's assume it's not. Then a new ~/Bureau is created beside. If the user drags "New file" (Desktop-2.png) a little bit, it disappears (Desktop-3.png). It will reappear after the next Login, at which time all the other Desktop objects disappear. Then she/he makes a screenshot and is told that a file she/he doesn't see does exist (Desktop-3.png). Nothing is lost, the user has 2 desktops, Desktop and Bureau, only now showing, hard to guess. The same applies for Documents, Music, etc... total confusion. If some program unaware of this game looks for Desktop, it won't find it. Etc... etc... Confusion looks like the comments of (different) Bug #209513. + + Every time one refers to ~/Desktop, it's a mistake, and that's not only in programs... + Every time someone writes "cd ~/Desktop" in sample code on the Web, and even worse in a script, they're doing a BIG MISTAKE. They should explain that, if and only if their system implements standard folders renaming, French people must type cd ~/Bureau, Russian ones cd "~/работая стол" etc, even more complicated for the script. HOW SIMPLE !!! This is obviously not the way it should work. This is NOT Windows. We can use symbolic links. Instead of renaming ~/Desktop, let's make a ~/Bureau -> Desktop symbolic link. EVERYTHING will continue to be able to refer to Desktop unchanged. And the user interface (Desktop, Nautilus...) will happily refer to ~/Bureau all the same. It will contain the same data, because the same folder. The only setting needed is the name to use : Bureau, meaning ~/Bureau, redirected at will. It's best to create the aliasing without asking the user any question. There can be a setting for those really wanting to see the folders' names in any language they choose. If the user changes language again, it's best to leave ~/Bureau intact in case it's referred to somewhere. The BEST OF ALL is that it already works. Almost... Before xdg-user-dirs comes into play, make sure Desktop is not empty and create ~/Bureau -> Desktop. xdg-user-dirs will not change that and the aliasing will work free of all those inconveniences. User experience. The above kludge has been used for a 6-language 10-users couple of Ubuntu 8.04 systems. Beside ~/ being crowded with aliases in 6 languages, the only inconvenience has been Picasa. They found 6 times the pictures they eagerly looked for. They will have to learn that scanning a filesystem must not follow aliases. ** Description changed: Binary package hint: xdg-user-dirs This applies to all Ubuntu (Gnome) versions up to 10.04. - Note: understand "Bureau" below as the name of any "standard" folder in any language. + Note: understand "Bureau" below as the name of any "standard" folder in any language. For example, also "Картинки" = Pictures folder name in Russian. Summary: This report explain some of the many pitfalls caused by the renaming of Desktop to Bureau. These pitfalls can cause programs, scripts and the system itself to misbehave. A drastic solution is to make a Bureau -> Desktop symbolic link instead. Furthermore, this seems very simple to implement, it almost already works. When a user changes the language of its profile she/he is asked a "funny" question in Desktop-1.png. "Update standard folders to new language?" He/she does not understand and he replies "yes". From then on, obscure magic happens. Among other folders, ~/Desktop is renamed Bureau, but only if it is empty. Let's assume it's not. Then a new ~/Bureau is created beside. If the user drags "New file" (Desktop-2.png) a little bit, it disappears (Desktop-3.png). It will reappear after the next Login, at which time all the other Desktop objects disappear. Then she/he makes a screenshot and is told that a file she/he doesn't see does exist (Desktop-3.png). Nothing is lost, the user has 2 desktops, Desktop and Bureau, only now showing, hard to guess. The same applies for Documents, Music, etc... total confusion. If some program unaware of this game looks for Desktop, it won't find it. Etc... etc... Confusion looks like the comments of (different) Bug #209513. Every time one refers to ~/Desktop, it's a mistake, and that's not only in programs... Every time someone writes "cd ~/Desktop" in sample code on the Web, and even worse in a script, they're doing a BIG MISTAKE. They should explain that, if and only if their system implements standard folders renaming, French people must type cd ~/Bureau, Russian ones cd "~/работая стол" etc, even more complicated for the script. HOW SIMPLE !!! This is obviously not the way it should work. This is NOT Windows. We can use symbolic links. Instead of renaming ~/Desktop, let's make a ~/Bureau -> Desktop symbolic link. EVERYTHING will continue to be able to refer to Desktop unchanged. And the user interface (Desktop, Nautilus...) will happily refer to ~/Bureau all the same. It will contain the same data, because the same folder. The only setting needed is the name to use : Bureau, meaning ~/Bureau, redirected at will. It's best to create the aliasing without asking the user any question. There can be a setting for those really wanting to see the folders' names in any language they choose. If the user changes language again, it's best to leave ~/Bureau intact in case it's referred to somewhere. The BEST OF ALL is that it already works. Almost... Before xdg-user-dirs comes into play, make sure Desktop is not empty and create ~/Bureau -> Desktop. xdg-user-dirs will not change that and the aliasing will work free of all those inconveniences. User experience. The above kludge has been used for a 6-language 10-users couple of Ubuntu 8.04 systems. Beside ~/ being crowded with aliases in 6 languages, the only inconvenience has been Picasa. They found 6 times the pictures they eagerly looked for. They will have to learn that scanning a filesystem must not follow aliases. -- "Update standard folders" should add language links to folders, not rename them https://bugs.launchpad.net/bugs/556933 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to xdg-user-dirs in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs