• About

    Swaroop C H is 29 years of age. He is a coder and startupper. He has previously worked at Yahoo!, Adobe, his own startup and Infibeam.


    Read more about him


    Email: swaroop (at) swaroopch.com

  • Subscription

    If you want to know when new stories and articles appear on this website, you can receive them via:

  • I'm a Wannabe Hacker

    The Glider: A Universal Hacker Emblem

Archive for the ‘KDE’ Category

Madonna’s Oggs

Sunday, December 18th, 2005

After reading some good reviews about Madonna’s Confessions on a Dance Floor album, I bought the CD at Planet M today.

I had installed Kubuntu 5.10 (breezy) recently and have been hooked to it. I especially like the way it has good support for restricted formats, and the Ubuntu wiki helped me fix the jerky DVD playback as well.

Coming back to Madonna, I followed the normal routine… I popped in the CD, KsCD opened up, and started playing ‘Hung Up’, the first song in the CD. Konqueror also opened up and showed me the CD contents, and surprisingly, I see a folder called Ogg Vorbis and there are .ogg files inside! Just to make sure I’m not seeing things, I copied over the ogg files and played it in Amarok.

![74788955][Small][]

It seems KDE shows an Ogg folder and a FLAC folder view for any Audio CD, from where you can copy the “songs” and KDE will automatically convert it into Ogg/FLAC respectively on-the-fly when you copy it to your hard disk. How’s that for ease of use?

![74788954][Small][]

Now, back to my deadlines …

Why I prefer KDE over GNOME

Wednesday, February 9th, 2005

Praveen says that GNOME is better but I don’t think I will switch from KDE anytime soon. I know this is the start of a holy war, in spite of that, here is why I prefer KDE over GNOME :

  • Lots of good applications – Kate, Konsole, Quanta Plus, K3B, KSysGuard, Cervisia, KSnapshot, and many many more. Show me some reasonably good equivalents in the GNOME world. I’ve come across none.

  • Konqueror rocks – A web browser, file explorer, FTP client, manpage viewer, etc, etc all rolled into one.

  • Integration – Because of the KPart system, I can view zip files or read text within Konqueror and without the need to open another application. Also, all settings can be changed from a single Control Center.

  • OK and Cancel buttons are in the right order – yes, this is a serious usability issue for me.

  • IMHO, KDE is faster and more stable than GNOME. Also, Qt applications tend to be more lightweight and more stable than Gtk applications. For example, compare Kontact and Evolution, KDevelop and Anjuta, and the best comparison of all, Konsole and gnome-terminal.

  • KDE works well on FreeBSD whereas GNOME comes lacking in this respect. I know this doesn’t particularly apply to me but in a company like Y! where almost all of the developers are on FreeBSD, this matters.

  • Upcoming KDE 4 will make you switch back to KDE. Period.

So, all ye Linux and BSD users, which is your choice?

Conclusion: The Free and Open Source Software community is all about choice. Its a good thing (TM) that we have choices – KDE, GNOME, XFCE, Enlightenment, etc. You can choose what you like and use it. Freedom to choose matters.

Evolution on Windows : The Cross Platform Holy Grail

Wednesday, January 19th, 2005

Nat Friedman announced that Tor Lillqvist, of GTK+ on Windows fame, has joined Novell and will soon be working on a port of Evolution to Windows!!

I am not particularly excited at the thought of using Evolution (I prefer Thunderbird) but I am excited because the effort that will be put into the porting will certainly help the GTK port itself, a lot. It means I can seriously consider writing a cross-platform software now.

I’ve been contemplating learning wxWidgets (and wxPython in particular) but I find it to be a moving target most of the time, it’s not stable and I heard the cross-platform feature of wxPython is not really that great. I have detailed this in my post on the byte-of-python mailing list. I really like Qt but, through experience, being able to write cross-platform apps sometimes really does matter.

What experience, you ask? I once wrote a software called Diamond which was a medical laboratory management software. I toiled on it for several months and wrote about 13,000 lines of code for it. It was also my first big GUI project. All the features were great, there were few rough edges but it was reasonably acceptable, it’s only failure was that it didn’t run on Windows. Why? Because I had written it in Qt and I couldn’t afford the Qt licensing fee just for this project. I wasn’t able to convince the doctors to switch to Linux just to use this software. Plus, they used special hardware to scan images (of the patient) and needless to say, they require special device drivers which I am pretty sure wouldn’t be available on Linux.

Also, when I write a GUI chapter in my book, I want to steer clear of licensing issues as much as possible – its simply too confusing for newbies.

This brings me to another irony: Qt is under GPL and GTK is under LGPL, even though GTK is part of the GNU hierarchy who created and promote the GPL. Yet, the LGPL is the only advantage I see that Gtk has over Qt. I see every other advantage in Qt – powerful, simple, lots of useful widgets (the database widgets are really terrific), excellent documentation, C++, no need to worry about freeing memory (Qt takes care of it), upcoming Qt 4 has lots of goodies in it, …. and yet I’m back to square one.

I’ve even looked at wx.NET but I was just not comfortable with it – it looked more like ‘wxWidgets – the latest edition without pointers’ to me.

One good thing abou GTK is the look and feel – it feels nice and polished, sometimes I see the Firefox -> About menu just to click on the dandy ‘Ok’ button.

One bad thing is the new GtkFileChooser, it gets in my way every time – especially if I click on an attachment in my mail and want to change the ‘Open With’ program to something else, I browse to ‘/usr/bin’ and then it hangs since it is trying to list the 2674 files in that directory in the window…. I tried to use the autocompletion in the editing mode that pops up whenever you try to enter text in that dialog but it is completely unnatural for me to use it since the damn thing autocompletes it even before I press a tab! Sigh…. I usually directly enter ‘/usr/bin/kwrite’ in a KDE Open Window.

So for now, I will use KDE and probably will write Gtk apps (i.e. whenever I need to write GUI programs).

Note : I wanted to point to the screenshots of Diamond but my g2swaroop.net domain is down at the moment. I’ll update this post when it comes back online (hopefully in a few days)

P.S. I am trying hard not to make this post a flame bait.

Wikipedia rocks

Sunday, December 12th, 2004

My 12-year old sister wanted to learn more about musical instruments for some homework that she wanted to write and asked me if I knew something to write about. I told her she could use the internet to read all about that.

So, she logged into Fedora. I showed her how to open Firefox and then told her to type ‘wikipedia.org’ and press enter. Go to ‘Search’ and type ‘musical instruments’ and press enter. Voila! All the information is there. She got fascinated by the amount of info as well as the nice images on the pages about the guitar, violin, veena, sarod and many more.

It was remarkable how easily she took to Firefox. She was opening the site, searching for something, right clicking and opening in new tabs, all after just 5 min of showing her how to do it.

She even uses the computer to draw. She used to use KPaint but has now graduated to GIMP.

And they say Linux is not easy.

High on Kaffeine!

Sunday, June 13th, 2004

On a whim, I downloaded Xine and Kaffeine and installed them. One word sure comes to mind – Smooth!! There was absolutely no problems in installing them. A simple ‘./configure; make; sudo make install;‘ does the trick.

One extremely pleasant thing I discovered was that Xine now plays .dat files – Sweet!

Kaffeine’s interface is very simple and easy to use. If only, it was installed on Fedora by default…

I want to try Totem in future, but right now, I’m high on Kaffeine!

Ok, It’s 3 am…better get some sleep…

KDE 3.2 is here!

Wednesday, February 4th, 2004

The latest, greatest and fastest new version of KDE is here! Check it out at http://dot.kde.org/1075813576/.

KDevelop 3.0 has also been released! This new version is just too good. Check out the screenshot at kdevelop.org/graphics/pic_corner/3.0/full_ide.png . For more details, see http://www.kdevelop.org/ .