Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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.

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

Your Answer

 
discard

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.