capture and replay signals

Sven sven.2009 at
Thu Aug 19 01:35:31 PDT 2010

Thank you for the reply,

now i wonder how i can subscribe for signals independent of the a name.

I use dbus_g_proxy_new_for_name, dbus_g_proxy_add_signal and dbus_g_proxy_connect_signal.

Is it possible to use wildcards in *name, or even leave it free?

BusGProxy* dbus_g_proxy_new_for_name(DBusGConnection *connection,
const char *name,
const char *path,
const char *interface);

br, Sven

-------- Original-Nachricht --------
> Datum: Wed, 18 Aug 2010 18:23:43 +0200
> Von: Thiago Macieira <thiago at>
> An: dbus at
> Betreff: Re: capture and replay signals

> On Wednesday 18 August 2010 09:57:17 Sven wrote:
> > Is this possible? I could not do it, i suppose because of application B
> > subscribed only for signals from Application A right? dbus-send will
> emit
> > the signal, but with a different "sender=". So i suppose that is the
> > reason why the signal doesn't arrive at B. Am i right? Can i still
> > simulate a Signal from A somehow without modifying A or B?
> Hi Sven
> Your understanding is correct. 
> Of course, it depends how the target application was configured to listen
> for 
> the signal. If it's listening for the signal of a specific interface
> coming 
> from any application, your dbus-send functionality should work.
> -- 
> Thiago Macieira - thiago (AT) - thiago (AT)
>   Senior Product Manager - Nokia, Qt Development Frameworks
>       PGP/GPG: 0x6EF45358; fingerprint:
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

More information about the dbus mailing list