4 ms·
That’s what the article talks about. How applications should use $XDG_DATA_HOME, $XDG_CONFIG_HOME and $XDG_CACHE_HOME and some defaults if they’re not set.
by rovr138 8y ago
That’s what the article talks about. How applications should use $XDG_DATA_HOME, $XDG_CONFIG_HOME and $XDG_CACHE_HOME and some defaults if they’re not set.
- themodelplumber 8y agoI'm not seeing it. Where does XDG define when and how an app should use: /home/user/Documents/ /home/user/Downloads/ /home/user/Pictures/ /home/user/Videos/ Let me know what I'm missing.
- nycticorax 8y agoI can't find "official" XDG documentation of this, but the Arch Wiki describes, for instance, the XDG_DOCUMENTS_DIR and XDG_VIDEOS_DIR environment variables: https://wiki.archlinux.org/index.php/XDG_user_directories https://wiki.archlinux.org/index.php/XDG_user_directories It looks like maybe the "official" documentation is here: http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.17.tar.gz http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.17... But I haven't gone through that carefully.
- petemc_ 8y agoWhy would it have to define those directories in particular?
- amlib 8y agoYou should be able to change the default settings for these directories by changing /etc/xdg/user-dirs.defaults (system-wide) and ~/.config/user-dirs.dirs (users override)