https://bugs.kde.org/show_bug.cgi?id=481278
Bug ID: 481278
Summary: [feat] Startup delay and precondition
Classification: Applications
Product: systemsettings
Version: unspecified
Platform: unspecified
OS: Linux
Status: REPORTED
Keywords: junior-jobs
Severity: wishlist
Priority: NOR
Component: kcm_autostart
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
It seem essential to be able to delay startup of apps mostly for two reasons:
1. Give resources to more important startup tasks.
2. Wait for depended apps to start first.
In my case it is essential to wait for network to get connected (which takes a
while) before starting some apps. Starting those apps sooner puts them in a bad
state and consumes extra resources as they are trying to connect to internet.
Generalizing this idea, it would have been nice to be able to run a zsh/bash a
script as pre-run and use its result as a flag to start up app or not. For
example to delay start we could simply put it this way:
'sleep 3'
If we wanted to run an app if a file exists:
'[[ -f /some/file.flag ]] && return 0'
I believe this is fairly simple to implement while providing a huge amount of
flexibility. We can even have 2 or 3 snippets for the most useful scripts like
delay.
--
You are receiving this mail because:
You are watching all bug changes.