[Sugar-devel] Journal integration for Scratch

Bert Freudenberg bert at freudenbergs.de
Tue Jan 13 03:54:48 EST 2009


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 ;)

That must be the smaller version.

- Bert -




More information about the Sugar-devel mailing list