Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I changed my language/locale settings, a window popped up asking me if I wanted to rename Documents, Music, Video, Downloads, to the new language.

I was worried that this might be some irreversible operation and said no and ticked the don't ask me again box.

Now I want the system to change the folders name automatically when I switch to another language automatically. Is there a way to do this? or to make the popping window appear again?


share|improve this question
up vote 5 down vote accepted

When you told it to not ask you again, it probably removed the file


You can re-create that file. Assuming that the folders currently have English names, open a terminal window and run:

echo 'en_US' > ~/.config/user-dirs.locale
share|improve this answer
thank you so much! i was looking for this for two weeks :) – AlKaef May 14 '14 at 12:40
@AlKaef: You're welcome. I noticed that this seems to be more or less undocumented. – Gunnar Hjalmarsson May 14 '14 at 20:05
LANG=C xdg-user-dirs-update --force ; cat ~/.config/user-dirs.dirs – Denji Aug 23 '14 at 22:11

The popping window will show itself if you will change language again. You can use xprop command to get this window's name.

To update folder locations after you renamed/moved them, you have to edit .config/user-dirs.dirs and put there new folder locations.

And, finally, you have to run xdg-user-dirs-gtk-update or xdg-user-dirs-update.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.