This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how can I add delay to KDE Autostart items

Tags: None
(comma "," separated)
User avatar
lloncosky
Registered Member
Posts
6
Karma
0
Simple question, is there a way to add 10 second delay to programs I have in Autostart control module? For example, I want to have SpiderOak start last or after a 10 second delay. Can the autostart programs be started in a certain order?
User avatar
google01103
Manager
Posts
6668
Karma
25
for delay try

see next post and do not use: sleep 10; spideroak


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Be careful when using such syntax - you could stall the login for those 10 seconds it sleeps for.
I would recommend doing something like this instead, which will immediately go into the background:
Code: Select all
sleep 10s && spideroak &


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
lloncosky
Registered Member
Posts
6
Karma
0
bcooksley wrote:Be careful when using such syntax - you could stall the login for those 10 seconds it sleeps for.
I would recommend doing something like this instead, which will immediately go into the background:
Code: Select all
sleep 10s && spideroak &


Got it, Thanks for helping me out.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]