Kushal Das

FOSS and life. Kushal Das talks here.


lekhonee v0.6 released

I just released lekhonee v0.6 . Download the source.

For RPM(s) , download from koji.

New features and fixes:

  • Preview option fixed in the KDE based frontend, old menu based options removed
  • Editing option for the last 10 blog posts. Users please tell me if you need to get more
  • Insert Link error in the gnome frontend is fixed
  • Add categories is also working under gnome frontend (forgot to write code in the last release)
  • "Save Draft" option on the gnome frontend is also working (Again forgot to write the code)

If you want to go back from the "Old Posts" list in the gnome frontend , just select anything the list and press "Escape", in KDE one, there is a button on top to handle this.

To edit the entries you have to double click on the post title.


The post is brought to you by lekhonee v0.6

Pony v0.2 released

I just released Pony v0.2 . It is still under constant development and will go some db changes before v1 release. Please delete .pony.db under your home before using the new release.

$rm ~/.pony.db

Viewing an Image

Among new features one can now see the EXIF information of an image.

Showing EXIF information

Deleting tag option is also added.

Showing tags

Get the source or rpms from here.

Now I have to add TODO file as too many things need to be fixed. If you have any suggestions please mail me or file a ticket.

Who wants a pony ?

If you want one you can grab from here.

Pony is a simple image manager written in PyKDE4.


Few weeks back I lost my external hdd where I kept most of the photographs I took in last two year. It is kind of heartbreaking. But first thing came in my mind is not to get into this kind of situation again. So, decided to backup photos also in DVD(s).

But the problems started at the same time, if I do so, how can I figure out which photo is in which disk ? I know digikam is having a feature like this (to have external collections) but last time when I tried that it never worked. Though I am mostly a KDE user but I was using gthumb as image viewer except when I click on dolphin which opens up gwenview.

My workflow:

  1. Take photographs
  2. Copy them in hdd using File browser (Dolphin)
  3. View them using gthumb
  4. if required right and edit using gimp
  5. Upload the image to flickr

As I keep my photographs ordered in directories, gthumb is very helpful and I like the UI as it does not provide most of the fancy stuffs other image managers do.

After looking for few days I decided to write my own image manager which can suite properly with the simple workflow I follow.

The design goals:

  • It takes some amout of time to create thumbnails when the user visits a folder first time, but after that it stays fast as I really don't mind for the time on the first view. I tried with a folder which contained 13GB images.
  • Currently shows only jpeg images as we generally keep photos in that format
  • One can add tags to the images, currently no edit tag option is available
  • One can search based on tags (implemented), name or EXIF data or based on dates
  • Even if the file is in an external media it should show the thumbnail
  • It is having a flickr uploader. Currently it only adds title,tags,description. Photosets and privacy&safety will work in future releases
  • One should be able to add/edit/delete external medias as catalogs

Now this is a very basic form of the code base continously being hacked. Most of the planned stuffs still needs to be written. To get the thumbnails fast I kept them in db (still the db seems to be small ) and used a web framework based ORM to do so, yes it is Django :p. I know one may complain of this dependency but it is so nice that I couldn't leave it :)

MathStuf and Kevin_Kofler in #fedora-kde , #qt and Riddell ,pinotree, annma helped a lot to learn different pieces of KDE and Qt. nicubunu did extensive testing from the very beginning. Thank you guys for your support.

I still need to improve the UI so any help is welcome :)

Btw, the name of the project came as suggestion from sankarshan and mether.

New release of lekhonee

I am happy to release lekhonee-0.3.1

New release of lekhonee

lekhonee is a desktop client for Wordpress. The new features of this release are:

  • Add Category
  • Spell Check enable/disable
  • Edit last entry

I never blogged about a few last releases, I moved the codebase to PyKDE4. It is using KWallet service to store the password. If you don't want to use kwallet (like you are a gnome user), it will ask you to type-in the details every time.

Download tarball, F-10 rpm (pushed to stable), F-11 rpm

How one can start learning PyKDE ?

Dear lazyweb,

How one can start learning PyKDE ? For PyQt , reading a few very basic examples given with the source and then reading Qt-help docs seems to be fine. But the KDE libs are much bigger, though one can find a suitable class to work with, how to use that is still not so easy for a newbie.

When it comes to the GUI, it is again not clear to me that which approach one should take , design everything in code ? or one can use qt-designer for that.


What else we did at foss.in

We talked and talked and kept on :) foss.in is a great event to meet all your friends and I love that part a lot. In day 1 after reaching the venue as we were standing just outside the main gate other speakers also started coming. Pradeepto landed with Sharan, Adriaan and Sayamindu were also there. We all went together towards the 750 hall for Harald's keynote which was as good as expected.

After the keynote we all moved out, the kde-in local team (BMS lug people) also joined us and managed to setup the KDE stall with full of awesome posters including amarok posters :) We, the fedora people also sat down on the ground in the same stall and as they  ran out of CDs I started putting Fedora 9 live CD to distribute. Rest of the day we just talked on everything. All other friends also came and joined us there. The hot topic of the first was the kde handbook. After the day ends we started moving out. At night I went through the details for my talk.

The second day started with Sayamindu's talk on "Coding for education, coding for the last one billion", this talk helped me personally a lot as I was not so much familiar with Sugar. He started with very basic details on Sugar and went on to the code level. After that we again came to the stall and put the XO(s) on the desk , Sayamindu was carrying two and I carrying one from office. It suddenly became a huge crowd puler as everyone was too much excited to see those little green wonders. We also distributed lot of stickers and live cds. My talk was scheduled just after lunch on the same day on "Getting Started with OLPC Activity Development" and this time I made only one jpeg image as slide (which I forgot to show anyway). I started vim and started to talk :) Within my talk I also copied code from Sayamindu's Imageviewer and used it in my Jukebox to add a new feature. The talk was too much code oriented and no one asked a single question in the end. The review-o-matic workout was also started in the same time of my talk, my only contribution in that workout was giving git commit rights to rishi. tuxmaniac also joined the group from 2nd day.

Next day was full of KDE, we had some superb entry level talks on different parts of KDE and some high level ones also. Me and Soumya already made a plan to work on maps for Kgeography (Soumya made total 3 which I need to commit) and sat down in the stall with others , OLPCs were working as crowd puller anyway :) Someone suddenly came and told that he liked my talk :) Susmit also joined the Fedora team that day. At night we all went together to "Rasa" for dinner. Veg and Non veg people sat in different table and somehow we managed to make a hilarious scene while dividing the bill.

Day 4 we spent while chasing people with video camera and doing interviews and funny interviews :p . Again almost the whole day was spent in the stall , somehow people were really less in that day.

Everyone was tired on day 5 (usual story in the last day of any event). Kalyan's end keynote was really mind blowing. I am trying to put the video up somewhere. The full photo set can be found here. Also read Sayamindu's report and Soumya's report.