Tuesday, December 6, 2011

How to get arkavattu properly in Ubuntu?

Getting kannada to display in your computer is very easy with Ubuntu. Latest version of ubuntu (11.04 in my case) supports kannada out of the box.

But for kannada input you need to add a few packages. The input method I prefer is Ibus. Install Ibus and related packages to get kannada input method working. This post is not about how to get kannada input. It is about a small tweak I did today to get '೯' (arkavattu) alongside of 'ha'.

Generally we type :
ಕ+ರ್+ಮ = to get = ಕರ್ಮ
ಅ+ರ್+ಹ = gives = ಅಱ instead of ಅರ್ಹ

I didn't dig deep to find the key combination to get '೯' properly. Tweaked a little in the .mim file to get ಅರ್ಹ properly.

This is the fix:

open kn-itrans.mim file which has itrans keyboard layout (which I happen to use).

Navigate to the following directory:

$cd /usr/share/m17n

Open the kn-itrans.mim file in a text editor (like gedit) with root privilege:

$sudo gedit kn-itrans.mim

On entering sudo password the file opens. Move down till line 84 and comment out the line by entering ';'(semicolon) at the begining of the line. Save and close.

Restart ibus. And get 'ಅರ್ಹತೆ' for sake of typing it! It solved the issue for now, but I will update about the clean fix as soon as I get to know.

1 comment: