Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run some executable files, not when system startup, but after a few second after login?

It is a *.sh files.

share|improve this question
up vote 0 down vote accepted

You can use a master bash file that contain a sleep time & all your executable.


sleep 30 &&

Now make this file to run at startup.

Also refer to this guide How do I start applications automatically on login?

share|improve this answer
Will *.sh be executed after 30 seconds? Where do I put my *.sh files? – Nur Apr 3 '13 at 17:28
yes.. you can keep sh file anywhere. Just add a entry in start up application. Follow this guide How do I start applications automatically on login?. For a system wide get knowledge of upstart – Web-E Apr 3 '13 at 17:46
Solved my problem. Thanks. – Nur Apr 3 '13 at 17:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.