गुरुवार, मार्च 08, 2007

Linux Tip : SCIM

This is how I was finally able to get scim working on my Slackware 11.0 machine.
First, the following packages are to be downloaded -

  1. scim
  2. scim-m17n
  3. scim-tables
  4. m17-lib

The packages are to be untarred in a convinient location like /usr/local/
Set the variable PKG_CONFIG_PATH as

$export PKG_CONFIG_PATH=/usr/local/m17n-lib-xxx/src:/usr/local/scim-xxx

Then build scim, m17n-lib,scim-m17n, and then finally scim-tables.
After these packages are built, the following command was given as root

#gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules

Then the folowing lines are to be added to /etc/profile.d/lang.sh

export LC_CTYPE=hi_IN.utf8


export GTM_IM_MODULE=scim

export QT_IM_MODULE=scim

Care must be employed as the above commands are case-sensitive.
Then rebooted the system and started scim as -
$ scim -d

If everything goes smoothly, we should be able to enter text in Hindi.

कोई टिप्पणी नहीं:


View My Stats