summaryrefslogtreecommitdiff
path: root/man/systemd.special.xml
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-03-25 16:59:40 +0100
committerBenjamin Berg <bberg@redhat.com>2020-05-27 09:02:10 +0200
commit8feca2472ccb71d49716a37e86db2fc3a485ae4e (patch)
tree8fbc9062edf1a620a4236523abaa9676e1479453 /man/systemd.special.xml
parent8746820b87020358e10a258a3fa42f8ca1c6a453 (diff)
downloadsystemd-8feca2472ccb71d49716a37e86db2fc3a485ae4e.tar.gz
xdg-autostart-generator: Add a generator for XDG autostart files
This generator can be used by desktop environments to launch autostart applications and services. The feature is an opt-in, triggered by xdg-desktop-autostart.target being activated. Also included is the new binary xdg-autostart-condition. This binary is used as an ExecCondition to test the OnlyShowIn and NotShowIn XDG desktop file keys. These need to be evaluated against the XDG_CURRENT_DESKTOP environment variable which may not be known at generation time. Co-authored-by: Henri Chain <henri.chain@enioka.com>
Diffstat (limited to 'man/systemd.special.xml')
-rw-r--r--man/systemd.special.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd.special.xml b/man/systemd.special.xml
index c37e732b5f..2f40667b0a 100644
--- a/man/systemd.special.xml
+++ b/man/systemd.special.xml
@@ -1150,6 +1150,16 @@
<filename>gnome-session.target</filename>.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><filename>xdg-desktop-autostart.target</filename></term>
+ <listitem>
+ <para>The XDG specification defines a way to autostart applications using XDG desktop files.
+ systemd ships a generator for the XDG desktop files in autostart directories.
+ Desktop Environments can opt-in to use this service by adding a <varname>Wants=</varname>
+ dependency on <literal>xdg-desktop-autostart.target</literal></para>.
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>
</refsect1>