Linux Command Library
commands
Commands
basic
Basic
tips
Tips

xdg-user-dir

Find an XDG user dir

xdg-user-dir [NAME]

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

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

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

xdg-user-dirs-update(1)

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied