Add script to launch an activity. Associate F4 in the wm to the terminal activity
This commit is contained in:
parent
af54f25e0e
commit
53947aaaf2
@ -1,6 +1,10 @@
|
||||
SUBDIRS = data
|
||||
|
||||
bin_SCRIPTS = sugar sugar-activity
|
||||
bin_SCRIPTS = \
|
||||
sugar \
|
||||
sugar-activity \
|
||||
sugar-activity-factory \
|
||||
sugar-people
|
||||
|
||||
sugardir = $(pkgdatadir)/shell
|
||||
sugar_PYTHON = \
|
||||
|
@ -7,3 +7,4 @@
|
||||
<Alt>c=close
|
||||
f1=desktop
|
||||
f2=!sugar-people
|
||||
f4=!sugar-activity org.sugar.Terminal
|
||||
|
7
shell/sugar-activity
Executable file
7
shell/sugar-activity
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
|
||||
from sugar.activity import Activity
|
||||
|
||||
Activity.create(sys.argv[1])
|
Loading…
Reference in New Issue
Block a user