Yet another way to make your app support StatusNotifierItem

BlaBlaSoftware

Yesterday I was notified of this little neat project:
github.com/encharm/libsystemtray
(And yes its author would be very happy about feedback patches and so on 😉

Basically it’s a pure C++ library with very few dependencies that implements the support for StatusNotifierItem enabling systemtray icons in KDE Plasma 5 and Ubuntu Unity.
recomonded to be used by C++ applications that don’t actually depend from Qt or GTK and want to keep their dependency footprint very small (it’s Mit licensed so should be ok to use it from an app based on any license)
So now there are officially no excuse to not use our new shiny system tray 😉

6 thoughts on “Yet another way to make your app support StatusNotifierItem

  1. Rush

    Thanks Mart for putting the message out. There is a pure C API as well and hence you could dynamically load “libsystemtray”, there is only a couple of symbols.

    Reply
  2. Rush

    Not sure but making bindings would be quite easy I believe .. although making native python implementation is not hard if you just base it on the libsystemtray. (as long as libdbus is available in python) Python is not my tale so I am not excited about making bindings for it. 😉

    Reply
    1. simgunz

      In this moment I haven’t time to look into this porting and I’m not a python expert. I hope someone do that. I was interested because I wanted to add the support to StatusNotifierItem to an addons I’ve written for the application Anki.

      Reply
  3. jeannie

    Isn’t there a way to just create an applet that shows xembed icons in the plasma5 panel instead of modifying all applications that use an xembed tray icon?
    That would make things much easier. Currently, I cannot use plasma5 on a daily base due to having quite a lot of tray icons unavailable, the drop of supporting xembed icons is a true showstopper for me. I asked the devs of some applications and they just said: If the KDE devs drop it, why should we bother, let them fix it, cause they broke it and imho, these application devs are correct with this
    J.

    Reply
  4. cccam test server

    Heya! I just wanted to ask if you ever have any problems with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no data backup. Do you have any solutions to prevent hackers?

    Reply

Comments are closed.