On 15 Jan 2010, at 15:34, Walter Bender wrote: > On Fri, Jan 15, 2010 at 10:09 AM, Bert Freudenberg <b...@freudenbergs.de> > wrote: >> On 15.01.2010, at 15:46, Gerald Ardito wrote: >>> Bert, >>> >>> Thanks for this. >>> I was able to find some lost EToys projects using your suggestion. >>> >>> I could use some help using copy-to-journal. >>> I am getting an error about mimetype. What should I use? >>> >>> Thanks. >>> Gerald >> >> For Etoys projects use "application/x-squeak-project". >> >> Yes, it's maddening that copy-to-journal forces you to type that, when a >> simple call to gvfs-info (or its pythonesk incantation) would guess >> correctly most of the time (*). > > Bert, > > Is there a ticket open on this? If not, maybe there should be?
There has been a version of copy-to-journal kicking around the laptop wiki for quite some time (pre 8.2 I think), I was never sure why this improvement never made it into a release. Used to work well for me, but perhaps bit rotted somewhat by now (haven't tested it lately), here's the .py: http://dev.laptop.org/git/users/phil/support-scripts/tree/copy-to-journal Wiki page with the description (basically, use a -g option to guess mime type using the file command: http://wiki.laptop.org/go/Copy_to_and_from_the_Journal Regards, --Gary > > -walter > >> - Bert - >> >> (*) >> [o...@xo-0c-f3-0c ~]$ gvfs-info -a standard::content-type >> /usr/share/etoys/*.pr | tail -1 | sed 's/.* //' >> >> application/x-squeak-project >> >> _______________________________________________ >> Sugar-devel mailing list >> sugar-de...@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > > > > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > _______________________________________________ > Sugar-devel mailing list > sugar-de...@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel _______________________________________________ IAEP -- It's An Education Project (not a laptop project!) IAEP@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep