Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.