How does systemd-xdg-autostart-generator get started?

How does systemd-xdg-autostart-generator get started in opensuse plasma?

I’ve looked (grep) in /etc/ and /usr/lib and the journal with no luck. I’m still getting the hang of systemd, but used systemctl to display the --type target.

I only found these executables with the above steps:

  • /usr/lib/systemd/systemd-xdg-autostart-condition
  • /usr/lib/systemd/user-generators/systed-xdg-autostart-generator

I referenced these two resources:

To allow XDG autostart integration, systemd ships a cross-desktop generator to create appropriate units for the autostart directory (systemd-xdg-autostart-generator). Desktop Environments can opt-in to using this by starting

What started me down this path was an error message I received from systemd-xdg-autostart-generator when I logged on to a tty with root. I’m less concerned about the error message, than not being able to find out how systemd-xdg-autostart-generator got started.

Any direction would greatly be appreciated.

It has nothing to do with Plasma. Like every other systemd generator it is launched when systemd is first started or when “systemctl --user daemon-reload” is invoked.