commandline tool to trigger actions on dbus-signal

Thiago Macieira thiago at kde.org
Tue Feb 22 00:58:17 PST 2011


Em terça-feira, 22 de fevereiro de 2011, às 09:24:02, Mikkel Kamstrup >   
dbus-monitor
> "type='signal',interface='com.example.SuperService',member='DuperSignal'"
> 
> Then pipe that into some process that reads from stdin, does something,
> and then exits once it reads anything off stdin.

After the first line. You'll get at least the NameAcquired signal you didn't 
ask for as the first line.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110222/c3f87fe3/attachment.pgp>


More information about the dbus mailing list