Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm author of a couple off apps that make use of systray. Recently, since in some desktops only the indicator is supported (see ubuntu unity), I introduced a check and if indicator is supported the app uses indicator in place of systray.

try:
    import appindicator
    HAS_APPINDICATOR = True
except: HAS_APPINDICATOR = False

which works pretty good, the problem is that I still would like to use systray in place of indicator if systray is supported. Is there a way to understand if systray is supported/not blocked from the current desktop environment?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.