Jeffrin Jose wrote:
On Fri, Feb 25, 2011 at 08:25:58AM -0600, Hugo Vanwoerkom wrote:Anybody tried using dbus as root non-gui like Hal does?Following link may be helpful for you... 1. http://www.ibm.com/developerworks/linux/library/l-dbus.html Try using the following files in root mode. 1. http://www.beautifulwork.org/wp-content/uploads/2011/02/dbus-ping-send.c 2. http://www.beautifulwork.org/wp-content/uploads/2011/02/dbus-ping-listen.cI had compile errors. I have not fixed it. You can try it out for yourself.
Thanks Jeffrin. Still having compile errors. Here is another interesting example for Qt. http://wiki.forum.nokia.com/index.php/QtDbus_quick_tutorial Hugo