| Summary: | Autostart fires to early | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Bernd Nachtigall <bnacht> |
| Component: | kcm_autostart | Assignee: | Laurent Montel <montel> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | wishlist | CC: | kde, nicolas.fella, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Bernd Nachtigall
2020-07-23 05:48:14 UTC
What if I want to run my script before Akonadi? I don't quite understand what you are suggesting in detail, but it sounds somewhat brittle and unpredictable. Technically speaking what you'd want is to specify dependencies between autostarted things (e.g. skript X runs after Akonadi) instead of randomly delaying things. This is something XDG autostart (https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html) does not model. systemd for example has such a mechanism, but I'm not sure it's worth copying that level of complexity here Am 23.07.20 um 10:29 schrieb Nicolas Fella: (...) > --- Comment #1 from Nicolas Fella <nicolas.fella@gmx.de> --- What if > I want to run my script before Akonadi? > > I don't quite understand what you are suggesting in detail, but it > sounds somewhat brittle and unpredictable. I think that programs/scripts that should run after a GUI is started, like a graphical configured 'Autostart', should run after the GUI is started completly. I expect this behavior. If I want to start a program/script before the GUI is completly started and ready to work i have to found an other way. I don't see a reason to change anything here. Am 23.07.20 um 10:59 schrieb David Edmundson: > https://bugs.kde.org/show_bug.cgi?id=424558 (...) > --- Comment #3 from David Edmundson <kde@davidedmundson.co.uk> --- > I don't see a reason to change anything here. > OK, but than the autostart mechanism should run properly ... Today this script: ## #!/bin/bash ## #Stops Akonadi ## sleep 10 ## akonadictl stop in ~bin/ with a softlink in ~/.config/autostart-scripts. Does not stop Akonadi after login to GUI. When execute this manuell via cli it does its job. |