Scraping /home/'s default dirs OR The Fine Art of Refining Your Home Dir On a NAS (~.config/user-dirs.dirs)

2022 was the year I finally joined one of these great religions that forbiddens one to use ~/Desktop. Actually this religion states that everything local should be on a NAS and then mounted. For not loosing any data, ya know? :wink:

So anyways my questions are has follow: in this never ending quest for system configuration perfection there is a file called ~/.config/user-dirs.dirs which contains :

# 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.

I understand that if I am not using ~/Public I can rm ~/Public and then should technically comment it away from this file. Or perhaps remove the line. I also understand that not doing so will result in the dir being recreated after reboot.


  1. If I already replaced all of my home folders for a symlink pointing to the NAS, do I need to keep this file? Can I just purge it and never care again? If purged, will it ever get recreated after a distribution upgrade for example? etc

  2. Considering ~/Documents is now a symlink pointing to a sshfs mount what is the implication of keeping this file? Anything?

  3. Bonus question: does anybody run this kind of setup right now and has tips to share in order to facilitate the overall UM integration?

Currently am on 22.10.