How can I make something run on startup, but only if I'm logged in locally?

Specifically, I have Conky all set up and running on two different machines. I did this by just running it from my .profile. The problem is that when I ssh -X from one machine to the other, the remote conky covers up the local one, and I don't really want to see it at all. So where do I put the call to conky where it won't run when I log in through SSH?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

You should be using the autostart specification to start Conky. Both Gnome and KDE (and possibly other environments) have their own interface for modifying autostart entries.

link|improve this answer
Cool, that allowed me to remove it from my .profile – Isaac Cambron Jul 14 '10 at 4:34
feedback

Your Answer

 
or
required, but never shown

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