6 __author__ = "Oleg Broytman <phd@phdru.name>"
7 __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
8 __license__ = "GNU GPL"
18 sys.exit('Usage: %s command' % sys.argv[0])
20 bus = dbus.SessionBus()
21 remote_object = bus.get_object("name.phdru.XSetBg", "/XSetBg")
22 iface = dbus.Interface(remote_object, "name.phdru.XSetBg")
24 getattr(iface, command)()
26 if __name__ == '__main__':