[IAEP] [Etoys] Opening a zip file

Bert Freudenberg bert at freudenbergs.de
Wed Mar 18 10:52:06 EDT 2009

On 18.03.2009, at 13:43, Ro wrote:

> Hi! Thank you for all your suggestions. I also visit this pages and  
> a read a lot of, but I can't find the answer.
> I download a book, it is compress, the XO let me open this book in  
> Etoys and I don't now how to do that.

Oh, I understand now. Sugar on the XO laptop only poorly handles zip  
files. This is not really an Etoys problem. I'm copying this message  
to the Sugar list because it might be helpful to others, too. Folks,  
please cc Rosaura (a teacher from Uruguay) if you intend her to get  
your reply.

Etoys is the only pre-installed activity that can open zip files. When  
you click on a zip file in the Journal, it opens in Etoys, and Etoys  
shows a little menu (probably in the upper-left corner):

The second menu option "extract all to ..." opens a dialog:

This is the folder that the files inside the zip will be extracted to.  
Choose "tmp" which is near the bottom:

Then press the "ok" button. This extracts the files to the folder  
named "/tmp".

To be able to read them, you need to copy them to the Journal. Quit  
Etoys, and open the "Terminal" activity. Type "cd /tmp" and "ls -l",  
and then use the "copy-to-journal" command to make the book appear in  
the Journal:

The "text/plain" part tells the Journal that this is a plain text file  
(because its file name ends with ".txt"). If the book is in a  
different format, you would have to tell the Journal a different type.  
For example "text/html" if the book name is ending in ".html" or  
"application/pdf" if it is ".pdf".

Hope this works for you, if not please report back.

- Bert -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/iaep/attachments/20090318/fc32185e/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 3.png
Type: image/png
Size: 10911 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/iaep/attachments/20090318/fc32185e/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 4.png
Type: image/png
Size: 34510 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/iaep/attachments/20090318/fc32185e/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 5.png
Type: image/png
Size: 29730 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/iaep/attachments/20090318/fc32185e/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 8.png
Type: image/png
Size: 66409 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/iaep/attachments/20090318/fc32185e/attachment-0007.png 

More information about the IAEP mailing list