#31: GSoC with KDE Now – 9

Hey ! I’m making KDE Now, an application for the Plasma Desktop. It would help the user see important stuff from his email, on a plasmoid. It’s similar to what Google Now does on Android. To know more, click here.


Roughly three weeks have passed since I last blogged about my project. School started and it was tough finding time for everything let alone blogging. This year’s Summer of Code is reaching it’s end and I have much to talk about this time around. In the end I also have a surprise for you.


To start with, I worked on the Database I talked about earlier. Now all plugins save their maps into a Sqlite database and when the daemon runs, it finds these maps and prepares to load it into a card. There’s a catch here though, as I will have to pass the maps over to D-Bus and there are synchronizations issues. There’s still  a way to solve it but that involves editing an auto generated xml file manually. We wish to avoid this manual editing however, for easy maintenance in future. This might be some bug in the Qt based parsing/generation tool I use. But I need to still figure this out with my mentor.

Since I had worked on all the points I had proposed, my mentor asked me to add support for more than one email account. So, now you can add multiple accounts to KDE Now and the daemon will fetch emails from all those accounts.

I also worked on the credentials input mechanism. It has improved largely since I last blogged. Now the user is presented with a kind of form when KDE Now is started for the first time. You will be required to add your email credentials in the form. It adds your data to KWallet and the daemon retrieves it later.

Finally, have a look at the demo below.

As soon as the application logs into your account, it fetches all emails within a span of one month and if it finds an email of Event, Flight, Hotel or Restaurant reservation that confirms to the schemas of Google Now, a card will appear. In the later part of the video, I have shown you how KDE Now works when an email arrives and a new card is generated dynamically with that information. I send raw html much like how a vendor sends to you.


I will add another blog post regarding my final project report in a couple of days so be on the lookout.

PS: I’m still looking for a graphics designer familiar with svg for KDE Now. If you are interested in helping me, drop a comment below with your contact details. Don’t worry your contact details will be kept private, as I monitor all comments before publishing.

That’s all folks. Cheers !


10 thoughts on “#31: GSoC with KDE Now – 9

      1. hmm, akonadi would be nice 🙂 It makes sence couse it is the central mail storage on KDE. From the “outside” it sounds simpler to just ask akonadi for mails instead of implementing your own IMAP framework (ok, i guess there is some KDE Frameworks IMAP util).
        Or just using the credentials already entered in akonadi wallet insted of reentering into your widget.

        but…great work!!!


  1. Yes an integration with akonadi (or akonadi-next) would be nice ^^

    A button to add that event to KCalendar would be useful also 🙂


  2. Hi, I tried running kdenow in plasmoidviewer but it ask to create a new wallet called KDENowWallet; is this normal? Why not using default one?


    1. Yes. That is normal behavior. I found making a new wallet neater than using an existing one for the following reasons: 1) This would organize the KDE Now data in just one set 2) There could be more than one accounts 3) Later on integration with sink (akonadi-next) would be much easier


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s