Ubuntu – How to use application indicator for KDE application


How can I use libappindicator to create an application indicator for a KDE app in C++ without using GTK? The example shown here uses GTK to create the menu. Is this necessary? Is there a KDE application somewhere that uses an application indicator that I can check out?

(I wanted to tag this question with appindicator and libappindicator, but I don't have enough "reputation" to do that.)

Best Answer

  • Application indicators are based on KStatusNotifierItem.

    I'm not too familiar with it but here's a tutorial on how to get started. That's all you really need to get it to work, the app icon and it's menus should then render properly regardless of which desktop it's in.