Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to make an indicator for Ubuntu? (Because tray is useless )...



  • So as more of you know, ubuntu has dropped the whole thing about tray and bringed something new called indicators.. As far as i know Qt is able to make only a tray and not an indicator (Just to mention there is a package in ubuntu called sni-qt which comes preinstalled, that can show tray icons but they lose a lot of their abilities like left clicking, scrolling at tray and others )..

    If i am not able to create an indicator with Qt, should i use a more native IDE to create an external executable which only thing it does is to show the indicator?



  • There is an official link of ubuntu ( http://developer.ubuntu.com/resources/technologies/application-indicators/ ) that gives you how to create the appindicator with Typical usage (C version)..

    my project is on c++ will i be able to somehow implement this code to my project?


  • Moderators

    Maybe this is what you are looking for: http://www.webupd8.org/2011/09/ubuntu-indicator-for-qt-applications.html

    IIRC the ubuntu indicators are using the same interfaces as KDE, so maybe you can use their libraries to access them. They should be more Qt-ish than what ubuntu promotes on their site.



  • [quote author="Tobias Hunger" date="1354194439"]Maybe this is what you are looking for: http://www.webupd8.org/2011/09/ubuntu-indicator-for-qt-applications.html

    IIRC the ubuntu indicators are using the same interfaces as KDE, so maybe you can use their libraries to access them. They should be more Qt-ish than what ubuntu promotes on their site.[/quote]

    Didn't u read my 1st post?
    "(Just to mention there is a package in ubuntu called sni-qt which comes preinstalled, that can show tray icons but they lose a lot of their abilities like left clicking, scrolling at tray and others )"


Log in to reply