[IAEP] changing the xo icon
Bill Kerr
billkerr at gmail.com
Wed Oct 22 08:54:48 EDT 2008
http://en.flossmanuals.net/Sugar/ModifyingSugar
I can't modify the xo icon with an svg file that I create outside of the xo
and load with a USB key.
Although I can modify the xo icon with an svg file, eg. camera.svg that is
already in the folder /usr/share/icons/sugar/scalable/device
I've tried different ways of making the svg file. Here are some of the files
that haven't worked:
square.svg (this one made by starting from the generic template found at
http://wiki.laptop.org/go/Image:Icon_template.generic.svg)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"[
<!ENTITY stroke_color "#666666">
<!ENTITY fill_color "#FFFFFF">
]>
<svg xmlns="http://www.w3.org/2000/svg" width="55" height="55">
<rect x="5" y="5" width="45" height="45" stroke="&stroke_color;"
fill="&fill_color;" stroke-width="3.5"/>
</svg>
sq2.svg (this one made by exporting the computer-xo icon and modifying)
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' '
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
<!ENTITY stroke_color "#010101">
<!ENTITY fill_color "#FFFFFF">
]><svg enable-background="new 0 0 55 55" height="55px" version="1.1"
viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="
http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
y="0px">
<rect x="5" y="5" width="45" height="45" stroke="&stroke_color;"
fill="&fill_color;" stroke-width="3.5"/>
</svg>
I can view these icons OK in firefox on another computer
What happens on the xo is a blank space where the icon ought to be - but
when I place the mouse in that space the drop down xo menu does appear, as
though the icon is there but can't be seen
Can anyone help with this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/iaep/attachments/20081022/f51fd530/attachment.htm
More information about the IAEP
mailing list