jump to navigation

Plasmate and GHNS March 2, 2010

Posted by Sandro Andrade in planetkde-sandroandrade.
trackback

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:

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:

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.

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:

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­čÖé

So, that’s all by now … see you …

Comments»

1. Jason "moofang" - March 3, 2010

Awesome work! I had been wondering when should we start figuring out how to implement this, and next thing I know it’s already done ^^

2. mat - March 16, 2010

Still I have to figure how to create ‘more compact’ plasmoids (i.e.: cpu and memory plasmoid visuals using the same dataengine as usual but occupying less space on desktop, as older karamba monitors).

Is there a way to have some applets in normal size and some in a
more compact size without changing plasma theme?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: