Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-console
diff options
context:
space:
mode:
Diffstat (limited to 'shell/sugar-console')
-rwxr-xr-xshell/sugar-console8
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()