Em Terça-feira 21 Setembro 2010, às 14:29:46, Thiago Macieira escreveu:
> The bus address is stored in a hidden X11 window and you can obtain it by 
> querying. dbus-launch automatically gets it:

Oh, I forgot to say: applications automatically use that method, depending on 
the D-Bus version.

For whatever reason, on some systems (like Harmattan), it doesn't work. I 
guess the library is patched:

~ $ qdbus
Could not connect to D-Bus server: : 

So you can just use a special setting:
~ $ export DBUS_SESSION_BUS_ADDRESS=autolaunch:
~ $ qdbus
:1.1
[more stuff here]

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Qt Developer Days 2010  -  Munich Oct 11-13  -  San Francisco Nov 1-3
For more information and to register: http://qt.nokia.com/qtdevdays2010

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to