sys.exit('Usage: %s command' % sys.argv[0])
bus = dbus.SessionBus()
- remote_object = bus.get_object("name.phdru.XSetBg", "/XSetBg")
+ remote_object = bus.get_object("name.phdru.XSetBg", "/name/phdru/XSetBg")
iface = dbus.Interface(remote_object, "name.phdru.XSetBg")
getattr(iface, command)()