This port should install the xdg-user-dirs port and run `xdg-user-dirs-update`, which will create the ~/.config/user-dirs.dirs file:
# 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.
The benefits is that Gnome will use specific folder icons for each of the above directories in Nautilus file manager, and screenshots will be auto-saved to the ~/Pictures directory instead of your home directory.
Created attachment 183677 [details]
- Add devel/xdg-user-dirs to RUN_DEPENDS
- Pet portlint, COMMENT messages should not be quoted.
- Bump PORTREVISION
Created attachment 184444 [details]
The following patch run xdg-user-dirs-update to create various XDG directories, and write ~/.config/user-dirs.dirs, etc. That file is read by glib to get XDG_PICTURES_DIR, XDG_DESKTOP_DIR, etc.
(In reply to Carlos J. Puga Medina from comment #2)
I think this patch should be added to x11/gnome-sessions.