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.


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.

| 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 setup.py, then you would add the appropriate info to the data_files argument to setup(), as specified in the distutils documentation: docs.python.org/distutils/… – dobey Jun 22 '12 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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