This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Custom Plasmoid 5 Icon

Tags: None
(comma "," separated)
Kotelnik
Registered Member
Posts
5
Karma
0

Custom Plasmoid 5 Icon

Wed Jul 22, 2015 6:59 pm
Hi! I'm having a hard time specifying custom icon for my Plasma 5 plasmoids. I know there is (or was) a way to specify filename for Icon= entry in metadata.desktop of a plasmoid.

I've found some info here:
https://techbase.kde.org/Development/Tu ... ingStarted

here:
https://techbase.kde.org/Development/Tu ... ingStarted

and here:
https://community.kde.org/Plasma/Package

EDIT - and here:
KDE git: kde-workspace/plasma-desktop/design/plasmoids

...search for "Icon=" or "icon" and you'll see advices like: Icon=/custom-icon.png; Icon=YES (should pick up icon.png inside plasmoid) etc.

But none of the above worked for me in Plasma 5. The only way I was able to show my custom icon was to write absolute path to the icon - e.g.:
Icon=/home/username/.local/share/plasma/plasmoids/org.kde.myWidget/my-widget.svg

And of course theme icon names (without extensions) work.

My question is: Am I missing something or there is just no way to load in-plasmoid image for main plasmoid icon, yet?
User avatar
notmart
KDE Developer
Posts
220
Karma
1
OS

Re: Custom Plasmoid 5 Icon

Fri Sep 18, 2015 10:05 pm
Kotelnik wrote:My question is: Am I missing something or there is just no way to load in-plasmoid image for main plasmoid icon, yet?

It may wekk be broken at the moment, I have to test.
can you report it as a bug (with the minimal plasmoid attached as a test case) on bugs.kde.org?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]