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 have a PyGtk application that I made using Quickly, and I would like to have it run on startup when installed. How would I go about doing this? I'm not sure if sticking the .desktop file in ~/.config/autostart/ would make it work or not. If that will fix it, I don't know how to add it to that folder since Quickly packages the project for you and has it's own installation script. Is it possible to modify what it does on installation?

If possible, I would also like to add the program in the System Settings Personal tab, but I do not know how to do that.

share|improve this question
up vote 4 down vote accepted

To have it run on start-up for everyone, you should install an autostart file in /etc/xdg/autostart as per the XDG Autostart Specification.

share|improve this answer
Thanks! Do you know how I could modify Quickly's install script to add the .desktop file to that folder? – unknownone Jun 22 '12 at 3:07
If the script is a standard Python, then you would add the appropriate info to the data_files argument to setup(), as specified in the distutils documentation:… – dobey Jun 22 '12 at 12:47

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.