Installing Wikindx in Kubuntu Hardy

from the website:

WIKINDX is a free bibliographic and quotations/notes management and article authoring system designed either for single use (on a variety of operating sytems) or multi-user collaborative use across the internet.

To install Wikindx in Kubuntu Hardy, we need first to install Apache, MySQL, and PHP. To do this, type:

%sudo apt-get install apache2 mysql-server php5

From the internet, I found a blog describing a more detail steps to do the post-install configuration. Basically, we need to:

  1. clear our cache in firefox
  2. edit php5.conf in /etc/apache2/mods-available
  3. restart apache server

Once all these installed, we are ready to install Wikindx. You can check this installation page or the one from

To install Wikindx, we will need to create a Database. To do this install mysql-admin to make it easy:

% sudo apt-get install mysql-admin

Let’s create a database “wikindx3” for the apps.

% mysql -uroot -p<your root password>

mysql> create database wikindx3;

mysql> exit

then run mysql-admin from K-> Development->MySQL Administrator

login as root, and click “user management”

create new user “wikindx”

click the “wikindx” (usually blank and no names), and click the host name anywhere @. Assign all privileges to this user on wikindx3 database.

Now untar the Wikindx source file and copy the untarred folder to /var/www/. Then we need to restart the web server

% sudo /etc/init.d/apache2 restart

open the browser and go to http://localhost/wikindx3/

This will show the configuration page. You can create more users in the admin tab. That’s all!


Kmail can put signature above reply quotes

I upgraded my OS to Kubuntu Hardy last april, and now I noticed that Kmail can put signature above reply quotes.

To do this, open Kmail/Kontact, and click:

“Setting”->”Configure Kmail”

click on “Composer” on the left menu, and you will see option “Insert signatures above quoted text”. check this option.

Kmail Composer Option to put Signature above quoted text

And you can put your signature in Kmail by choosing “Identities” on the left menu, and click “modify” button on the right.

click “enable Signature” and you can type in your signature there. Pretty easy!

How to check processor/CPU and memory information

I was trying to check the processor/CPU info and memory/RAM specification of a remote server (Linux) that I login. I found out from one forum, the way to do it is by checking /proc/cpuinfo and /proc/meminfo

$ cat /proc/meminfo
$ cat /proc/cpuinfo

sweet and simple.

Leaving jobs running on remote server

Sometimes I need to run a job on a remote server (linux) that takes pretty long time. And if I have to close the connection, the job will be terminated. To overcome this problem, in the remote server, type:

$ screen

This will attach a new screen, and start with a command line as normal. You can run the job now, and to leave this screen, we type “Ctrl-A” and then “D”. This is to “D”etach the screen. You will return to the previous prompt. To see the available screen, type:

$ screen -ls

There is a screen on:
6288.pts-2.floss        (Detached)
1 Socket in /var/run/screen/S-kurniawano.

Now to re-attach type:

$ screen -r 6288

where 6288 is the ID no obtained from the screen -ls command.

Installing DXfontutils

I am using OpenDx for some of my scientific project, but unfortunately OpenDx is unable to have subscripts in their labels. So I posted the question in the forum, and they are very kind to provide the solution: use DXfontutils.

So I downloaded DXfonts and DVIdx from the download page. If you read the Installation procedure, it is said that we need to have two perl modules, they are Font::TFM, and TeX::DVI::Parse.  The installation is pretty simple and can be read from the package. Besides these two perl modules, it also requires dvicopy. In Kubuntu Hardy, you can get it by installing:

sudo apt-get install texlive-extra-utils

Now we are ready to install. Untar the dvidx package:

tar -zxvf dvidx-03b.tgz

and cd to that directory and type:

sudo ./

Now you need to specify the directory in the script. So go to your dxfontutils/bin directory. Edit dvidx script for this section:


and latex2dx script for this section:

my $latexcmd=’/usr/bin/latex’;

now you can go to examples directory and run

dx -edit

NOTE: My opendx got hangs initially, and I found out that the problem is in the dvidx script, the directory for tfm fonts must be ended with “/” backslash.

Packages changes in Hardy causes error in starting Octave 3.0.0

After I upgrade to Hardy, suddenly my Octave couldn’t start. It reported that Octave couldn’t find certain libraries. After I check, the libraries provided by libsuitesparse in Gutsy was replaced by libsuitesparse-3.1.0 in Hardy. This makes Octave couldn’t find the file it used to link.

So I fixed this manually by creating new symbolic link. In my Octave 3.0.0 it is looking for lib”xxx”.so.1, so this is what I do to create the link to

sudo ln -s ./

I need to do this for several other libraries. Moreover, my libhdf5-serial package was somehow uninstalled and I need to reinstall it using Adept. This is also happens to my libg2c0-dev package.

after reinstalling and fixing the missing libraries, my octave runs again 🙂

Copy file problem from Linux to Windows samba in KDE

I am using Kubuntu Hardy, and I got problem when I tried to copy PDF file from my Linux drive to Windows samba share. It copies successfuly but I couldn’t open it, or even delete with my DEL button. I need to right click and delete.

It turns out that the problem is on the file naming. The file name has special character, in my case it was colon “:”. After I remove the colon, KDE copies successfuly and I can open the PDF file in my Konqueror.