[Sugar-devel] Journal integration for Scratch

Eben Eliason eben at laptop.org
Tue Jan 13 11:22:55 EST 2009

On Tue, Jan 13, 2009 at 3:54 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 13.01.2009, at 06:55, Philipp Kocher wrote:
>> Thanks Tomeu to lead me to the /home/olpc/.local directory. However,
>> the
>> mimetypes.xml is not necessary to get the icon in the journal. I just
>> had to copy the scratch icon file in the activity directory to
>> "application-x-scratch-project.svg" (also in the scratch activity
>> dirctory). The Memorize Activity is a good example for using that
>> feature.
>> Sugar has to be restarted after installing Scratch to show the icon.
> Thanks! This is not documented anywhere I know of. So I put it here:
> http://wiki.laptop.org/go/Activity_bundles#Bundle_Structure
> Hope someone can proof-read / confirm.
>> Etoys gets configured by different packages. e.g. the rpm
>> etoys-3.0.2153-1.noarch is adding the file
>> /usr/share/mime/packges/etoys.xml and the rpm sugar-
>> artwork-0.82.3-1.olpc3 is
>> adding the file
>> /usr/share/icons/sugar/scalable/mimetypes/application-x-squake-
>> project.svg.
> Interesting ... thanks for the archaeology :)
> Eben: see, I did remember correctly there was an icon for the document
> independent of the activity ;)

Indeed. However, that one's not mine, and I wasn't aware of it. I
think it must have been copied before I or someone else (don't recall)
matched the Etoys icon to the spec.  I just checked the file you
mention, and it clearly has a 75x75 pixel canvas, which is why it's
being scaled down.

- Eben

> That must be the smaller version.
> - Bert -
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel

More information about the Devel mailing list