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.

Is it possible to rename default directories like ~/Documents, ~/Music, ~/Videos?

Especially I want to rename Videos to Movies.

Thanks in advance!

share|improve this question
Possible duplicate of this question –  Kevin Bowen Jan 15 '13 at 22:13
possible duplicate of Is it safe to rename special user folders? –  Stephen Myall Jan 15 '13 at 23:13

2 Answers 2

up vote 9 down vote accepted

Yes, the default home folders are defined in .config/user-dirs.dirs, which is a hidden configuration file, and you can open it with gedit .config/user-dirs.dirs. It looks like this, which is, hopefully, self-explanitory:

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
share|improve this answer
And how can I rename these folders? I can change path here only. –  madox2 Jan 15 '13 at 19:32
Just type a different name, for example "$HOME/Movies" instead of "$HOME/Videos". –  mikewhatever Jan 15 '13 at 19:35
Solved! Thank you –  madox2 Jan 15 '13 at 19:53

As I remember, Nautilus updates user directories if you simply rename them via the file manager. So I think right-clicking on the directory and choosing "Rename" from the menu should do the trick - just rename Videos to Movies in the file manager, it will remember the change.

share|improve this answer
That's right, I just did it this way - much more user-friendly. –  kermit666 Nov 8 '13 at 16:04

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.