Remapping folder location (Documents, Downloads, etc)

I am currently dual booting Windows 11 and Zorin 18. I have an unraid server that I store all my files on for easy access across the two OS. In windows, I have the 'Documents', 'Music', 'Photos', etc mapped to folders on my unraid server. I am trying to do the same on Zorin, but I can't figure out how to do it. I am able to access the folders on my unraid server in Zorin, but I can't figure out how to point the 'Documents' folder to my unraid server. Is this possible in Zorin? Any help in accomplishing this would be appreciated.

sudo nano ~/.config/user-dirs.dirs

and change replace $HOME with your folder path then reboot

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="$HOME/Videos"
2 Likes

Appreciate your help. This worked perfectly.

1 Like

My pleasure :wink: