kamarada / Linux-Kamarada-GNOME

Archived on GitHub. Moved to GitLab: https://gitlab.com/kamarada/Linux-Kamarada-GNOME/
0 stars 1 forks source link

XDG user directories #39

Closed vinyanalista closed 4 years ago

vinyanalista commented 5 years ago

From ArchWiki:

From freedesktop.org:

xdg-user-dirs is a tool to help manage "well known" user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames.

The way it works is that xdg-user-dirs-update(1) is run very early in the login phase. This program reads a configuration file, and a set of default directories. It then creates localized versions of these directories in the users home directory and sets up a config file in $XDG_CONFIG_HOME/user-dirs.dirs (XDG_CONFIG_HOME defaults to ~/.config) that applications can read to find these directories.

Most file managers indicate XDG user directories with special icons.

vinyanalista commented 5 years ago

In openSUSE, xdg-user-dirs can be installed with:

# zypper in xdg-user-dirs xdg-user-dirs-lang xdg-user-dirs-gtk xdg-user-dirs-gtk-lang
vinyanalista commented 4 years ago

Working on 15.1-RC-Build36.1.