====== Plasmoids erstellen ====== 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 ===== Links ===== * [[http://www.brighthub.com/hubfolio/matthew-casperson/articles/75291.aspx]] * [[http://chani.wordpress.com/2009/02/07/adventures-in-plasmaland-part-4/|Konfigurationsdialog]] * [[http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT|Tutorial für Kconfig XT auf Techbase]] * [[http://www.dennogumi.org/2009/10/howto-kconfigxt-with-pykde4|Kconfig XT und Python]] * [[http://api.kde.org/pykde-4.3-api/plasma/|API Dokumentation]] * [[http://www.cs.usfca.edu/~afedosov/qttut/|PyQT Tutorial]]