Menu indicator ubuntu 14.04 Qt
-
I would like to make my Qt application appeared in the Messaging menu (indicator) in Ubuntu 14.04 LTS. How can I reach it? Thanks in advance.
-
Hi,
AFAIK, it is not possible through Qt. You will have to check "How_applications_should_integrate_with_the_messaging_menu":https://wiki.ubuntu.com/MessagingMenu/#How_applications_should_integrate_with_the_messaging_menu and "API":https://wiki.ubuntu.com/MessagingMenu#API.
Apart from that if you want to show in in System tray, you can use "QSystemTrayIcon":http://qt-project.org/doc/qt-5/QSystemTrayIcon.html -
I did exactly that:
@RegistrationAn application is registered to show in the menu if both of these are true:
$HOME/.config/indicators/messages/applications-blacklist/ does not contain a text file that contains the pathname of the application’s .desktop file; $HOME/.config/indicators/messages/applications/ contains a text file that contains the pathname of the application’s .desktop file, that .desktop file exists, and the program the .desktop file refers to also exists.
@
But my application does not appear in the Message menu.API tell me about only registration. But what about other things?
-
Well, IMO you should ask this question on Ubuntu forums, since this is more Ubuntu related than Qt. You have higher chances of gettting the answer there than here for this question.