Cross platform URI schemes and notification area icons

Marty Jack martyj19 at comcast.net
Sun Jul 24 07:40:02 PDT 2011



On 07/24/2011 09:49 AM, Keith Poole wrote:
> Hey,
> 
> Thanks for your response, however I was referring to registering it with the system, eg: application 'abc' starts and registers the scheme abc:// to run itself passing the URL as a parameter. 
> 
> Under Windows and Mac OS this is quite easy, but there are so many varieties of Linux and different desktop managers that I was hoping there might be some sort of cross-DM management tool, similar to, or as part of xdg-utils. 
> 
> Thanks
> -Keith
> 
> On 24/07/2011, at 11:26 PM, Marty Jack <martyj19 at comcast.net> wrote:
> 

Unix-like systems tend to use MIME type as the input key for deriving an application that will handle a particular format.  See xdg-mime and

http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html

There is no desktop independent registry for "scheme" such as you are describing.  There are GNOME and KDE and browser specific ways of configuring it.

>>
>>
>> On 07/24/2011 07:26 AM, Keith Poole wrote:
>>> Hey,
>>>
>>> Sorry if this has been covered before, but I couldn't find anything after a fair bit of research.
>>>
>>> I'm looking for a fairly distribution/DM-agnostic (eg: will work with Gnome/KDE/XFCE/etc) way of registering a new URI scheme such as abc://name?data and for creating a Notification Area icon.
>>>
>>> Any help or suggestions would be appreciated.
>>>
>>> Thanks in advance,
>>> -Keith
>>>
>>>
>>> _______________________________________________
>>> xdg mailing list
>>> xdg at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/xdg
>>
>> Well technically the IETF registers scheme names.  However unless your application has industry wide impact they are not going to bother with you.  I would suggest using whatever you like that seems unused and (up to some point pre-release) be prepared to change it if you later learn of a collision.  It is hard to know without some more detail about the scope of what you are doing.
>>
>> As to notification area icons, in GTK there is GtkStatusIcon or GtkPlug; Qt has QSystemTrayIcon.  If you were interested in the Ubuntu specific indicator applet mechanism, libindicator.
> 


More information about the xdg mailing list