systemd-xdg-autostart-generator(8) — Linux manual page


SYSTEM...NERATOR(8)  systemd-xdg-autostart-generator SYSTEM...NERATOR(8)

NAME         top

       systemd-xdg-autostart-generator - User unit generator for XDG
       autostart files

SYNOPSIS         top


DESCRIPTION         top

       systemd-xdg-autostart-generator is a generator that creates
       .service units for XDG autostart[1] files. This permits desktop
       environments to delegate startup of these applications to
       systemd(1) .

       Units created by systemd-xdg-autostart-generator can be started
       by the desktop environment using "".
       See systemd.special(7) for more details.

       XDG autostart may be conditionalized using both standardized and
       non-standardized keys. In order to handle these, the generator
       may create one or more ExecCondition= entries. For
       non-standardized keys, well-known helper binaries provided by
       Desktop Environments are used. All external helpers must detect
       their corresponding desktop environment and must return success
       when run in a different environment. This is important as all
       ExecCondition= directives must succeed for an application to be

       Table 1.  Special XDG desktop file entries that are processed
       │ Entry                      Handling                          │
       │ Hidden=, X-systemd-skip=   │ No service will be                │
       │                            │ generated if set to true          │
       │ OnlyShowIn=, NotShowIn=ExecCondition= using              │
       │                            │ systemd-xdg-autostart-condition   │
       │ TryExec=                   │ No service will be generated if   │
       │                            │ the binary does not exist or      │
       │                            │ cannot be executed                │
       │ AutostartCondition=ExecCondition= using              │
       │ (GNOME extension)          │ gnome-systemd-autostart-condition │
       │ X-GNOME-Autostart-Phase=   │ No service will be generated if   │
       │                            │ set to any value                  │
       │ X-KDE-autostart-condition=ExecCondition= using              │
       │                            │ kde-systemd-start-condition       │

       systemd-xdg-autostart-generator implements systemd.generator(7).

SEE ALSO         top

       systemd(1), systemd.service(5),

NOTES         top

        1. XDG autostart

COLOPHON         top

       This page is part of the systemd (systemd system and service
       manager) project.  Information about the project can be found at
       ⟨⟩.  If you have
       a bug report for this manual page, see
       This page was obtained from the project's upstream Git repository
       ⟨⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-12-22.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

systemd 255                                          SYSTEM...NERATOR(8)

Pages that refer to this page: systemd.directives(7)systemd.generator(7)systemd.index(7)systemd.special(7)