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 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.
The way it works is that xdg-user-dirs-update 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.
Original maintainer | Debian GNOME Maintainers |
---|---|
Homepage | http://freedesktop.org/wiki/Software/xdg-user-dirs |
0.17














0.16



0.15





Distribution | Version | Since | Package | Installed | Packager | |
---|---|---|---|---|---|---|
![]() | xz | 0.17-2 | 2019-02-15 | 40.4 kiB | 157 kiB | Jan Alexander Steffens (heftig) |
![]() | rpm | 0.15-5.el7 | 2020-01-07 | 58.6 kiB | 163 kiB | CentOS BuildSystem |
![]() | deb | 0.17-2 | 2019-01-12 | 52.5 kiB | 375 kiB | Debian GNOME Maintainers |
![]() | deb | 0.15-2+b1 | 2017-11-10 | 51 kiB | 360 kiB | Debian GNOME Maintainers |
![]() | rpm | 0.17-1.fc28 | 2019-01-14 | 64.4 kiB | 170 kiB | Fedora Project |
![]() | rpm | 0.17-1.fc28 | 2019-01-14 | 64.4 kiB | 170 kiB | Fedora Project |
![]() | rpm | 0.17-1.fc28 | 2019-01-14 | 64.4 kiB | 170 kiB | Fedora Project |
![]() | rpm | 0.17-2.fc29 | 2019-01-14 | 64.7 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-2.fc29 | 2019-01-14 | 64.7 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-2.fc29 | 2019-01-14 | 64.7 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-2.fc29 | 2019-01-14 | 64.7 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-2.fc29 | 2019-01-14 | 64.7 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-2.fc29 | 2019-01-14 | 64.7 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-3.fc30 | 2019-06-17 | 63.5 kiB | 177 kiB | Fedora Project |
![]() | rpm | 0.17-3.fc30 | 2019-06-17 | 63.5 kiB | 177 kiB | Fedora Project |
![]() | rpm | 0.17-3.fc30 | 2019-06-17 | 63.5 kiB | 177 kiB | Fedora Project |
![]() | rpm | 0.17-3.fc30 | 2019-06-17 | 63.5 kiB | 177 kiB | Fedora Project |
![]() | rpm | 0.17-3.fc30 | 2019-06-17 | 63.5 kiB | 177 kiB | Fedora Project |
![]() | rpm | 0.17-4.fc31 | 2020-01-07 | 66.2 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-4.fc31 | 2020-01-07 | 66.2 kiB | 175 kiB | Fedora Project |
![]() | rpm | 0.17-5.fc32 | Feb 08 | 66.3 kiB | 172 kiB | Fedora Project |
![]() | rpm | 0.17-5.fc32 | Feb 08 | 66.3 kiB | 172 kiB | Fedora Project |
![]() | rpm | 0.17-4.fc31 | 2019-08-03 | 66.2 kiB | 175 kiB | Fedora Project |
![]() | xz | 0.17-2 | 2019-02-19 | 40.4 kiB | 157 kiB | Jan Alexander Steffens (heftig) |
![]() | xz | 0.17-2 | 2019-02-16 | 40.4 kiB | 157 kiB | Jan Alexander Steffens (heftig) |
![]() | xz | 0.17-2 | 2019-02-16 | 40.4 kiB | 157 kiB | Jan Alexander Steffens (heftig) |
![]() | rpm | 0.16-lp150.1.7 | 2019-01-17 | 43.4 kiB | 114 kiB | https://bugs.opensuse.org |
![]() | rpm | 0.16-lp151.2.3 | 2019-01-23 | 43.4 kiB | 114 kiB | https://bugs.opensuse.org |
![]() | rpm | 0.16-lp152.3.3 | 2020-01-07 | 43.4 kiB | 114 kiB | https://bugs.opensuse.org |
![]() | rpm | 0.15-8.1 | 2019-01-17 | 37.5 kiB | 110 kiB | http://bugs.opensuse.org |
![]() | rpm | 0.17-2.1 | Feb 20 | 44.1 kiB | 125 kiB | https://bugs.opensuse.org |
![]() | deb | 0.15-3ubuntu3 | 2017-11-10 | 46.5 kiB | 525 kiB | Ubuntu Developers |
![]() | deb | 0.17-1ubuntu1 | 2018-06-12 | 46.9 kiB | 533 kiB | Ubuntu Developers |
![]() | deb | 0.17-1ubuntu1 | 2019-01-14 | 46.9 kiB | 533 kiB | Ubuntu Developers |
![]() | deb | 0.17-2ubuntu1 | 2019-01-24 | 47.2 kiB | 541 kiB | Ubuntu Developers |
![]() | deb | 0.17-2ubuntu1 | 2019-06-17 | 47.2 kiB | 541 kiB | Ubuntu Developers |
![]() | deb | 0.17-2ubuntu1 | 2020-01-07 | 47.2 kiB | 541 kiB | Ubuntu Developers |
![]() | deb | 0.15-2ubuntu6 | 2017-11-10 | 60.2 kiB | 538 kiB | Ubuntu Developers |
![]() | deb | 0.15-2ubuntu6.16.04.1 | 2018-06-12 | 60.4 kiB | 538 kiB | Ubuntu Developers |
Applications
User folders update
Update common folders names to match current locale
Manual pages
xdg-user-dir(1)
xdg-user-dir - Find an XDG user dir
xdg-user-dirs-update(1)
xdg-user-dirs-update - Update XDG user dir configuration
user-dirs.conf(5)
user-dirs.conf - configuration for xdg-user-dirs-update
user-dirs.defaults(5)
user-dirs.defaults - default settings for XDG user dirs
user-dirs.dirs(5)
user-dirs.dirs - settings for XDG user dirs
Latest updates

OpenSUSE Tumbleweed oss: Updated from 0.17-1.5 to 0.17-2.1
Feb 20
- No longer recommend -lang: supplements are in use.

Fedora rawhide development/Server-os: Updated from 0.17-4.fc31 to 0.17-5.fc32
Feb 08

Fedora rawhide development/Everything-os: Updated from 0.17-4.fc31 to 0.17-5.fc32
Feb 08

Fedora 31 releases/Server-os: Version 0.17-4.fc31 introduced
2020-01-07

Fedora 31 releases/Everything-os: Version 0.17-4.fc31 introduced
2020-01-07

OpenSUSE Leap 15.2 oss: Version 0.16-lp152.3.3 introduced
2020-01-07
- update to 0.16:
- Add autostart file for user-dirs-update
- Update translations

CentOS 7.7.1908 os: Version 0.15-5.el7 introduced
2020-01-07
- Start using autostart mechanism instead of xinitrc.d script Resolves: #1412762

Ubuntu 20.04 focal/main: Version 0.17-2ubuntu1 introduced
2020-01-07
- Merge with Debian. Remaining change:
- Add launchpad_translation_export.patch:
- update translations from Launchpad
- Add launchpad_translation_export.patch:

Ubuntu 16.04 LTS xenial-updates/main: Version 0.15-2ubuntu6.16.04.1 reintroduced
2019-10-02
- debian/patches/xdg-user-dirs-update-give-priority-to-HOME.patch:
- use $HOME as preferred before using getpw (LP: #1754356)

Ubuntu 16.04 LTS xenial-updates/main: Version 0.15-2ubuntu6.16.04.1 removed
2019-10-02

Ubuntu 19.10 eoan/main: Version 0.17-2ubuntu1 reintroduced
2019-08-19
- Merge with Debian. Remaining change:
- Add launchpad_translation_export.patch:
- update translations from Launchpad
- Add launchpad_translation_export.patch:

Ubuntu 19.10 eoan/main: Version 0.17-2ubuntu1 removed
2019-08-19

Ubuntu 16.04 LTS xenial-updates/main: Version 0.15-2ubuntu6.16.04.1 reintroduced
2019-08-15
- debian/patches/xdg-user-dirs-update-give-priority-to-HOME.patch:
- use $HOME as preferred before using getpw (LP: #1754356)

Ubuntu 16.04 LTS xenial-updates/main: Version 0.15-2ubuntu6.16.04.1 removed
2019-08-15

Ubuntu 19.10 eoan/main: Version 0.17-2ubuntu1 reintroduced
2019-08-14
- Merge with Debian. Remaining change:
- Add launchpad_translation_export.patch:
- update translations from Launchpad
- Add launchpad_translation_export.patch:

Ubuntu 19.10 eoan/main: Version 0.17-2ubuntu1 removed
2019-08-14

Fedora rawhide development/Workstation-os: Updated from 0.17-3.fc30 to 0.17-4.fc31
2019-08-03

Fedora rawhide development/Server-os: Updated from 0.17-3.fc30 to 0.17-4.fc31
2019-08-03

Fedora rawhide development/Everything-os: Updated from 0.17-3.fc30 to 0.17-4.fc31
2019-08-03

Ubuntu 19.10 eoan/main: Version 0.17-2ubuntu1 reintroduced
2019-08-02
- Merge with Debian. Remaining change:
- Add launchpad_translation_export.patch:
- update translations from Launchpad
- Add launchpad_translation_export.patch:
Related packages
xdg-user-dirs-debuginfo - Debug information for package xdg-user-dirs
xdg-user-dirs-debugsource - Debug sources for package xdg-user-dirs
xdg-user-dirs-gtk - tool to manage well known user directories (Gtk extension)
xdg-user-dirs-gtk-debuginfo - Debug information for package xdg-user-dirs-gtk
xdg-user-dirs-gtk-debugsource - Debug sources for package xdg-user-dirs-gtk
xdg-user-dirs-gtk-lang - Translations for package xdg-user-dirs-gtk
xdg-user-dirs-lang - Translations for package xdg-user-dirs