C api for an application to access the menus of its icon in the dock

Dan Hitt dan.hitt at gmail.com
Fri Dec 11 02:11:13 UTC 2015


Thanks Michael, Juhapekka, and Thomas for the information and the links.

The concept is very interesting, because it means that an app doesn't have
to know very much to get those right click menus --- it just needs somebody
to have set up a *.desktop for it.

Obviously that's a big plus, and clearly this kind of setup was intended to
enhance portability.

It does seem pretty static, though, but i'm not sure i have a plausible
use case why something more dynamic would be useful sometimes.

Anyhow, thanks again for giving me this important information to try to digest.

dan



On Thu, Dec 10, 2015 at 7:01 AM, Michael Hall <mhall119 at ubuntu.com> wrote:
> Correct, these come from the .desktop file and are part of the XDG
> DesktopEntry spec:
> http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s10.html
>
> Michael Hall
> mhall119 at ubuntu.com
>
> On 12/10/2015 12:14 AM, Thomas Mashos wrote:
>> I could be completely wrong about this, but I'm not at home so I can't
>> look it up. I thought that I saw stuff related to this in the Firefox
>> .desktop file. Maybe take a look in there
>>
>>
>> On Wed, Dec 9, 2015, 9:11 PM Dan Hitt <dan.hitt at gmail.com
>> <mailto:dan.hitt at gmail.com>> wrote:
>>
>>     Some applications which run on ubuntu have more extensive menus their
>>     dock icons than others.
>>
>>     For example, Firefox and Terminal both gives ways to create a new
>>     window directly from their dock icons, while (e.g.) gimp does not.
>>
>>     So i assume that this means that there is an api that an application
>>     can use to manage its dock menus.
>>
>>     Is this the case?
>>
>>     Is there a C version of this api?
>>
>>     Where is it documented?
>>
>>     And how could i look up this information in the system docs?
>>
>>     Thanks in advance for any info.
>>
>>     dan
>>
>>     --
>>     Ubuntu-app-devel mailing list
>>     Ubuntu-app-devel at lists.ubuntu.com
>>     <mailto:Ubuntu-app-devel at lists.ubuntu.com>
>>     Modify settings or unsubscribe at:
>>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-app-devel
>>
>> --
>> Thomas Mashos
>>
>>
>
> --
> Ubuntu-app-devel mailing list
> Ubuntu-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-app-devel



More information about the Ubuntu-app-devel mailing list