Skip to content

startkde: Reload systemd on Plasma start

Fabian Vogt requested to merge work/fvogt/systemdreload into master

If the time between logout and relogin is short enough or a separate session is open during that time, the systemd user instance keeps running. This means that generators like the one for XDG autostart handling aren't run again, which effectively means it's still using the configuration from the previous session.

Just reload systemd on every login to make sure its state is fresh.

WIP because:

  • Not tested yet
  • Use a sync call instead to be safe?
  • Only run this if systemd boot is enabled?
Edited by Fabian Vogt

Merge request reports