13 sys.exit('Usage: %s command' % sys.argv[0])
15 bus = dbus.SessionBus()
16 remote_object = bus.get_object("name.phdru.XSetBg", "/name/phdru/XSetBg")
17 iface = dbus.Interface(remote_object, "name.phdru.XSetBg")
19 getattr(iface, command)()
21 if __name__ == '__main__':