Ok, just so you know, I haven't worked with dbus or perl much, so I might say some things that are off.
I'm trying to use dbus to work with compiz programmatically. And looking at compiz wiki http://wiki.compiz.org/Plugins/Dbus, I see that python seems like the way that it is easiest to do this. So I got to this
import sys, dbus, subprocess
bus = dbus.SystemBus()
bus.get_object('org.freedesktop.compiz','/org/freedesktop/compiz')
This, however gives me problems because apparently dbus cannot find the compiz dbus service. The syntax is right, it works with org.freedesktop.EverythingElse
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.compiz was not provided by any .service files
The weird thing is that I Googled around and managed to get a perl script that listed the services (using org.freedesktop.DBus), and it showed compiz as one of them.
Also, perl seemed to be able to use the compiz service. But, I don't think I could script it in perl because I'm not great at perl and I don't even really know how dbus works so I'd be killing myself there.
I'm trying to be able to do stuff with compiz like change workspaces. I guess I can do that with faked keystokes, but that's to much of a hack, and I might want to add more advanced behaviors.
It's a new install of arch-linux, so I'm wondering if I might be missing a package.