10 lines
234 B
Python
Executable File
10 lines
234 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import dbus
|
|
import dbus.glib
|
|
|
|
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()
|