man-pages/man5/user-dirs.dirs.5.html
2021-03-31 01:06:50 +01:00

141 lines
2.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of USER-DIRS.DIRS</TITLE>
</HEAD><BODY>
<H1>USER-DIRS.DIRS</H1>
Section: File Formats (5)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
user-dirs.dirs - settings for XDG user dirs
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
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.
<P>
This file contains lines of the form
<P>
<DL COMPACT><DT id="1"><DD>
<PRE>
XDG_<I>NAME</I>_DIR=<I>VALUE</I>
</PRE>
</DL>
<P>
The following names are recognised:
<DL COMPACT><DT id="2"><DD>
DESKTOP
</DL>
<DL COMPACT><DT id="3"><DD>
DOWNLOAD
</DL>
<DL COMPACT><DT id="4"><DD>
TEMPLATES
</DL>
<DL COMPACT><DT id="5"><DD>
PUBLICSHARE
</DL>
<DL COMPACT><DT id="6"><DD>
DOCUMENTS
</DL>
<DL COMPACT><DT id="7"><DD>
MUSIC
</DL>
<DL COMPACT><DT id="8"><DD>
PICTURES
</DL>
<DL COMPACT><DT id="9"><DD>
VIDEOS
</DL>
<P>
<I>VALUE</I>
must be of the form &quot;$HOME/Path&quot; or &quot;/Path&quot;.
<P>
Lines beginning with a # character are ignored.
<P>
The format of
user-dirs.dirs
is designed to allow direct sourcing of this file in shell scripts.
<A NAME="lbAD">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<P>
<B>XDG_CONFIG_DIRS</B>
<DL COMPACT><DT id="10"><DD>
The
user-dirs.defaults
file is located in this directory. The default is
/etc/xdg.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+xdg-user-dirs-update">xdg-user-dirs-update</A></B>(1)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
<DT id="12"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAD">ENVIRONMENT</A><DD>
<DT id="14"><A HREF="#lbAE">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:06 GMT, March 31, 2021
</BODY>
</HTML>