User:Daryld: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Notes) |
||
Line 5: | Line 5: | ||
Remove activity from terminal |
Remove activity from terminal |
||
cd Activities |
|||
In python: |
|||
rm <activity> |
|||
from sugar import env |
|||
This worked if I removed all the activities. When I only removed one, it seemed to get confused when I tried to sugar-launch another, similarly named activity. Should look into this further. |
|||
from sugar.activity import activityfactory |
|||
from sugar.activity.registry import get_registry |
|||
r = get_registry() |
|||
a = r. |
Revision as of 06:45, 19 January 2008
Notes
Run activity from terminal
sugar-launch <activity name>
Remove activity from terminal
cd Activities rm <activity>
This worked if I removed all the activities. When I only removed one, it seemed to get confused when I tried to sugar-launch another, similarly named activity. Should look into this further.