I would like to have the option to choose a delay in seconds when starting up an app/script/somethingelse via "Autostart". SOFTWARE/OS VERSIONS Operating System: Devuan GNU/Linux 5 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-7-amd64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1660/PCIe/SSE2 Some applications need a completely loaded and activated environment to start. This shouldn't be necessary, but ok - it happens. Others should wait until I'm also in place. Here are some examples for use cases: 1.) The Google Drive: if it starts with autostart, it will crash or stall 2.) Or to start my mail program one minute after login I know this: https://bugs.kde.org/show_bug.cgi?id=456332 but seems not to be convenient. Also, I know a similar feature from Gnome and Cinnamon: https://www.linuxuprising.com/2020/11/how-to-launch-startup-applications-with.html Gnome has the "X-GNOME-Autostart-Delay=3" in Desktop files which reside in the user's "autostart" folder (~/.config/autostart) to manage the delayed start of individual applications. This would be nice also in KDE/plasma.
I have to say that this feature is needed for me too. A few apps that are started on wayland with xwayland crash, freeze, incorrectly working and so on, fixed before adding sleep to the launh command, but since the "new" way to work, is imposible to use it again...
In my testing not even Gnome supports X-GNOME-Autostart-Delay any more. If you want to delay the start of a certain app you can write a script that starts the app after sleeping for the desired amount of time. That said it seems like you want to use this to work around application bugs. Please report these to the application developers so that they can get properly addressed.
> That said it seems like you want to use this to work around application bugs. Please report these to the application developers so that they can get properly addressed. NO. Please see number #2: Or to start my mail program one minute after login. Another point is to run my streaming radio player after my IDE is up and all files are loaded. Not before. An error, caused by a bug or something else, will be reported in a suitable bug tracker.
(In reply to Nicolas Fella from comment #2) > In my testing not even Gnome supports X-GNOME-Autostart-Delay any more. Äh, from where you took this crazy idea? Please see: https://wiki.ubuntuusers.de/Autostart/#Autostart-verzoegern from January 23rd, 2023. I don't agree with you to close this bug. If you have any questions about it, you may send me a private mail.
Gnome don't when they use the xdg-aurostart-generator. We're not going to send any private email. Bug is closed. You can still leave comments.
(In reply to David Edmundson from comment #5) > Gnome don't when they use the xdg-aurostart-generator. I just read the specification for the "xdg-autostart-generator": https://www.freedesktop.org/software/systemd/man/systemd-xdg-autostart-generator.html This means in the first line for systemwide configurations, or? Could not find something for a specific user. And this wish is for KDE. So a specification for KDE will help. My reference to GNOME was an example and should show a way to do it in a (not so) similar "Desktop Environment". > We're not going to send any private email. OK. I understand!