diff options
Diffstat (limited to 'shell/sugar-console')
-rwxr-xr-x | shell/sugar-console | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/sugar-console b/shell/sugar-console new file mode 100755 index 0000000..ed9c162 --- /dev/null +++ b/shell/sugar-console @@ -0,0 +1,8 @@ +#!/usr/bin/python + +import dbus + +bus = dbus.SessionBus() +proxy_obj = bus.get_object('com.redhat.Sugar.Shell', '/com/redhat/Sugar/Shell') +shell = dbus.Interface(proxy_obj, 'com.redhat.Sugar.Shell') +shell.show_console() |