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 was recently frustrated to find that I could not add the gnome "sensors-applet" to the unity bar/panel along the top of the desktop.

Assuming somebody (like me perhaps) wanted to modify an applet like "sensors-applet" (made for gnome desktop) so it could be added to the unity bar/panel, what source-code and/or libraries would I need to write/modify such software?

Could I do something like this by [more-or-less] finding an applet that can be added to the unity bar/panel, rip out that part of the code that puts the icon on the panel, then graft that onto the original "sensors-applet" in place of the equivalent gnome panel code? Or is this idea totally naive?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I think appindicator is what you are looking for http://unity.ubuntu.com/projects/appindicators/.

share|improve this answer
    
Thanks! I'm reading the documentation to learn more. One question though. Why doesn't someone create an open standard so all future bar/panel applets run on every bar/panel of every future desktop? It seems a shame that all sorts of really great applets become useless just because someone reinvents the bar/panel interface every 2 or 3 years. –  honestann Jun 19 '12 at 18:21
    
The app was probably built as a gnome panel applet instead of an indicator. I don't know why they didn't offer some sort of a compatibility layer to bring exsisting panel applets to unity and gnome 3 but I'm sure they have their reasons why. –  Reuben Swartz Jun 19 '12 at 18:26

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.