← Back to team overview

zeitgeist team mailing list archive

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

 

Not having an email address is not a special case when it comes to IM
service identifiers. Many of the most popular services, such as Skype
and AIM, use other types of identifiers.

As mailto:// is only to be used for valid email addresses, I'd say it's
insufficient for our needs.

-- 
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:
  Opinion

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