Die Verzeichnisstruktur
py-applet/metadata.desktop py-applet/contents/code/main.py py-applet/contents/code/morecode.py
Paketarchiv erstellen
$ cd py-applet/ $ zip -r ../py-applet.zip .
Eine Vorlage für die Datei mit Metadaten
[Desktop Entry] Encoding=UTF-8 Name=Python Clock Type=Service ServiceTypes=Plasma/Applet X-Plasma-API=python Icon=chronometer X-KDE-PluginInfo-Author=Simon Edwards X-KDE-PluginInfo-Email=simon@simonzone.com X-KDE-PluginInfo-Name=py-applet X-KDE-PluginInfo-Version=1.0 X-KDE-PluginInfo-Website=http://plasma.kde.org/ X-KDE-PluginInfo-Category=Examples X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-License=GPL X-KDE-PluginInfo-EnabledByDefault=true
Die Installation des Plasmoids mit
$ plasmapkg -i py-applet
Die Deinstallation des Plasmoids mit
$ plasmapkg -r py-applet
Testen mit
plasmoidviewer py-applet