Pigs don’t fly

Saturday 20 June 2009

Looking for a lightweight desktop environment for a micro PC? Just poking around yields millions of answers from Google on the topic. One of them actually goes into depth trying to measure memory usage for KDE, Gnome, XFCE and WindowMaker.

Desktop memory usage

Surprisingly, the author found out that KDE is actually using less memory than Gnome. According to his experiments, firing up Gnome is likely to eat up just about all memory you can throw at it. Gnome is a real PIG when it comes to memory usage. Sorry, does not fly for me.

So I (briefly) tried KDE and installed kde-full… and regretted it almost immediately. First thing I noticed was that kde has dependencies on mysql-server. Yes, a database server is required on your desktop to run what amounts to a nicely integrated window manager. I repeat: the guys need a FUCKING DATABASE SERVER! Are they insane or what?

Looking for detailed dependencies gave me the answer: KDE boasts a stand-alone data server called akonadi to store all of your personal information, in turn offering it to all KDE-compatible applications with the same interface. Sounds like a nice idea from a design point of view but there has to be another way. Installing mysql-server in Debian means you always start a local instance of a MySQL server, which is a deal breaker on tiny machines like MicroClient. Here comes another PIG. Does not fly better.

Silly but I remember running KDE on a 200MHz machine about 10 years back and it was really responsive, elegant, and resource-respectful. It is now 2009 and the bloat on these graphical environments has reached a level never even imagined before. A MicroClient is 5 times faster than my fastest desktop 10 years ago and cannot even run the default Debian or Ubuntu desktop suite. KDE developers may come up with the best justifications, there is no excuse for exploding bloat like they did.

Oh yes, and I started XFCE and it is working great. From where I sit I see exactly the same functionalities as a brilliant Gnomish or KDEish thingy and does not try to kill my CPU through preposterous use of limited resources.


Goodbye Ubuntu, Hello Debian

Friday 19 June 2009

I bought a MicroClient Senior for my son to use as a desktop machine.  Nothing really fancy: just enough to read his e-mail, browse the web, play some games, edit files with OpenOffice, listen to music or watch movies.  The best part of it is that he can leave the machine on forever as it uses even less energy than the light on his desk.

In order to make things easy for him to use, I initially chose to go with Ubuntu (Intrepid) and go straight to the default Gnome desktop to avoid as many hassles as possible. Took me a while to put things together as it initially came without network, sound or video. Welcome back to 1995!

Wi-Fi: the dongle is claimed by a driver (rtl8187) that handles things great (with WPA encryption) for about 5 minutes and then crashes without warning. ndiswrapper does a fine job but you need to install the very latest version and locate the correct Windows drivers. Total: a couple of evenings spent trying to get the native driver to work, then another hour to locate a decent Windows driver.

Sound: Not correctly handled by ALSA, you need to download OSS directly from the 4-Front web site and then perform a global re-configuration of all sound-needing apps. Total: one evening spent tweaking ALSA in vain, followed by OSS download/install.

Video: the OpenChrome driver is not activated by default and the screen resolution is set to something weird. You need to hunt for a correct xorg.conf and tweak it to your needs. Total: one evening spent trying various openchrome drivers (including manually compiling stuff) and xorg.conf files.

Once I had everything stabilized and running, I still had to do some maintenance every now and then, in general whenever a newer kernel version is installed.

Last week I decided to upgrade the OS to Ubuntu Jaunty and it turned out to be a disaster. After the upgrade reported having performed successfully, the machine woke up again with no sound, no video and no network. No matter how I tweaked the options and configuration files, it remained in an unstable state, unable to even get to an ‘apt-get update’ because of the lack of network support. I finally gave up after spending two more evenings trying to get the situation back in control, and finished by installing a new Debian (Lenny) from scratch.

Now the machine is back on its feet. It showed the same symptoms as usual (no network, sound or video) but this time I applied the usual fixes and everything was back to normal in no time. Funnily enough, the rtl8187 driver worked perfectly fine until the first kernel update, after which it went back to an Ubuntu-like behaviour: 5 mins of network then crash.  ndiswrapper saves the day again. Not saying Ubuntu is bad but every time they break something and I have to find new ways of bringing it back to life. Debian is also buggy but at least it is easily corrected.

It is now the third machine from which I had to delete Ubuntu because it just did not work. The other ones were a Dell laptop (almost no hardware worked) and an AMD-64 desktop.