Wednesday, June 18, 2008

Letting Go

It is an interesting thought in today's world that if one wants true happiness, it is achieved by letting go. But it is still true, and is something for everybody to keep in mind. It is not easy to think in this way, but I think i am getting there, albeit, slowly.....

Slightly different from giving, which is also a good thing to do and more so, a good way to practice before getting to the stage of letting-go. Giving (to others) is of two types; to give expecting something in return and to give something expecting nothing in return except happiness and contentment that the act gives. The latter is by far the better.

Let-go little by little until one can let go of one-self.

Saturday, June 14, 2008

Canadian study of genetics to fight cancer

A very important long term study of genetics of a large population regards the effects of genetics on cancer has been initiated in Ottawa, Canada. This is going to be, hopefully, a very useful endeavour.
It will track
  • 300,000 randomly selected Canadians
  • ages 35 to 69
  • for at least the next 20 to 30 years

The study will be gathering information on health and lifestyle through surveys and the collection of blood and other specimens, according to the partnership.

Wednesday, June 11, 2008

sinhala tiddlywiki


The nice things about using sinhala unicode and fonts is that one can change apps into sinhala, almost :-)

Friday, June 06, 2008

install Sinhala unicode in Ubuntu Feisty with sayura input system or keyboard

(hopefully these instructions are useful even for those new to linux)

1. Get everything ready
Using synaptic (system->administration->synaptic package manager)
install
language-pack-si-base
scim and scim-dev
dpkg and dpkg-dev
autotools-dev

2. Install sinhala unicode font
download the sinhala unicode font
http://sinhala.sourceforge.net/files/lklug.ttf

open the terminal (applications-accessories-terminal or there is a little icon on top of desktop.). The terminal IS the quickest, easiest, best place to do most of the stuff, and is the ONLY way in some instances. So get used to it!

type the following and press the enter key.
mkdir ~/.fonts

or in synaptic package manager
right click in home directory as it opens or file menu - create new folder and name it
.fonts (period or full stop at the beginning)

open the file manager nautilus ( the home icon on the desktop)
in the menu bar
in view - click on show hidden files.
copy the lklug.ttf file you downloaded into the directory .fonts
in view menu click on show hidden files again to disable what you did first.
click again in show hidden files to disable it.

back in the terminal (more fun!) type:
fc-cache -fv

press the enter key

there will be some output

check that the font is enabled by typing

fc-list :lang=si file

it will tell you something about the file - that means it is installed.

log out and log in again (No need to shutdown).

Go to

http://si.wikipedia.org/

If you can read sinhala on the page, that is it!

copy some of that text and then open the open office wordprocessor and paste the stuff into a new document. From the font list select lklug


3. To get a keyboard installed to type in sinhala...

The Sayura keyboard system from Anuradha Ratnaweera is at
http://www.sayura.net/im/


create a directory called sayura
Now download the scim-sayura-0.3.3.tar.gz ( the o.3.3 will change with time as versions will change) and put it in the above directory
http://www.sayura.net/im/scim-sayura-0.3.3.tar.gz

unpack in terminal (CLI) or file manager(nautilus has to be opened as su - to do this open the terminal and type sudo nautilus - then in nautilus, right click the file and select "extract here")
or in terminal (more fun!)
cd to directory (cd sayura) formed and type
tar -xzvf scim-sayura-0.3.3.tar.gz (some output will be seen)
cd scim-sayura-0.3.3

The following HAS to be done in the terminal in the scim-sayura-0.3.3
.
sudo dpkg-buildpackage -b

the deb package will be made and found in the sayura directory.
install it by opening the terminal and cd sayura and then
sudo dpkg -i scim-sayura_0.3.3-1_i386.deb
(or in synaptic package manager opened as su you can select the file by right clicking ans select open with Gdebi package installer)
check in system-preferences-scim input method setup that sinhala is installed
check in system-administration-language support to see if everything is OK there (in my case as I open it it said there were some files to be installed, and i said OK).

Then shift-space or ctrl-space will bring a little icon on the system tray(right bottom), click on it and you will get a list and you can pick sayura from the "other" list.

shift+space will change between the two languages.