<manvolnum>5</manvolnum></citerefentry>, all
processes of the session are terminated. If
the last concurrent session of a user ends,
- ther user's systemd instance will be
+ the user's systemd instance will be
terminated too, and so will the user's slice
unit.</para></listitem>
applications should not rely on this
behavior and must be able to deal with
stale files. To store session-private
- data in this directory, the user should
- include the value of <varname>$XDG_SESSION_ID</varname>
- in the filename. This directory shall
- be used for runtime file system
- objects such as <constant>AF_UNIX</constant> sockets,
- FIFOs, PID files and similar. It is
- guaranteed that this directory is
- local and offers the greatest possible
- file system feature set the
- operating system
- provides.</para></listitem>
+ data in this directory, the user
+ should include the value of
+ <varname>$XDG_SESSION_ID</varname> in
+ the filename. This directory shall be
+ used for runtime file system objects
+ such as <constant>AF_UNIX</constant>
+ sockets, FIFOs, PID files and
+ similar. It is guaranteed that this
+ directory is local and offers the
+ greatest possible file system feature
+ set the operating system provides. For
+ further details see the <ulink
+ url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
+ Base Directory
+ Specification</ulink>.</para></listitem>
</varlistentry>
</variablelist>
<varname>$XDG_CURRENT_DESKTOP</varname>,
as defined by the <ulink
url="http://standards.freedesktop.org/desktop-entry-spec/latest/">Desktop
- Entry
- Specification</ulink>. See
+ Entry Specification</ulink>. (However,
+ note that
+ <varname>$XDG_SESSION_DESKTOP</varname>
+ only takes a single item, and not a
+ colon-separated list like
+ <varname>$XDG_CURRENT_DESKTOP</varname>.)
+ See
<citerefentry><refentrytitle>sd_session_get_desktop</refentrytitle><manvolnum>3</manvolnum></citerefentry>
for more details.</para></listitem>
</varlistentry>