OLPC and .service files in a users home directory

Thiago Macieira thiago at kde.org
Mon Oct 30 10:09:20 PST 2006


John (J5) Palmieri wrote:
>There are a couple of ways we can go about this.  We can expand
>variables in the path that start with the dollar sign (e.g.
><servicedir>$HOME/.dbus/service</service>) or add a special tag (e.g.
><servicedir><homedir />/.dbus/service</service>).

Please don't. Don't invent a new method.

Let's just reuse $XDG_DATA_DIRS and $XDG_DATA_HOME. We already have an 
infrastructure of setting those values and we have reasonable defaults. I 
would also recommend renaming .service to .desktop and cascading the 
configuration like in the menu spec.

This means a lot of code for dbus-daemon and non 1.0 code.

-- 
  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/20061030/526826b4/attachment.pgp


More information about the dbus mailing list