Summary: | Login scripts don't start in systemd mode | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | gudvinr+kde |
Component: | kcm_autostart | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde.podagric, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.21.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=433299 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/93f9ef0304f300dc3952ac9a25cbd82996eec263 | Version Fixed In: | 5.22 |
Sentry Crash Report: |
Description
gudvinr+kde
2021-03-05 08:26:54 UTC
Urgh, we have two sets of login script. We do call runEnvironmentScripts() but I don't have an equivalent of StartupPhase2::runUserAutostart --- We have a few options: We could make a tiny binary that executes those scripts, then provide a .desktop file that runs this in autostart phase 2. then we can remove the specific code from the legacy boot, and both can share this and have it "just work" for both. ---- We could make a custom generator, somewhat like the apps autostart ---- Maybe the KCM should create .desktop files with the Exec line porting to the script, rather than copying things into a specific dir. Then we get to attach metadata to the script and we reduce our code paths here. *** Bug 433133 has been marked as a duplicate of this bug. *** You could just create systemd unit file that depends on KDE Fixed by Henri Chain with https://invent.kde.org/plasma/plasma-workspace/-/commit/93f9ef0304f300dc3952ac9a25cbd82996eec263 in Plasma 5.22! |