Scripted Plasmoid icon

Thomas Olsen tanghus at gmail.com
Wed Oct 14 23:54:54 CEST 2009


On 14/10-2009 18:00 "Aaron J. Seigo" <aseigo at kde.org> wrote:
> On October 14, 2009, Thomas Olsen wrote:
> > Is this really the best way to do it?
> 
> no. :)

No I didn't really think so...

> 
> > I think that ideally you should just place your icon somewhere under
> > contents/icons, put it in the metadata.desktop file under "Icon" and it
> >  should be recognized by Plasma.
> 
> in your metadata.desktop put an Icon= entry with the path to the icon..
>  e.g. myplasmoid.png or contents/myplasmoid.svg or wherever it is in the
>  package and on installation it should magically work.
> 

And it does! Great!
Now I just have to persuade some artist to make me a couple of SVG's :-) 
Later.

-- 
Best Regards / Med venlig hilsen

  Thomas Olsen



More information about the Plasma-devel mailing list