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

In previous releases of Ubuntu, I used Ubuntu Tweak to change the paths to the user folders (Music, Documents, Videos, etc). I can't find an option in Gnome 3 to do this, and Ubuntu Tweak's ppa still has no version for Oneiric.

share|improve this question
up vote 15 down vote accepted

Open a Terminal ed write this command:

gedit ~/.config/user-dirs.dirs

Each row is a user folder definition (music, video...), edit as you want. For example, I did not want the videos folder in home, but in a separate disk, and changed the XDG_VIDEOS_DIR parameter this way:


OR Simply run:

xdg-user-dirs-update --set XDG_VIDEOS_DIR="/media/share/Video"

Logout and Login back to effect properly.

share|improve this answer
Thanks, that works splendidly. – Eduardo Rivas Oct 18 '11 at 17:58
To make it effective immediately, run xdg-user-dirs-update. – sup Jul 10 '12 at 15:36
after i restart or unplug my external disk the folders disappear from that list. any idea how to solve that?… – Feb 5 '13 at 14:42

You can still install Ubuntu Tweak and do it with that, if you dont want to mess around with the terminal.

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.