xdg-user-dir - Man Page

Find an XDG user dir

Synopsis

xdg-user-dir [NAME]

Description

xdg-user-dir looks up the current path for one of the special XDG user dirs.

This command expects the name of an XDG user dir as argument. The possible names are:

DESKTOP
DOWNLOAD
TEMPLATES
PUBLICSHARE
DOCUMENTS
MUSIC
PICTURES
VIDEOS

Files

The values are looked up in the user-dirs.dirs file. This file is created by the xdg-user-dirs-update utility.

Environment

The XDG_CONFIG_HOME environment variable determines where the user-dirs.dirs file is located.

See Also

xdg-user-dirs-update(1)

Referenced By

xdg-user-dirs-update(1).

XDG