I would like to use dbus to signal other instances of the same family of applications.
It seems that to issue a signal I must execute a g_bus_own_name
, emit the signal when the name is acquired, then g_bus_unown_name
.
This seems like a bit of palava just to send a signal.
When the name is acquired, another instance of the application will hang waiting for this instance to 'unown' the name.
The deprecated way of dbus_message_new_signal
/dbus_connection_send
was much more straight forward.
Is there a simpler way to send the signal (without owning the name).