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

Possible Duplicate:
How to start applications at startup automatically?

How can I specify the commands which I want to execute when system is started?

So far I tried to write it in .initrc, .xinitrc, .xprofile but none of them seems working.

I use Ubuntu 12.04 and LightDM.

share|improve this question

marked as duplicate by January, Mitch, Scott Severance, Jjed, Anwar Shah Sep 30 '12 at 19:06

This question was marked as an exact duplicate of an existing question.

I think you will find what you need in this discussion.

Other solution will be to create a script in /etc/init.d and use update-rc.d, but not sure this is what you are looking for...

Hope this help.

share|improve this answer

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