← Back to team overview

zeitgeist team mailing list archive

Re: [Bug 683847] Re: URI scheme for actors without a .desktop file

 

On 5 December 2010 19:32, Seif Lotfy <683847@xxxxxxxxxxxxxxxxxx> wrote:
> This opens up topic where subject uri is a mail address for a contact logged
> by telepathy
> I would like to use "person://" prefix so foo@xxxxxxx will be person://
> foo@xxxxxxx

As discussed on IRC I think we should stick to existing standards when
they are there. In this case there are two. The mailto: and tel:
schemes defined in the IANA URI schemes.

This leaves open the case where we don't have an email address or a
telephone number, but let's consider that a special case.

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/683847

Title:
  URI scheme for actors without a .desktop file

Status in Zeitgeist Framework:
  Triaged

Bug description:
  What should actors that don't have a .desktop file use as their actor URI? Currently we use application://$desktop_file_id which is very nice to wrok with because one can do g_desktop_app_info_new($desktop_file_id).

I propose we define a similar scheme in our API docs where services and daemons without .desktop files can use the basename of their DBus .service file instead and put that in a dbus:// URI scheme ala dbus://$dbus_service_id. 

Consider the example of the Ubuntu One syncdamon. The DBus service files are normally stored in /usr/share/dbus-1/services/ and it has indeed com.ubuntuone.SyncDaemon.service stored there. This daemon would then have actor URI dbus://com.ubuntuone.SyncDaemon.service.

This is useful because it allows me to obtain both the executable name of the daemon process as well as the DBus name it claims. Together with the service file this gives me 3 pieces of crucial metadata on the actor.





References