On Tue, Apr 8, 2008 at 12:46 PM, Korakurider <[EMAIL PROTECTED]> wrote: > Hi, > Before thinking about solution, could you explain specificaly what you > want to write to disk and how that will be used? > > /Korakurider
Well, I was wondering on a general level how Sugar handles this, because I ran into similar problems when trying DOOM last week. On a specific level I wondered how to save a Squeak image and how to deal with saving projects. I already got my answers from an earlier mail to this list from Bert: "You must have the startupInUntrustedDirectory preference enabled, in which case not the image directory becomes the default directory, but rather what was passed as SQUEAK_USERDIR environment variable in the etoys-activity script. That script takes care to set it to the activity-writable location ($SUGAR_ACTIVITY_ROOT/data), see http://wiki.laptop.org/go/Low-level_Activity_API#Writable_Directories" Then I got a warning about not being able to write to the changes file, and found some preference variables to toggle that'll do the work. (warnIfChangesFileReadOnly or warnIfNoChangesFile). That's enough info for me right now. But if someone has a good idea about saving an image and writing to the changes file on the XO, I'm all ears. /Ties _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel