User:Daryld: Difference between revisions
Jump to navigation
Jump to search
(New page: == Notes == Run activity from terminal sugar-launch <activity name>) |
No edit summary |
||
Line 3: | Line 3: | ||
Run activity from terminal |
Run activity from terminal |
||
sugar-launch <activity name> |
sugar-launch <activity name> |
||
Remove activity from terminal |
|||
In python: |
|||
from sugar import env |
|||
from sugar.activity import activityfactory |
|||
from sugar.activity.registry import get_registry |
|||
r = get_registry() |
|||
a = r. |
Revision as of 06:04, 19 January 2008
Notes
Run activity from terminal
sugar-launch <activity name>
Remove activity from terminal In python:
from sugar import env from sugar.activity import activityfactory from sugar.activity.registry import get_registry r = get_registry() a = r.