[sugar] Question about write from Niue -OLPC training

Gary C Martin gary
Fri Aug 8 13:26:04 EDT 2008


Hi Greg,

On 7 Aug 2008, at 12:16, Greg Smith wrote:

> For the list, I don't know what version of Write or Browse I have on
> this XO. How do I determine that?

Hmmm, no one else seems to have answered you here yet, so here's an  
old (and quite long) single line Terminal command I had generated a  
while back to list all Activity versions installed anywhere on an XO,  
hope it's of help (feel free to post it to a wiki somewhere if you  
think it may be useful to others, though obviously not needed on newer  
os images thanks to the home page list view):

sudo find / -name activity.info -exec grep -H activity_version {} \;  
2> /dev/null | sed 's/\.activity\/activity\/activity 
\.info:activity_version = /-/' | sed 's/.*\///' | sort

This will show something like the below output; note that you may see  
some duplicate activities when they are stored out of the olpc home  
directory (i.e down in /usr/share/sugar/), this is due to the run and  
pristine file system hard link alternate boot image trickery, see http://wiki.laptop.org/go/Filesystem 
  for some pretty pictures.

AcousticMeasure-12
Analyze-5
Bounce-5
Browse-95
Calculate-23
Chat-45
Colors-3
Develop-34
Etoys-87
Journal-96
Journal-96
Log-13
Maze-5
Measure-17
Model-8
Moon-3
NewsReader-24
Paint-19
Pippy-25
Read-49
Record-56
Speak-5
StarChart-4
TamTamEdit-49
TamTamJam-50
TamTamMini-48
TamTamSynthLab-50
Terminal-15
TurtleArt-7
Words-2
Write-57

--Gary




More information about the Sugar-devel mailing list