Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

Thanks.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

~/.config/user-dirs.locale

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 at 12:40
    
@AlKaef: You're welcome. I noticed that this seems to be more or less undocumented. –  Gunnar Hjalmarsson May 14 at 20:05

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

 
discard

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.