OLPC and .service files in a users home directory

Thiago Macieira thiago at kde.org
Mon Oct 30 23:17:02 PST 2006


Havoc Pennington wrote:
>If we did put the [D-BUS Service] group from the .service file into a
>.desktop file in the menu hierarchy, would the session bus daemon need
>to parse all the .desktop files? Remember it isn't using the
>desktop-specific cache capabilities to do it, and has to do it on
>login... in addition to being less numerous, .service files lack
>translations and are thus a lot smaller.

Hmm... I guess you've got the strongest reasons there. It's much simpler 
to make the desktop understand D-Bus service files (and why would we need 
that?) than to make D-Bus understand the desktop menu.

>where if the DBusName key is present, the owner of that name has to
>support an interface like org.freedesktop.Launchable that can be used to
>run the application with the given DBusArgs. This could (maybe) make
>opening a new window in an already-running app an instantaneous
>operation, instead of forking a new process that does a bunch of
>initialization and connects to dbus only to hand off to the old process.

That's a good idea too.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061031/a816f72b/attachment.pgp


More information about the dbus mailing list