Language Input with SCIM

From FreekiWiki

Jump to: navigation, search

SCIM or Smart Common Input Method is used to input different languages. Most of this information is stolen from the SCIM page at the Ubuntu community documentation here

Image:Language-support.png

First open up the Language Support tool (System>Administration>Language Support) and put a check mark next to the language you want to input.

Next install the relevant SCIM tables for your language, scim-tables-ja for japanese, scim-tables-ko for korean or scim-tables-zh for chinese. Or just install them all with

sudo apt-get install scim-tables-*

Image:scim-setup.png

Next open the SCIM control panel and enable the language you want under IMEngines>Global Setup

Now we need make it so the keyboard shortcuts will work. First cd /etc/X11/Xsession.d and then open up 90im-switch with your favorite text editor eg. sudo nano 90im-switch remove all the text thats there and replace it with
   export XMODIFIERS="@im=SCIM"
   export XIM_PROGRAM="/usr/bin/scim -d"
   export GTK_IM_MODULE=scim
   export QT_IM_MODULE=scim 

Restart X (ctrl+alt+backspace) and then start SCIM with scim automatically starts?. Now ctrl+space and shift+space should switch between english and your alternate input language.