Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using ubuntu 12.04 and i know the GUI way to maintain the startup program list but now i want to find out the way to add/remove startup applications through Command Line Interface(CLI) .

Thank you .

share|improve this question
    
Refer askubuntu.com/questions/19320/… and also possible duplicate –  atenz Aug 21 '12 at 14:37

1 Answer 1

up vote 7 down vote accepted

In your home directory, the is a folder called .config/autostart. Anything placed in this folder will be run when you login. This could be accomplished through the command line by creating the .desktop file with the command nano ~/.config/autostart/blah.desktop. If you like to find out about the syntax of .desktop files, you can visit Freedesktop and Gnome.

share|improve this answer

Your Answer

 
discard

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.