Posted by: rakitha | March 13, 2010

Setting Up Google Calendar on Mozilla Thunderbird

I have been using Mozilla Thunderbird for a while. Before using this I’ve used Microsoft Outlook 2003 for a while. I was extremely frustrated with the outlook with frequent crashes and keep leaving mails to be sent on the outbox and complain about it. Up to now Mozilla Thunderbird gave me worry free e mail access to my Gmail, hotmail and university account.
Now I just set up Mozilla Thunderbird to access Google Calendar. To do this one needs to have two add-ons installed to Mozilla Thunderbird.

1. Lightning 1.0b1 that allows to create local and network (Google calendar for example) calendars.

2 Provider for Google Calendar 0.6b1 that will allow specifically Google calendars to be viewed and edited within Mozilla Thunderbird.

Now you have setup Mozilla Thunderbird to access Google calendar. Follow the steps below to complete the access to the Google calendars.

1. In the Mozilla Thunderbird File menu,
select new -> Calendar

2. Select “On the Network” and click Next
3. Select “Google Calendar” and needs calendar address to be filled.
Here is how you get the calendar access
Go to Google Calendar web page.
i. Click on the link “Settings” (top left corner in the page)
ii. Click “Calendars” tab/link
iii. Click the name of the calendar you want connect with the Mozilla Thunderbird
iv. In the “Private Address” section, right click on the “ICAL” link/button and select “Copy link location”
v. Past this on the calendar address in the Mozilla Thunderbird calendar window that you were editing. As an added security you can change “http:” to “https” in the address box

4. Now you need to enter the Google email account user name and password to access the calendar.
5. Once you done with it, you can view/edit Google Calendar within Mozilla Thunderbird.

Posted by: rakitha | February 5, 2010

Install Adobe Acrobat Reader 9.0 in Ubuntu 9.10

1. To install Adobe Acrobat Reader 9.0 download the debian package (.deb) first.

2. Save it to the disk

3. Then use dpkg utility to install in Ubuntu 9.10

sudo dpkg -i /home/user/Downloads/AdbeRdr9.3-1_i386linux_enu.deb 

3.1 For 64 bit processors

sudo dpkg -i --force-architecture /home/user/Downloads/AdbeRdr9.3-1_i386linux_enu.deb 
Posted by: rakitha | February 2, 2010

Install CERN ROOT on Ubuntu 9.10

Steps to Install CERN ROOT are as Follows

see updated steps on Ubuntu 10.04 LTS

1. The latest version can be identified from the link,

2. Select the preferred location

cd $HOME/software/

3. Checkout the version into this location

svn co root.5.26a

where root.5.26a is the directory root to be install.

4. Create a symbolic link from root.5.26a to root

ln -s root.5.22 root

This way when there are several versions of root we can easily select one from them by setting the symbolic link to version we want

5. To properly compile (make) the root and get the most out of root install following libraries

sudo apt-get install libgsl0-dev gsl-bin libxpm-dev libxpm libxft-dev g++ gfortran build-essential g++
libjpeg62-dev libtiff4-dev libxml2-dev libssl-dev libgnutls-dev libgmp3-dev libxmu-dev libpng12-dev libldap2-dev libkrb5-dev freeglut3-dev libxmu-dev fftw3 fftw3-dev python-dev libmysqlclient15-dev libgif-dev libungif4-dev libiodbc2 libiodbc2-dev

5.1 So root will support following packages,

asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_glew, builtin_pcre, builtin_zlib, cint5, cintex, exceptions, fftw3, gdml, genvector, ldap, mathmore, memstat, minuit2, mysql, odbc, opengl, python, reflex, roofit, shadowpw, shared, ssl, table, tmva, xft, xml, xrootd.

6. For the first time installation

export ROOTSYS=$HOME/software/root

6.1 Deactivate root paths in the shell “.bash_export” or “.bashrc” file if this is only an update or new version installation

# ROOT path configuration
# export ROOTSYS=$HOME/software/root
## export PATH=$ROOTSYS/bin:$PATH

6.2 Restart a xterm, and go to $HOME/software/root
6.3 Check the the ROOT path is empty by echo $ROOTSYS

7. Configure makefile by

./configure linux --enable-minuit2 --enable-roofit --enable-table --enable-gdml --enable-pgsql --enable-mysql

8. Now compile the root system



make -j 2

(to use both processors in a dual core machine)

8. Only for first time installation

enter path information to the shell (".bash_export" or ".bashrc" file)
exportexport ROOTSYS=$HOME/software/root/
export PATH=$ROOTSYS/bin:$PATH

9. Open a new terminal and type root

To Update Current Revision

cd $HOME/software/root.5.26a
svn up
cd $HOME/software/root
./configure linux --enable-minuit2 --enable-roofit --enable-table --enable-gdml

Posted by: rakitha | February 1, 2010

How to Mount Windows Partition as a Separate Directory

First you need to get the UUID of the partition to be mount.

ls -l /dev/disk/by-uuid/

the terminal display

lrwxrwxrwx 1 root root 10 2010-01-31 17:29 00E8255CE82550E8 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-01-31 17:29 3ce8501a-eb40-41fb-8073-68d0913a130e -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-01-31 17:29 4234D3E134C3D5C7 -> ../../sda2

and the file system. If the partition is a windows then it can be ntfs or FAT32.

Then create a directory to mount this partition.

mkdir MS_Vista

Now we need to edit the fstab file. First create a backup copy of that.

sudo scp /etc/fstab /etc/fstab_backup

Then open the fstab file.

emacs /etc/fstab

and enter the following entry

UUID=4234D3E134C3D5C7 /home/rakitha/MS_Vista ntfs defaults 0 0

The UUID is the third entry in the list of UUIDs.

Now mount the partition using,

sudo mount -a

Posted by: rakitha | February 1, 2010

Adding Sinhala(සිංහල) Unicode to Linux

As root download and install sinhala Unicode package.

apt-get install ttf-sinhala-lklug ibus im-switch ibus-m17n m17n-db m17n-contrib

Once installed log out and log in to your user account. Then add sinhala keyboard by,


Select wijesekara (default) or samanala or both. You will see the IBus input icon in the taskbar.
Furter info can be found at Siyabus web (සියබස් වෙබ් අඩවිය) and Adding Unicode Sinhala (සිංහල) to GNU/Linux (ලිනක්ස්)

Posted by: rakitha | February 1, 2010

Configuring Ubuntu 9.10 New GRUB (GRUB 2)

Since we no longer have the menu.lst file for editing, configuring GRUB 2 can be made using GUI app called StartUp-Manager.

sudo apt-get install startupmanager

Or use Synaptic Package Manger to install by following instructions in the above list. Then run the startupmanager by,

sudo startupmanager

This GUI has simple tasks like setting time-out and default OS.

Posted by: rakitha | February 1, 2010

How to Delete Old Ubuntu Kernel Entries

First get the list of available kernel entires by looking at

emacs /boot/grub/grub.cfg

This is the replacement for the old /boot/grub/menu.lst file in the Ubuntu 9.10. Note that this file is not meant for editing. Read at Grub-2.

Once you have the list remove previous entries using,

sudo aptitude remove linux-image-2.6.31-15-generic

Where I’m removing the kernel 2.6.31-15 and my latest kernel is linux-image-2.6.31-17-generic .

සිංහළ ජාල සටහන ලිවීම තාමත් ඉතාමත් අසීරුය. මම පහත සඳහන් වෙබ් අඩවිය භාවිතයෙන් මෙය ලීවෙමි.

Posted by: rakitha | January 10, 2010

Latex Editor LED 0.536501 Bug

When LED 0.536501 is configured with the MikTex 2.8 .dvi viewer is not working properly. To fix that I copied the dvi_miktex27.dll file into the MikTex/bin directory and set it as the font searching library. Now DVI viewer is working properly. Correct setting for the DVI viewer is given below.


Posted by: rakitha | November 11, 2009

Drawing Diagrams in What Ever Field you Wish!!!

Here is a really nice free open source program that draw flow charts like diagrams. It is called Dia. It can export to many formats including images, .eps or .pdf formats. Good thing about this program is Dia has Linux/Unix versions as well as windows versions. So diagrams can be opened across many platforms. I have been using Dia on Windows Vista as well as Ubuntu and Red Had Linux.

One can download the program from for windows. The project page for the Dia is 

Enjoy the best of Open Source Software.


« Newer Posts - Older Posts »