Script started on Fri 22 Feb 2013 09:38:00 AM CST [rebelsky@church 500] ~/Web/Courses/CS195/2013S/Examples/DBus/gioExample2 $ pl aintprprompt $ qdbus :1.0 org.freedesktop.DBus $ qdbus org.freedesktop.DBus / $ qdbus org.freedesktop.DBus / method QString org.freedesktop.DBus.Introspectable.Introspect() method void org.freedesktop.DBus.AddMatch(QString) method QByteArray org.freedesktop.DBus.GetAdtAuditSessionData(QString) method QByteArray org.freedesktop.DBus.GetConnectionSELinuxSecurityContext(QString) method uint org.freedesktop.DBus.GetConnectionUnixProcessID(QString) method uint org.freedesktop.DBus.GetConnectionUnixUser(QString) method QString org.freedesktop.DBus.GetId() method QString org.freedesktop.DBus.GetNameOwner(QString) method QString org.freedesktop.DBus.Hello() method QStringList org.freedesktop.DBus.ListActivatableNames() method QStringList org.freedesktop.DBus.ListNames() method QStringList org.freedesktop.DBus.ListQueuedOwners(QString) signal void org.freedesktop.DBus.NameAcquired(QString) method bool org.freedesktop.DBus.NameHasOwner(QString) signal void org.freedesktop.DBus.NameLost(QString) signal void org.freedesktop.DBus.NameOwnerChanged(QString, QString, QString) method uint org.freedesktop.DBus.ReleaseName(QString) method void org.freedesktop.DBus.ReloadConfig() method void org.freedesktop.DBus.RemoveMatch(QString) method uint org.freedesktop.DBus.RequestName(QString, uint) method uint org.freedesktop.DBus.StartServiceByName(QString, uint) $ qdbus :1.3 org.freedesktop.DBus $ ls class5b example2* example2.c Makefile $ ./example2 & [1] 28961 $ qdbus :1.4 org.gtk.GDBus.TestServer :1.5 org.freedesktop.DBus $ qdbus ./example2 & lsqdbus org.gtk.GDBus.TestServer / /org /org/gtk /org/gtk/GDBus /org/gtk/GDBus/TestObject $ qdbus org.gtk.GDBus.TestServer /org/gtk/GDBus/TestObject method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name) method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value) method QString org.freedesktop.DBus.Introspectable.Introspect() method QString org.freedesktop.DBus.Peer.GetMachineId() method void org.freedesktop.DBus.Peer.Ping() property read QString org.gtk.GDBus.TestInterface.Bar property read QString org.gtk.GDBus.TestInterface.FluxCapicitorName property read QString org.gtk.GDBus.TestInterface.Foo property write QString org.gtk.GDBus.TestInterface.OnlyWritable property read QString org.gtk.GDBus.TestInterface.ReadingAlwaysThrowsError property readwrite QString org.gtk.GDBus.TestInterface.Title property readwrite QString org.gtk.GDBus.TestInterface.WritingAlwaysThrowsError method void org.gtk.GDBus.TestInterface.EmitSignal(double speed_in_mph) method void org.gtk.GDBus.TestInterface.GimmeStdout() method QString org.gtk.GDBus.TestInterface.HelloWorld(QString greeting) signal void org.gtk.GDBus.TestInterface.VelocityChanged(double speed_in_mph, QString speed_as_string) $ qdbus org.gtk.GDBus.TestServer /org/gtk/GDBus/TestObject org.gtk.GDBus.TestI nterface.HelloWorld "Hello" You greeted me with 'Hello'. Thanks! $ qdbus org.gtk.GDBus.TestServer /org/gtk/GDBus/TestObject org.gtk.GDBus.TestIn nterface.HelloWorld "Hello""""""G"o"o"d"b"y"e" You greeted me with 'Goodbye'. Thanks! $ qdbus org.gtk.GDBus.TestServer /org/gtk/GDBus/TestObject org.gtk.GDBus.TestIn nterface.HelloWorld "Goodbye"Return Raw" Error: org.gtk.GDBus.SomeErrorName As requested, here's a raw D-Bus error $ qdbus org.gtk.GDBus.TestServer /org/gtk/GDBus/TestObject org.gtk.GDBus.TestIn nterface.HelloWorld "Return Raw"  org.gtk.GDBus.TestI nterface.EmitSignal 32.3 $ exit Script done on Fri 22 Feb 2013 09:51:22 AM CST