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 file in ~/.config/autostart/ that looks like this:

[Desktop Entry]
Exec=python ~/Documents/StackApplet/
Comment=a panel indicator for monitoring StackExchange sites



Unfortunately, it isn't working; the application is not starting when I log in. If I open a terminal and copy-and-paste the command listed in Exec above, then the application runs just fine.

What am I doing wrong?

share|improve this question
up vote 7 down vote accepted

Try expanding the ~/Documents/StackApplet/ to the full path, using ~ in the path may not be supported in .desktop files.

share|improve this answer
Well, I'll try it. – Nathan Osman Oct 22 '10 at 1:14
Yup, that was the problem all right. Thanks! – Nathan Osman Oct 22 '10 at 1:15

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.