---
name: "user-dirs.dirs"
section: "5"
platform: "linux"
package: "xdg-user-dirs"
version: "0.20-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/user-dirs.dirs"
---

# user-dirs.dirs(5)

settings for XDG user dirs

## NAME

user-dirs.dirs - settings for XDG user dirs

## DESCRIPTION

The $HOME/.config/user-dirs.dirs file is a text file that contains the user-specific values for the XDG user dirs. It is created and updated by the xdg-user-dirs-update command.

This file contains lines of the form

```
XDG_NAME_DIR=VALUE
```

The following names are recognised:

DESKTOP

DOWNLOAD

TEMPLATES

PUBLICSHARE

DOCUMENTS

MUSIC

PICTURES

VIDEOS

*VALUE* must be of the form "$HOME/Path" or "/Path".

Lines beginning with a # character are ignored.

The format of user-dirs.dirs is designed to allow direct sourcing of this file in shell scripts.

## ENVIRONMENT

**XDG\_CONFIG\_DIRS**

The user-dirs.defaults file is located in this directory. The default is /etc/xdg.

## SEE ALSO

[**xdg-user-dirs-update**(1)](/xdg-user-dirs-update/1.md)

## AUTHOR

**Alexander Larsson** \<alexl@redhat.com\>

Developer
