This blog has moved! Redirecting...
You should be automatically redirected. If not, visit and update your bookmarks.

Monday, September 26, 2005

The Trek Life

Love the new comic strips on

The Trek Life

SUN Java on FC4

There's a nice article at FedoraNEWS.ORG by Paul Howarth on how to get the SUN Java working under FC4 using the new alternatives system. So, here it is:

JPackage Java for FC4

Firefox and MathML on Linux

While it's a little more work compared to Windows, getting MathML to work on Firefox isn't that hard. Now, it's easier than ever thanks to the *.spec files created by Michael A. Peters:

(Copies of the files are also available here)

Before we can start building RPMs as a regular user, we need to install the fedora-rpmdevtools package from the Fedora Extras repo:

[darkknight@darkworld ~]$ sudo yum install fedora-rpmdevtools

Once that's installed, we need to create the directory tree and RPM macros needed by rpmbuild:

[darkknight@darkworld ~]$ fedora-buildrpmtree

Now that we're ready to build RPMs, we download and save the SPEC files under the ~/rpmbuild/SPECS/ tree:

[darkknight@darkworld SPECS]$ wget

Once we have the spec files, we need to get the sources. We can get them from the URLs specified in the respective spec files:


(We need the Mathematica 4.1 Fonts)

We need to save the downloaded fonts under ~/rpmbuild/SOURCES/

Next, we need to install the cabextract package to satisfy build requirements:

[darkknight@darkworld ~]$ sudo yum install cabextract

Now, to build the font RPMs, switch to the ~/rpmbuild/SPECS directory and run:

[darkknight@darkworld SPECS]$ rpmbuild -bb mathtype_ttf.spec

[darkknight@darkworld SPECS]$ rpmbuild -bb mathematica_ttf.spec

In both cases, the long messeges should end in:

+ exit 0

If not, then you need to hunt down the problem and solve it. Assuming they both ended with the exit status '0', we can go ahead and install our freshly baked RPMs:

[darkknight@darkworld ~]$ sudo yum localinstall ~/rpmbuild/RPMS/noarch/math*

In addition to those packages, we also need the mathml-fonts package:

[darkknight@darkworld ~]$ sudo yum install mathml-fonts

Once we have all the required fonts, we have disble PANGO for firefox. In order to do this, we need to uncomment the following lines from /usr/bin/firefox :


One that's done, we're good to go! We can test the new MathML rendering capabilities at:

Saturday, September 17, 2005


I installed Inkscape a few days ago out of pure curiosity. Today I'm glad that I did .. I needed to touch up some diagrams with a few translucent windows here and there and GIMP didn't seem to have any easy of doing it. So came the first field test of Inkscape ..

It works quite well - at least from the first impression. I can already see it giving MS Visio a run for its money ...

Saturday, September 03, 2005

Bypassing Microsoft's "Genuine Advantage"

Piece of cake; before clicking "Express" or "Custom" paste the following in the addressbar and hit enter:


Got this tip from here.