I'm new to unity and trying to harmonize my dual boot between windows and ubuntu by setting the documents, pictures, videos, etc folders onto a storage partition, instead of in the home folder. I added this line to my fstab
# storage mount
UUID=66E53AEC54455DB2 /media/storage/ ntfs-3g auto,user,rw 0 0
Rebooted, then went to configure my subfolders like this:
# 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_DESKTOP_DIR="$HOME/Desktop"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_DOWNLOAD_DIR="/media/storage/Downloads"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="/media/storage/Documents"
XDG_MUSIC_DIR="/media/storage/Music"
XDG_PICTURES_DIR="/media/storage/Pictures"
XDG_VIDEOS_DIR="/media/storage/Videos"
Rebooted again, but this didn't do the trick. I can get to media/storage/Documents from the filesystem, but when I go to documents under places, it's still located on the wrong dirve. nothing I save appears on the storage partitition unless i directly put it there, and nothing i put in the storage partition appears in the documents folder under places.
ln -s /media/storage/Documents /home/username/
. This will create a link to theDocuments
folder on/media/storage
and it should behave as you want it to. (I've never tried this on an NTFS drive though, so it might not work. But it's worth a shot, I'd say.)