Plasmate and GHNS

Planet KDE Mar 2, 2010

Dear planet,

After an 18 hours trip back from Tokamak4, only now I could find a chance to blog something about the pleasant time we had in Nuremberg and about the stuff I was working there. Tokamak4 attendance was a great opportunity to endorse what makes KDE a really amazing community: welcoming and enjoyable people, hard work, and fun :) That's the indefectible formula for successful free software. During Tokamak4 I was basically involved in two activities. The first one was the analysis of KDELibs dependencies and the proposal of a "profiled version" which can be built and used in different ways according to the target platform: desktop, tablet, or mobile. It was a fruitful chance to better understand the features and the rationale behind the scenes from the comments and proposals provided by Kevin, Dario, Frederik, and Friedrich.

As for Plasmate, I've dedicated two or three days for implementing some interesting features which somehow leverage the cooperative development of plasmoids: now you can keep some project notes, import an existing plasmoid project directly from Get Hot New Stuff, and publish your new/updated plasmoid to OpenDesktop.org with just a few mouse clicks. Such features allow for the rapid development and publishing of widgets, encouraging the incremental improvement of existing projects and facilitating the availability of new community-supplied plasmoids. This required some investigation on KNewStuff3 and PlasmaPackage usage and it's amazing to verify how KDE platform significantly reduces the effort to provide cool features in you application.

Basically, now you can see an "Import from Get Hot New Stuff" button in Plasmate:

![](/content/images/2015/07/plasmate1.png)

By clicking this button the usual Get Hot New Stuff dialog comes up and then you can pick up an existing project for edition in Plasmate:

![](/content/images/2015/07/plasmate2.png)

After selecting an existing plasmoid (ok, we still need to provide a somehow customized GHNS download dialog where buttons exhibit "Import" instead of "Install" and there is no "Close" button since the dialog should be closed just after a plasmoid is selected) the project artefacts are presented in Plasmate and you can do your improvements and bug-fixing. Some hacking was needed to support those plasmoids which use "ServiceTypes" instead of "X-KDE-ServiceTypes" in their metadata.desktop file. Note the new "Project Notes" dock widget in the left.

![](/content/images/2015/07/plasmate3.png)

In addition to the already present features for export to a package and install, now you can easily publish your plasmoid in OpenDesktop.org with just a few mouse clicks. By selecting "Publish" in the workflow dock widget, the "Publish current project" button brings the KNewStuff's upload dialog:

![](/content/images/2015/07/plasmate4.png)

![](/content/images/2015/07/plasmate5.png)

In the upload dialog you must fill up some information about your widget such as its name, description, version, and a screenshot (ok, this can be automatically acquired from Previewer, to-do :) In order to publish the plasmoid KNewStuff3 asks you to enter your login and password for the OpenDesktop.org repository. After that, the entire contents is uploaded in your OpenDesktop account and your plasmoid is already available to the whole world :)

![](/content/images/2015/07/plasmate6.png)

So, that's all by now ... see you ...

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.