Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know how to add an appindicator menu from my application, but I can't seem to find how to remove it but still keep my program running in the background. Is there a way to do this?

share|improve this question
add comment

2 Answers 2

up vote 7 down vote accepted

Found out that you can hide an indicator by calling

indicator.set_status(appindicator.STATUS_PASSIVE)

Which was all I needed.

share|improve this answer
    
Here's a link to some half-decent AppIndicator docs: developer.ubuntu.com/api/ubuntu-11.04/libappindicator/… –  Erigami Oct 14 '11 at 1:11
add comment

Take a look at the code for emesene. I'm not sure how they get it done as I haven't seen this part of the code myself, but emesene has an optional application indicator.

share|improve this answer
add comment

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.