'\" t .\" Title: xdg-user-dir .\" Author: Alexander Larsson .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 09/26/2022 .\" Manual: User Commands .\" Source: XDG .\" Language: English .\" .TH "XDG\-USER\-DIR" "1" "" "XDG" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" xdg-user-dir \- Find an XDG user dir .SH "SYNOPSIS" .HP \w'\fBxdg\-user\-dir\fR\ 'u \fBxdg\-user\-dir\fR [NAME] .SH "DESCRIPTION" .PP \fBxdg\-user\-dir\fR looks up the current path for one of the special XDG user dirs\&. .PP This command expects the name of an XDG user dir as argument\&. The possible names are: .RS 4 DESKTOP .RE .RS 4 DOWNLOAD .RE .RS 4 TEMPLATES .RE .RS 4 PUBLICSHARE .RE .RS 4 DOCUMENTS .RE .RS 4 MUSIC .RE .RS 4 PICTURES .RE .RS 4 VIDEOS .RE .SH "FILES" .PP The values are looked up in the user\-dirs\&.dirs file\&. This file is created by the xdg\-user\-dirs\-update utility\&. .SH "ENVIRONMENT" .PP The \fBXDG_CONFIG_HOME\fR environment variable determines where the user\-dirs\&.dirs file is located\&. .SH "SEE ALSO" .PP \fBxdg-user-dirs-update\fR(1)