[Sugar-devel] Customizing a Master Stick
Tomeu Vizoso
tomeu at sugarlabs.org
Sun Jun 28 04:59:18 EDT 2009
2009/6/21 Edward Cherlin <echerlin at gmail.com>:
> On Sun, Jun 21, 2009 at 7:13 AM, Caroline
> Meeks<caroline at solutiongrove.com> wrote:
>> I have a cool USB Copy machine thanks to NexCopy.
>
> What is its capacity? Can some of us order sticks from you for schools
> and demos? What do sticks cost in appropriate quantity?
>
>> My plan for FOSSED is to create a stick, download the extra activities, etc.
>> I want, ideally add the manual pdf, and then de-personalize the stick and
>> copy it.
>>
>> Walter showed me that rm -r .sugar will take a stick back to the state where
>> it asks for your name.
>>
>> But it also clears the journal entirely. The activities I've downloaded are
>> still there, but no longer in my favorites.
>
> I believe that .sugar/default/favorite_activities may be one of the
> files you want to keep. I don't know whether
> /usr/share/sugar/data/activities.defaults is significant for what you
> want to do, but I suspect so.
>
>> I think I want to be a bit more selective. What should I delete to just
>> remove the users name and colors, but leave the Journal.
>
> For this and other reasons, we need to document .sugar. For example, I
> need to extract Journal entries created in SoaS running on VirtualBox,
> where I cannot mount either a real or virtual USB drive.
>
> .sugar
> debug (configuration)
> default/
> cache/
> com.garcmartin.Moon/
> data/
> datastore/
> logs/
> nm/
> org.laptop.*Activity/
> buddy-icon.jpg
> favorite_activities
> owner.key
> owner.key.pub
> terminalrc
>
> And so forth.
>
>> Where do I look to see the Journal contents so I can delete that which I
>> want to get rid of by hand.
>
> The org.laptop.*Activity directories have the structure
>
> org.laptop.*Activity/
> data/
> instance/
> tmp/
>
> Files needed by the Activity are in data/. For example, Turtle
> Art keeps the .png files rendered from the .svgs in
> .sugar/default/org.laptop.TurtleArtActivity/instance/.
> That way it doesn't have to render them every time it starts.
>
> Journal entries are encoded in .sugar/default/datastore/.
>
> Presumably someone could take some of the Python code from Journal and
> create a Journal browser that operates outside Sugar, and lets
> developers and teachers transfer Journal entries without having to do
> it by USB stick every time.
This shouldn't be hard, the DS format is explained here:
http://wiki.sugarlabs.org/go/Development_Team/Datastore_Rewrite
Torello has already coded a FUSE plugin that will allow mounting the
DS to a directory in the root filesystem.
Regards,
Tomeu
>> Thanks!
>> Caroline
>>
>> --
>> Caroline Meeks
>> Solution Grove
>> Caroline at SolutionGrove.com
>>
>> 617-500-3488 - Office
>> 505-213-3268 - Fax
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
>
>
> --
> Silent Thunder (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) is my name
> And Children are my nation.
> The Cosmos is my dwelling place, The Truth my destination.
> http://earthtreasury.org/worknet (Edward Mokurai Cherlin)
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list