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

111 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of USER-DIRS.CONF</TITLE>
</HEAD><BODY>
<H1>USER-DIRS.CONF</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.conf - configuration for xdg-user-dirs-update
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
The
/etc/xdg/user-dirs.conf
file is a text file that controls the behavior of the xdg-user-dirs-update command. Users can have their own
~/.config/user-dirs.conf
file, which overrides the system-wide configuration.
<P>
The following keys are recognised:
<P>
enabled=<I>boolean</I>
<DL COMPACT><DT id="1"><DD>
When set to False, xdg-user-dirs-update will not change the XDG user dirs configuration.
</DL>
<P>
filename_encoding=<I>encoding</I>
<DL COMPACT><DT id="2"><DD>
This sets the filename encoding to use.
<I>encoding</I>
can be an explicit encoding name, such as UTF-8, or &quot;locale&quot;, which means the encoding of the users locale will be used.
</DL>
<P>
Lines beginning with a # character are ignored.
<A NAME="lbAD">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<P>
<B>XDG_CONFIG_DIRS</B>
<DL COMPACT><DT id="3"><DD>
The system-wide
user-dirs.conf
file is located in this directory. The default is
/etc/xdg.
</DL>
<P>
<B>XDG_CONFIG_HOME</B>
<DL COMPACT><DT id="4"><DD>
The per-user
user-dirs.conf
file is located in this directory. The default is
$HOME/.config.
</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="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="7"><A HREF="#lbAD">ENVIRONMENT</A><DD>
<DT id="8"><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>