Displaying 1 result from an estimated 1 matches for "sessionbus".
Did you mean:
session_bus
2007 Jan 01
1
DBus setting options broken
...->type instead of option->value.list.type but that
change alone doesn't seem to fix it. I've spent about an hour trying
to track this one down and am completely lost, hopefully someone else
can figure it out.
Here is the code I'm using to set a list option:
import dbus
bus = dbus.SessionBus()
obj = bus.get_object('org.freedesktop.compiz',
'/org/freedesktop/compiz/core/allscreens/active_plugins')
iface = dbus.Interface(obj, 'org.freedesktop.compiz')
value = iface.get()
value.remove('place')
iface.set(value)
--
Travis Watkins
http://www.realistanew.com