Dedicated to my late brave, beautiful and silly mummy, Debra Ross. I love you mumster.

Skip navigation

Category archive for kde

Because archives are so much easier than having just hundreds of posts on the home page. I learned that the hard way.

Konqueror suppoirt isn’t a new Gmail feature

The Gmail / Google Mail crew seems to have really been hard at work as of late adding features over the last few months including:

  • AIM support
  • coloured labels
  • group chat
  • new emoticons
  • free IMAP
  • view images as a slideshow
  • increased attachment limit
  • and lots more stuff

However Konqueror (my favourite browser) is still limited to the basic HTML interface. For now it’s perfectly fine though, I still dislike most AJAX and prefer being served static pages anyway, they’re far more reliable and act in a more predictable way.

I just wish there was a way to remove the "you are a second class citizen on our service that we don’t care as much about" message from the top of the screen…

Fully featured browser? Thanks!

Spreadsheet adventures (and Excel 08 sucks!)

Summary if you don’t have time to read all of this: Excel 2008 for Mac is a piece of junk and slower than Excel 2004 which needed Rosetta! Gnumeric is my new spreadsheet best friend, provided they could fix a few tiny usability problems.

You may have read my fun with trying to download a trial version of iWork 2008 from Apple and having it fail repeatedly. It seems the adventure was just beginning!

A bit of background first (I’ve chopped this down from 3 paragraphs down to this one!), I’ve been working on a spreadsheet for over a month now that contains information on the results of some GCC optimisations for various different platforms, programming languages and whatnot. The spreadsheet contains in excess of 36,000+ lines of data and reaches to row BA.

The legendary J-Walk!Now here comes the kicker: I’ve been editing this spreadsheet in Microsoft Excel 2004 on my MacBook Pro. Excel is the last Microsoft application I use on a regular basis, mostly because it’s the last Office app that I haven’t been able to replace (Word, PowerPoint and Access have been easy!).

I figured then it was high time to try out some alternatives for Excel both on my Mac and on my FreeBSD desktop. I tested Kspread, Gnumeric and OpenOffice on FreeBSD, and NeoOffice, iWork 2008 and a purchased copy of Microsoft Excel 2008. My three specific requirements, aside from the need for fast general calculation speeds, decent user interface and so forth:

Smooth scrolling speed
This may sound trivial, but I spend a huge amount of time scrolling through lines of data and it’s downright maddening when you have to wait for the cursor to catch up to where you are!
Fast floating point calculations
I don’t think I need to explain!
Professional looking charts
A lot of data I summarise from this spreadsheet is being done so I can include it in reports and whatnot. Crappy pixellated charts that look like they were done in an early 1990s spreadsheet app don’t cut it


That’s a lot of cells! Wait, that’s a piano, never mind!

The results? Not one of the spreadsheets on offer today do all three of these well! Here are my anecdotal experiences using this software on a MacBook Pro 2.0GHz with 2.0GiB of RAM, and a Intel Core 2 Duo 8400 3GHz FreeBSD box with 4.0GiB or RAM:

Kspread
THE GOOD: Kspread is the KDE project’s spreadsheet application that’s bundled with the KOffice package. Therefore the the interface is clean, very slick and obviously fits well into my KDE desktop on my FreeBSD box. And of course it’s free and open source software!

THE BAD: It won’t open my huge spreadsheet without crashing. That’s a problem! Also the charts it generated are pixellated and look quite dated, and scrolling is very jittery. It’s a shame.

CONCLUSION: Has lots of potential, and is certainly the prettiest and easiest to use interface of any spreadsheet app, but currently it has too many shortcomings for me to consider it seriously.

Kspread screenshot

Gnumeric
THE GOOD: It’s free and open source software, the interface is uncluttered and slick, the charts look smooth and it can open my gigantic spreadsheet without too much trouble.

THE BAD: Scrolling is very jittery even with plenty of RAM, and it has the insanely irritating habit of scrolling long since I stopped using the mouse scroll wheel or arrow keyboard keys. It offshoots everything I scroll to, sometimes by as many as 100 rows!

CONCLUSION: It’s a huge shame, if this scrolling issue were fixed I could see myself using this as my primary spreadsheet application. Perhaps for smaller sheets with less numbers I could use it now, and maybe I will.

Gnumeric screenshot

OpenOffice.org Calc and NeoOffice Calc
THE GOOD: By far they have the closest feature set to Microsoft Excel, the charts they generate look half-decent and they can both open my giant spreadsheet with ease. They’re also both free and open source software!

THE BAD: Scrolling is painfully slow, and inconsistent. They can scroll for a few rows just fine, but then will refuse to move, then will splutter back to life again. It makes me seasick! They also are huge memory hogs considering their abilities. Gnumeric can do most of what they can in a fraction of the memory and executable size.

CONCLUSION: As much as I’ve tried to like OpenOffice and NeoOffice for everything I do, unfortunately their spreadsheets just aren’t as polished from my own experience compared to their word processors and presentation apps. And their speed is hardly stellar.

NeoOffice screenshot

Apple iWork Numbers
THE GOOD: The interface is gorgeous as we would all expect from Apple software, and the charts it generates are absolutely stunning!

THE BAD: It can’t open my giant spreadsheet. It doesn’t crash or overload itself, it just displays a message box saying the spreadsheet I told it to open "is too large", then quits.

CONCLUSION: I’d love to be able to use Numbers, but if it can’t open my work because of a size constraint I just can’t seriously consider it.

Numbers screenshot

Microsoft Excel for Mac 2004
THE GOOD: The interface is half-decent (I’ve always thought Office for Mac was unusually good compared to pretty much all the other junk they produce) and scrolls beautifully without any hickups despite being a PowerPC app running under Rosetta!

THE BAD: Obviously not the latest version so support could run out soon, being a PowerPC app makes it slower. Was expensive too, and it certainly isn’t free or open source software. Generates XLS files which I need to manually convert to an ODF file.

CONCLUSION: It’s a shame Microsoft couldn’t just recompile this as an Intel app. I know it’s not as easy as that, but currently from a usability standpoint it’s still the best spreadsheet app on Mac.

No screenshot yet, because Excel 2008 deleted my Excel 2004 installation!

Microsoft Excel for Mac 2008
THE GOOD: It can open my spreadsheet without trouble. Uh, that’s pretty much it.

THE BAD: It is SLOW! I mean really, really, frustratingly slow! This is a native Intel Mac app, and it scrolls, calculates and refreshes values slower than Excel 2004 which was a PowerPC app! Not to mention it’s noticeably slower than any of the other spreadsheet apps in this review, and not by a small amount. And to top it off, I can’t use it for university because VBA and therefore the Analysis Tool Pak isn’t included! What a joke!!

CONCLUSION: I was expecting this Intel version of Excel to be faster than the PowerPC 2004 version but it managed to be slower! I couldn’t believe it! If I need to hold on to Excel, I’ll need to keep my copy of Office 2004 for Mac handy. How silly is that?

Excel 2008 screenshot

So there’s my anecdotal reviews of these spreadsheet applications. For everything I do now I’m going to use Gnumeric because it supports more of my complex formulas, generates nice charts and is free and open source software. For my larger, more complicated spreadsheets though I’ll need to stick with Microsoft Excel 2004 for Mac, though hopefully that will change.

Well there you go, the K does mean something

I’m sure we all knew that KDE stood for the K Desktop Environment, but I also know none of us really knew why the "K" was significant. Just like the first "Q" in the Automated Teller Machine acronym "ATM", I thought it was chosen because it’s a letter used less often.

Fortunately my primary desktop machine didn’t understand my sarcasm or sense of humour and decided to let me know what it was all about:

KDE Tip of the Day

So FreeBSD actually played a part in their decision! Well okay it was Unix-like operating systems in general, but good nonetheless right?

Ironic Adobe FreeBSD advertising

While reading a fascinating interview with senior contributors about the improvements in FreeBSD 7.0 at the OnLamp BSD Dev Centre, I couldn’t help but notice a certain problem with the page:

OnLamp BSD Dev Centre article on FreeBSD 7.0

Can you see it? I’ll give you a hint: it starts with an "A" and ends in a "dobe"! Yes, Adobe is advertising their Flex framework, on a website dedicated to an operating system they refuse to support!

Just for more fun, if you click on their advertisement on your trustworthy FreeBSD box as I did, you’re told you need to download Adobe Flash. Clicking on that link takes you to a page where they tell you that "We are unable to locate a Web player that matches your platform and browser".

Little hint Adobe, don’t advertise your products to people who can’t use them, even if they wanted to.

Dodgy Windows virus scanner on FreeBSD!

For some reason this evening while searching for information about how to grate cheese using only rubber bands MacGyver style (or maybe while I was searching for SQlite information for Ruby, I don’t remember) a random message box popped up:

Your Windows installation could be infected with viruses!

Given I’m on FreeBSD (they didn’t even check whether their victim was running Windows?!), just for a laugh I decided to click OK and see what they showed!

Really dodgy fake Windows virus scanner

I was expecting the usual silly looking website with affiliate links for piles of overpriced and unnecessary security software, but instead a new fake web software screen appeared, complete with animated progress bars and an evolving list of "infections" that the "software" had "detected". When it was done another fake message appeared which linked to an executable file to download, presumably containing spyware or a virus. Taking a look at the source on the page itself, each button triggered the same JavaScript download function.

ASIDE: The JavaScript code took up more space than any of the HTML. I’ve never seen that before, quite eye opening. Scams like this need more 1337 programming skills than I thought. And all the more reason to disable JavaScript except for trusted sites!

I must say, despite the fact the Windows logo is different in four different places and the grammar is terrible, the animations and fake scan results are pretty well done. For most savvy and intermediate computer users the flaws would be pretty obvious and they’d probably laugh them off, but the scary thing is I’m sure there are plenty of people who would find this whole shameless charade convincing. Just like all these hoaxes, they seem to target this group; heck if they can net one person out of a few thousand, the whole exercise has been… how does Richard Quest put it… profitable.

Malware distributor, I stick my tongue out at thee!
Malware distributor, I stick my tongue out at thee!

For what it’s worth though, and on the bright side, it was really hilarious seeing this whole thing act itself out… in KDE on a FreeBSD machine where the windows look completely different, the colours don’t match, the fonts aren’t even the same and the .exe file it tried to download to the machine wouldn’t have been able to run itself even if it did make it to the hard drive to start off with!

Sorry guys, there’s no Microsoft Windows code to exploit on this machine!

Sleek Openbox in KDE on FreeBSD

We all readily admit that KDE is the greatest desktop environment ever developed for BSD, Linux, Solaris and other Unix-like operating systems, but that’s not to say it can be improved by, or complimented with, other software.

ASIDE: Some people may not agree with my statement that KDE is the greatest desktop environment ever developed for Unix-like operating systems. I readily admit that Xfce is also very nice, especially when you’re using lots of GTK+ applications.

If you’re a GNOME person, well I guess we can’t all be perfect ;-)

Case in point, the Openbox window manager. Window managers draw the widgets, title bars, resize handles and other elements onto application windows. Desktop environments such as KDE, GNOME or Xfce bundle their own window managers along with software developed specifically for their environments, such as Konqueror for KDE.

Despite this bundling, it it is possible to replace the default window manager with one that you choose. You may do this to reduce memory usage, change functionality, or even just for a different visual style.

Openbox running in KDE (with Amarok listening to Whole Wheat Radio!)
Openbox running in KDE (with Amarok listening to Whole Wheat Radio!)

To use Openbox instead of Kwin in KDE on a FreeBSD (or similarly configured) machine:

  1. Update your ports tree, then
    cd /usr/ports/x11-wm/openbox/ && make install clean.
    Alternatively, just install the package with pkg_add -rv openbox
  2. Open the .xinitrc config file in your home directory
  3. Comment out # exec startkde (add a pound sign / hash)
  4. Add exec openbox-kde-session

For NetBSD, you’ll want to update pkgsrc then /usr/pkgsrc/wm/openbox/ && make install clean clean-depends instead in step 1.

To make it easier to change visual themes, the layout of the widgets and so forth, you might also want to install the ObConf tool which is also available in FreeBSD Ports and in NetBSD’s pkgsrc.

Faulty Intel DQ35JO motherboard fun

As I mentioned in a recent post, I’ve assembled another computer recently for number crunching and compiling applications for other machines and for university projects. Given these needs, I figured I’d buy a motherboard with simple onboard graphics and use the money I saved to buy more RAM. After all, I won’t be playing any games on here (save for some terribly addictive little KDE games!) or encoding video. In fact it’s quite feasible to think sometimes I wouldn’t even interface with it directly at all, but rather just send it tasks remotely from my MacBook Pro through SFTP or NFS, or check up on it with SSH or TLA.

Anyway life story aside, I finally settled on the Intel "Executive Series" DQ35JO board with the Intel Core 2 Duo 8400 3.0GHz CPU and two sticks of 1.0GB Kingston HyperX low latency PC2-6400 RAM.

Problem is, it’s as reliable as I am… without coffee! The order of events:

  1. Once booted into FreeBSD it works beautifully
  2. After a random unspecified amount of time, all processes on the machine visibly slow to a crawl
  3. Eventually it stops responding to all keyboard and mouse input and has to be physically turned off
  4. After waiting a few seconds and powering it back up, the display refuses to come back on
  5. 10-15 seconds pass, the motherboard reboots itself
  6. After another random unspecified amount of time ranging sometimes from 5 minutes to 5 hours it can be turned back on again with the video output.
  7. Lather, rinse, repeat

It’s downright maddening. I’ve flashed the BIOS to a newer version, I’ve stood in a circle around a campfire chanting various lines, I’ve stood on one leg while singing Majulah Singapura and Advance Australia Fair backwards… nothing seems to make any difference. What bothers me most though is the randomness, at least if it failed and worked again predictably it would be easier to figure out what’s going on.

For now I guess it’s back to the store. Fortunately I bought the parts from Skylet and Cybermind at SLS which both have 7 day on the spot replacements in addition to the warranties.

I’m sure it’s just an inevitable manufacturing defect which statistically is bound to happen when you buy electronic components, but it’s still disheartening. While it was working, this computer was the fastest and most responsive system I’ve ever used, period! Not to mention the time it took to compile kdebase from FreeBSD ports… wow I’ve never seen the compiler notices fly by so quickly!

More as the story develops.

KDE 3.5.8 font registration fun

If you’ve just installed KDE 3.5.8 from ports or packages on FreeBSD, don’t forget to do this. Why am I putting this here? Because I always forget to do this!

NetBSD users will probably want to access /etc/X11/XF86Config instead.

Package kdebase-3.5.8 registered in /var/db/pkg/kdebase-3.5.8

This port has installed fonts into /usr/local/share/apps/konsole/fonts

You may want to add /usr/local/share/apps/konsole/fonts to your X font path by either:

% xset fp+ /usr/local/share/apps/konsole/fonts
% xset fp rehash

or by adding it to your X-server configuration file (usually /etc/X11/xorg.conf or /usr/local/lib/X11/xorg.conf) and restarting the X-server.

You also have to make the new path known to fontconfig by adding a <dir>/usr/local/share/apps/konsole/fonts</dir> line to either /usr/local/etc/fonts/local.conf or ~/.fonts.conf and running fc-cache -f (as root if you edited local.conf) afterwards.

I do have KDE 4.0 mostly running on an experimental system, but for the time being I’m sticking to 3.5.8 on production machines.

RichardDawkins.net