1SYSTEMD-XDG-AUTOSTART-GENsEyRsAtTeOmRd(-8x)dg-autostartS-YgSeTnEeMrDa-tXoDrG-AUTOSTART-GENERATOR(8)
2
3
4
6 systemd-xdg-autostart-generator - User unit generator for XDG autostart
7 files
8
10 /usr/lib/systemd/user-generators/systemd-xdg-autostart-generator
11
13 systemd-xdg-autostart-generator is a generator that creates .service
14 units for XDG autostart[1] files. This permits desktop environments to
15 delegate startup of these applications to systemd(1) .
16
17 Units created by systemd-xdg-autostart-generator can be started by the
18 desktop environment using "xdg-desktop-autostart.target". See
19 systemd.special(7) for more details.
20
21 XDG autostart may be conditionalized using both standardized and
22 non-standardized keys. In order to handle these, the generator may
23 create one or more ExecCondition= entries. For non-standardized keys,
24 well-known helper binaries provided by Desktop Environments are used.
25 All external helpers must detect their corresponding desktop
26 environment and must return success when run in a different
27 environment. This is important as all ExecCondition= directives must
28 succeed for an application to be started.
29
30 Table 1. Special XDG desktop file entries that are processed
31 ┌───────────────────────────┬───────────────────────────────────┐
32 │Entry │ Handling │
33 ├───────────────────────────┼───────────────────────────────────┤
34 │Hidden=, X-systemd-skip= │ No service will be │
35 │ │ generated if set to true │
36 ├───────────────────────────┼───────────────────────────────────┤
37 │OnlyShowIn=, NotShowIn= │ ExecCondition= using │
38 │ │ systemd-xdg-autostart-condition │
39 ├───────────────────────────┼───────────────────────────────────┤
40 │TryExec= │ No service will be generated if │
41 │ │ the binary does not exist or │
42 │ │ cannot be executed │
43 ├───────────────────────────┼───────────────────────────────────┤
44 │AutostartCondition= (GNOME │ ExecCondition= using │
45 │extension) │ gnome-systemd-autostart-condition │
46 ├───────────────────────────┼───────────────────────────────────┤
47 │X-GNOME-Autostart-Phase= │ No service will be generated if │
48 │ │ set to any value │
49 ├───────────────────────────┼───────────────────────────────────┤
50 │X-KDE-autostart-condition= │ ExecCondition= using │
51 │ │ kde-systemd-start-condition │
52 └───────────────────────────┴───────────────────────────────────┘
53
54 systemd-xdg-autostart-generator implements systemd.generator(7).
55
57 systemd(1), systemd.service(5), systemd.target(5)
58
60 1. XDG autostart
61 https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html
62
63
64
65systemd 253 SYSTEMD-XDG-AUTOSTART-GENERATOR(8)