I want to set custom locations for Document, Pictures, Videos and Music folders in elementary OS. This is the method I followed.
# This controls the behaviour of xdg-user-dirs-update which is run on user login # You can also have per-user config in ~/.config/user-dirs.conf, or specify # the XDG_CONFIG_HOME and/or XDG_CONFIG_DIRS to override this # enabled=False # This sets the filename encoding to use. You can specify an explicit # encoding, or "locale" which means the encoding of the users locale # will be used filename_encoding=UTF-8
# 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. # XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOWNLOAD_DIR="/media/user/Media/Downloads" XDG_DOCUMENTS_DIR="/media/user/Media/Documents" XDG_MUSIC_DIR="/media/user/Media/Music" XDG_PICTURES_DIR="/media/user/Media/Pictures" XDG_VIDEOS_DIR="/media/user/Media/Videos"
I used the command
xdg-user-dirs-update after editing these files. And also tried logging out and in and restarting the system too. But nothing worked. The pantheon-files still goes to the default $HOME/Documents path.
Can anyone tell what's wrong here or another workaround to achieve my purpose?