summaryrefslogtreecommitdiffstats
path: root/man/xdg-user-dir.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:30 +0000
commitad8b856c3b0d4d6055141a74664dbea4416c198d (patch)
tree8596d1a11d20a850e3316e27e51e422baa0aa1e5 /man/xdg-user-dir.xml
parentInitial commit. (diff)
downloadxdg-user-dirs-ad8b856c3b0d4d6055141a74664dbea4416c198d.tar.xz
xdg-user-dirs-ad8b856c3b0d4d6055141a74664dbea4416c198d.zip
Adding upstream version 0.17.upstream/0.17upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--man/xdg-user-dir.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/man/xdg-user-dir.xml b/man/xdg-user-dir.xml
new file mode 100644
index 0000000..141eeb8
--- /dev/null
+++ b/man/xdg-user-dir.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+<refentry id="xdg-user-dir">
+
+<refentryinfo>
+ <title>xdg-user-dir</title>
+ <productname>XDG</productname>
+ <authorgroup>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Alexander</firstname>
+ <surname>Larsson</surname>
+ <email>alexl@redhat.com</email>
+ </author>
+ </authorgroup>
+</refentryinfo>
+
+<refmeta>
+ <refentrytitle>xdg-user-dir</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">User Commands</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>xdg-user-dir</refname>
+ <refpurpose>Find an XDG user dir</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+<command>xdg-user-dir</command> <arg>NAME</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para><command>xdg-user-dir</command> looks up the current path for one
+of the special XDG user dirs.</para>
+<para>This command expects the name of an XDG user dir as argument.
+The possible names are:
+<simplelist>
+ <member>DESKTOP</member>
+ <member>DOWNLOAD</member>
+ <member>TEMPLATES</member>
+ <member>PUBLICSHARE</member>
+ <member>DOCUMENTS</member>
+ <member>MUSIC</member>
+ <member>PICTURES</member>
+ <member>VIDEOS</member>
+</simplelist></para>
+</refsect1>
+
+<refsect1><title>Files</title>
+ <para>The values are looked up in the <filename>user-dirs.dir</filename>
+ file. This file is created by the xdg-user-dirs-update utility.</para>
+</refsect1>
+
+<refsect1><title>Environment</title>
+ <para>The <envar>XDG_CONFIG_HOME</envar> environment variable determines
+ where the <filename>user-dirs.dirs</filename> file is located.</para>
+</refsect1>
+
+<refsect1><title>See Also</title>
+ <para>
+ <citerefentry><refentrytitle>xdg-user-dirs-update</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ </para>
+</refsect1>
+
+</refentry>