Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Menu indicator ubuntu 14.04 Qt
Forum Updated to NodeBB v4.3 + New Features

Menu indicator ubuntu 14.04 Qt

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    michael222
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      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

      157

      1 Reply Last reply
      0
      • M Offline
        M Offline
        michael222
        wrote on last edited by
        #3

        I did exactly that:
        @Registration

        An 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?

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          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.

          157

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved