I have written a command line C application that I need to run every time the system starts up. How would I go about doing this? I have seen other questions and answers that show ways to do this for pre-installed software via visual menus but this is just a custom written binary that I need to make sure runs after every reboot. Is there any way I can do this, or must I write a shell script that runs the binary and find a way to add that to the scripts that get run at startup? I am running on 10.04.
|
|
Assuming this can run at the very end of the boot process, you can either just include it in |
|||
|
|
|
There are couple of ways. All based on what permission you require, Easiest one is as follows, The following is tutorial for
- Open startup applications from the power cog Click on
Then provide the details,
|
|||
|
|
|
If you want to execute something each time you are logged in you have to modify your local
If you want to execute something each time you start a login shell you can modify your
In you case you have to add your executable to Something like
|
|||
|
|

