Trying to learn the fine art of Plasma5 (specifically 5.12) plasmoid development. I'm aspiring to be a minor KDE documentation contributor.
It's a simple plasmoid that pops open when clicked and displays a message. It runs fine inside of plasmoidviewer and "compiles" correctly with kpackagetool5. It shows up in the panel of available widgets, but I can't drag it to my desktop. I've put the (extremely simple) source up on Github; hopefully someone's willing to take a look.
https://github.com/bundito/hellomoid
Thanks a lot. I'm trying to document as I learn. But I've clearly got a lot to learn.
After studying a few existing (and working plasmoids), I found a few differences in the
metadata.desktopfile. These differ from what's shown in the existing tutorial.The most important change appears to be the line
X-KDE-Libraryentry. I removed it, and everything works. I'm not sure what it's for - I presume loading some external library - but without it, we're happy hackers again.So there you go. I hope my discovery will help someone else.