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)()
session_bus = dbus.SessionBus()
name = dbus.service.BusName("name.phdru.XSetBg", session_bus)
- object = XsetBg(session_bus, '/XSetBg')
+ object = XsetBg(session_bus, '/name/phdru/XSetBg')
change(force=True)
mainloop = gobject.MainLoop()