This is a very simple solution in C for sending DBus signal.