Arbitrary string to DBus path

Ted Gould ted at
Fri Nov 15 13:29:22 PST 2013

On Fri, 2013-11-15 at 16:15 -0500, Colin Walters wrote:

> On Fri, 2013-11-15 at 11:21 -0600, Ted Gould wrote:
> > Thoughts?  Is this something the spec needs?  
> My main question: How would debugging tools like d-feet know that a
> particular object path was encoded using this algorithm?  Maybe you
> could insert some string like "/dbusescaped/"; dunno.
> BTW there are several functions like this in glib too I'm sure; I
> spotted gdesktopappinfo.c:object_path_from_appid() in a quick search.
> So I agree that it would make sense to have a "standard" blessed
> escaping in libdbus, and we could replicate that to glib and libnih.  If
> there were a non-ugly way to have it be actually useful to d-feet, that
> could argue for having it in the spec as a recommended thing for dbus
> tools to try to reverse.

It would be cool if D-Feet could reverse it.  It would seem that _NN
would be uncommon enough that it could just assume that if it sees it,
reverse that path?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the dbus mailing list