How can I delay a specific program on startup?Delay Cairo-DockIs there a command to start a program after a delay?How can I delay dropbox from starting, but not disable it?How to start Thunderbird minimized on start-up?How do I limit Dropbox's activity on the hard disk?how can i write a shell script that will run at startup and introduce a delay in the start of an applicationHow do I delay a startup application in Lubuntu?Execute a command 20 seconds after the desktop is bootedSleep command not working with start up applicationsHow do I delay launching Splashtop at startup by ten seconds?How can I have different startup programs for “Desktop Edition” and “Classic Edition” sessions in 11.04?How to make Cairo dock(with opengl) excute only on Gnome-Classic?Cairo dock shows a vertical line instead of showing a dock!Cairo dock and unitycairo-dock (fallback) won't run at start-up (ubuntu 16.04)Cairo-Dock recognizes App when starting after App, but not other way roundCairo Dock in Lubuntu 18.04.1
What is the business model of discounted gift cards?
Copying files: Does Windows write to disk if files are identical
How long would it take to build 30 miles of Roman road?
Natural Metre Bar
Is This Constraint Convex?
Algorithm that converts array-like data into MathJax: Python
How can a signal be both periodic and random?
should I include offer letter from a different institution in my application for a faculty position
Is there a name for the phenomenon of false positives counterintuitively outstripping true positives
How to engage Decker in the actual run?
How can I increase the rate of regeneration in humans without the possibility of tumors developing?
Why is Robin Hood French in Shrek?
How to write 2**n - 1 as a recursive function?
Had J. K. Rowling seen This Is Spinal Tap before writing Harry Potter and the Philosopher's Stone?
In this context which is better: astuta or intelligente?
Is the EU Settlement Scheme legal?
Why is Microwaved mac & cheese burnt where they touch?
Why are one-word titles so dominant in books, film, and games?
Why does the viscosity of honey decrease when mixed with other viscous fluids?
Are commoners actually this squishy?
Confusion in PID loop?
SpaceX Starship landing on Moon or Mars: why doesn't it fall over?
Are these 2 resistors in parallel?
Find the closest enemy
How can I delay a specific program on startup?
Delay Cairo-DockIs there a command to start a program after a delay?How can I delay dropbox from starting, but not disable it?How to start Thunderbird minimized on start-up?How do I limit Dropbox's activity on the hard disk?how can i write a shell script that will run at startup and introduce a delay in the start of an applicationHow do I delay a startup application in Lubuntu?Execute a command 20 seconds after the desktop is bootedSleep command not working with start up applicationsHow do I delay launching Splashtop at startup by ten seconds?How can I have different startup programs for “Desktop Edition” and “Classic Edition” sessions in 11.04?How to make Cairo dock(with opengl) excute only on Gnome-Classic?Cairo dock shows a vertical line instead of showing a dock!Cairo dock and unitycairo-dock (fallback) won't run at start-up (ubuntu 16.04)Cairo-Dock recognizes App when starting after App, but not other way roundCairo Dock in Lubuntu 18.04.1
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
How to delay a program such as cairo-dock (No openGL) or Firefox?
Sometimes programs crash when started with other startup apps. I want programs to start 10 seconds late to avoid a crash.
configuration startup cairo-dock
add a comment
|
How to delay a program such as cairo-dock (No openGL) or Firefox?
Sometimes programs crash when started with other startup apps. I want programs to start 10 seconds late to avoid a crash.
configuration startup cairo-dock
see askubuntu.com/questions/22512/…
– belacqua
Mar 2 '11 at 7:54
add a comment
|
How to delay a program such as cairo-dock (No openGL) or Firefox?
Sometimes programs crash when started with other startup apps. I want programs to start 10 seconds late to avoid a crash.
configuration startup cairo-dock
How to delay a program such as cairo-dock (No openGL) or Firefox?
Sometimes programs crash when started with other startup apps. I want programs to start 10 seconds late to avoid a crash.
configuration startup cairo-dock
configuration startup cairo-dock
edited Feb 14 '15 at 18:11
MERose
2086 silver badges19 bronze badges
2086 silver badges19 bronze badges
asked Mar 2 '11 at 7:47
user11701user11701
see askubuntu.com/questions/22512/…
– belacqua
Mar 2 '11 at 7:54
add a comment
|
see askubuntu.com/questions/22512/…
– belacqua
Mar 2 '11 at 7:54
see askubuntu.com/questions/22512/…
– belacqua
Mar 2 '11 at 7:54
see askubuntu.com/questions/22512/…
– belacqua
Mar 2 '11 at 7:54
add a comment
|
4 Answers
4
active
oldest
votes
Delaying autostart with inbuilt delay option
Note: Only works with desktop sessions that recognize the X-GNOME-Autostart-Delay
parameter (e.g. Unity, Unity2D, GNOME). This will not work for LXDE, XFCE, KDE, etc.
With this solution there's no need for a script or sleep. Head to your autostart folder:
nautilus ~/.config/autostart
Find the .desktop
file that corresponds with your application and open it in a text editor, e.g. gedit
:
gedit ~/.config/autostart/application.desktop
Append the following line to the file:
X-GNOME-Autostart-Delay=foo
where foo
is the time in seconds you want to delay the application launch by, e.g.:
X-GNOME-Autostart-Delay=60
Save the file, relog and you should see the effects.
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
2
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
add a comment
|
Try this: bash -c "sleep 10 && firefox"
1
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
add a comment
|
You could try to change the command to this:
sleep 10 && firefox
Some people say it works, some say it doesn't, if this is your case, and it does not work, you can try with:
xterm -e 'sleep 10 && firefox'
add a comment
|
I had to use this to get it to work for skype: sh -c "sleep 10 && skype &"
in Ubuntu 12.04
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f28685%2fhow-can-i-delay-a-specific-program-on-startup%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Delaying autostart with inbuilt delay option
Note: Only works with desktop sessions that recognize the X-GNOME-Autostart-Delay
parameter (e.g. Unity, Unity2D, GNOME). This will not work for LXDE, XFCE, KDE, etc.
With this solution there's no need for a script or sleep. Head to your autostart folder:
nautilus ~/.config/autostart
Find the .desktop
file that corresponds with your application and open it in a text editor, e.g. gedit
:
gedit ~/.config/autostart/application.desktop
Append the following line to the file:
X-GNOME-Autostart-Delay=foo
where foo
is the time in seconds you want to delay the application launch by, e.g.:
X-GNOME-Autostart-Delay=60
Save the file, relog and you should see the effects.
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
2
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
add a comment
|
Delaying autostart with inbuilt delay option
Note: Only works with desktop sessions that recognize the X-GNOME-Autostart-Delay
parameter (e.g. Unity, Unity2D, GNOME). This will not work for LXDE, XFCE, KDE, etc.
With this solution there's no need for a script or sleep. Head to your autostart folder:
nautilus ~/.config/autostart
Find the .desktop
file that corresponds with your application and open it in a text editor, e.g. gedit
:
gedit ~/.config/autostart/application.desktop
Append the following line to the file:
X-GNOME-Autostart-Delay=foo
where foo
is the time in seconds you want to delay the application launch by, e.g.:
X-GNOME-Autostart-Delay=60
Save the file, relog and you should see the effects.
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
2
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
add a comment
|
Delaying autostart with inbuilt delay option
Note: Only works with desktop sessions that recognize the X-GNOME-Autostart-Delay
parameter (e.g. Unity, Unity2D, GNOME). This will not work for LXDE, XFCE, KDE, etc.
With this solution there's no need for a script or sleep. Head to your autostart folder:
nautilus ~/.config/autostart
Find the .desktop
file that corresponds with your application and open it in a text editor, e.g. gedit
:
gedit ~/.config/autostart/application.desktop
Append the following line to the file:
X-GNOME-Autostart-Delay=foo
where foo
is the time in seconds you want to delay the application launch by, e.g.:
X-GNOME-Autostart-Delay=60
Save the file, relog and you should see the effects.
Delaying autostart with inbuilt delay option
Note: Only works with desktop sessions that recognize the X-GNOME-Autostart-Delay
parameter (e.g. Unity, Unity2D, GNOME). This will not work for LXDE, XFCE, KDE, etc.
With this solution there's no need for a script or sleep. Head to your autostart folder:
nautilus ~/.config/autostart
Find the .desktop
file that corresponds with your application and open it in a text editor, e.g. gedit
:
gedit ~/.config/autostart/application.desktop
Append the following line to the file:
X-GNOME-Autostart-Delay=foo
where foo
is the time in seconds you want to delay the application launch by, e.g.:
X-GNOME-Autostart-Delay=60
Save the file, relog and you should see the effects.
edited May 29 at 14:13
noraj
5023 silver badges11 bronze badges
5023 silver badges11 bronze badges
answered Oct 1 '12 at 7:08
GlutanimateGlutanimate
16.8k9 gold badges76 silver badges136 bronze badges
16.8k9 gold badges76 silver badges136 bronze badges
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
2
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
add a comment
|
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
2
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
This works very well in both ubuntu 12.04 and in 12.10-development release using Gnome-shell 3.6
– bmbaker
Oct 7 '12 at 18:01
2
2
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
Works in Ubuntu 18.04.
– Ives
Jul 3 '18 at 13:50
add a comment
|
Try this: bash -c "sleep 10 && firefox"
1
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
add a comment
|
Try this: bash -c "sleep 10 && firefox"
1
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
add a comment
|
Try this: bash -c "sleep 10 && firefox"
Try this: bash -c "sleep 10 && firefox"
answered Mar 2 '11 at 10:03
lukaszlukasz
1,8312 gold badges19 silver badges27 bronze badges
1,8312 gold badges19 silver badges27 bronze badges
1
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
add a comment
|
1
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
1
1
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
10x a lot, why does just sleep 10 && firefox not work?
– user3804598
Jan 2 '18 at 20:43
add a comment
|
You could try to change the command to this:
sleep 10 && firefox
Some people say it works, some say it doesn't, if this is your case, and it does not work, you can try with:
xterm -e 'sleep 10 && firefox'
add a comment
|
You could try to change the command to this:
sleep 10 && firefox
Some people say it works, some say it doesn't, if this is your case, and it does not work, you can try with:
xterm -e 'sleep 10 && firefox'
add a comment
|
You could try to change the command to this:
sleep 10 && firefox
Some people say it works, some say it doesn't, if this is your case, and it does not work, you can try with:
xterm -e 'sleep 10 && firefox'
You could try to change the command to this:
sleep 10 && firefox
Some people say it works, some say it doesn't, if this is your case, and it does not work, you can try with:
xterm -e 'sleep 10 && firefox'
answered Mar 2 '11 at 8:10
sebikulsebikul
1,7901 gold badge14 silver badges16 bronze badges
1,7901 gold badge14 silver badges16 bronze badges
add a comment
|
add a comment
|
I had to use this to get it to work for skype: sh -c "sleep 10 && skype &"
in Ubuntu 12.04
add a comment
|
I had to use this to get it to work for skype: sh -c "sleep 10 && skype &"
in Ubuntu 12.04
add a comment
|
I had to use this to get it to work for skype: sh -c "sleep 10 && skype &"
in Ubuntu 12.04
I had to use this to get it to work for skype: sh -c "sleep 10 && skype &"
in Ubuntu 12.04
edited Sep 28 '12 at 17:29
Anwar
59.6k26 gold badges161 silver badges266 bronze badges
59.6k26 gold badges161 silver badges266 bronze badges
answered Apr 29 '12 at 14:13
ShaunShaun
731 silver badge4 bronze badges
731 silver badge4 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f28685%2fhow-can-i-delay-a-specific-program-on-startup%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
see askubuntu.com/questions/22512/…
– belacqua
Mar 2 '11 at 7:54