Setup

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2006-04-26 19:05:54
Size: 3348
Editor: 12
Comment: Troubleshooting and Useful Links
Revision 4 as of 2006-04-26 20:10:54
Size: 4358
Editor: 12
Comment: part of Setup Shortcut
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
   1. Same way, scim-gtk2-immodule may need to be installed for GTK/Gnome applications under kubuntu-desktop.    1. Same way, scim-gtk2-immodule (plus scim) may need to be installed for GTK/Gnome applications under kubuntu-desktop.
Line 30: Line 30:
 * scim-im.org's method  * scim-im.org's method : create 75scim file under /etc/X11/Xsession.d/ with following lines {{{
   export XMODIFIERS="@im=SCIM"
   export XIM_PROGRAM="/usr/bin/scim -d"
   export GTK_IM_MODULE=scim
   export QT_IM_MODULE=scim }}}
 
Line 32: Line 37:
  * with im-switch installed, type im-switch command in the format of "im-switch [-z <YOUR_LANG>] -s <INPUT_METHOD>" at the terminal prompt so it looks like: {{{
   im-switch -z en_US -s scim-hangul }}} which creates en_US file into ~/.xinput.d/
  * without im-switch installed
    i. system-wide : same as scim-im.org's method
    i. for gnome desktop, create (or add) the following lines to ~/.gnomerc file {{{
     export XMODIFIERS="@im=SCIM"
     export XIM_PROGRAM=/usr/bin/scim -d
     export GTK_IM_MODULE=scim
     export QT_IM_MODULE=scim }}}
    i. for kde desktop
Line 40: Line 55:
||<|3>Ubuntu||User-A||1|| ||<|3>Ubuntu||User-A||scim should work out of the box||
Line 42: Line 57:
||User-C||3||
||<|3>Kubuntu||User-A||1||
||User-C||follow User-B's case and check supported locale in ~/.scim/global file||
||<|3>Kubuntu||User-A||skim should work out of the box||
Line 45: Line 60:
||User-C||3|| ||User-C||follow User-B's case and check supported locale in ~/.scim/global file||

 IN PROGRESS

NOTE : This documentation is aimed at helping users under various locales input CJK(Chinese, Japanese and Korean) with SCIM. And, user experiences here are based on Ubuntu 6.06 - Dapper Drake - version.

Dependent Packages

Language

Input Method(s) defaulted

Simplified Chinese (zh_CN)

scim-chewing, scim-pinyin, scim-tables-zh

Traditional Chinese (zh_TW)

scim-chewing, scim-pinyin, scim-tables-zh

Japanese (ja_JP)

scim-anthy

Korean (ko_KR)

scim-hangul

  • scim/skim is default Input Method for Ubuntu/Kubuntu CJK users.
    • scim and scim-gtk2-immodule are installed by ubuntu-desktop.
    • skim and scim-qtimm are installed by kubuntu-desktop.
    • Defaulted IM engine module(s)(ie, scim-hangul) is installed by language-support-??(ie, language-support-ko).
    • im-switch is installed by language-support-??.
  • Additional installation of scim-related packages (This section is based on Dapper Beta version.)
    • For Chinese input :
    • For Japanese input :
    • For Korean input :
      1. scim-tables-ko is not required to install.
      2. scim-qtimm may need to be installed if users want to input Korean with QT/KDE applications under ubuntu-desktop.
      3. Same way, scim-gtk2-immodule (plus scim) may need to be installed for GTK/Gnome applications under kubuntu-desktop.

SCIM Setup

  • The follwings are for GTK/QT_IM_MODULE with scim ((ie, GTK_IM_MODULE=scim), if you prefer to set GT/QT_IM_MODULE with xim, please refer XIM mode below.
  • Dapper's method
  • scim-im.org's method : create 75scim file under /etc/X11/Xsession.d/ with following lines

       export XMODIFIERS="@im=SCIM"
       export XIM_PROGRAM="/usr/bin/scim -d"
       export GTK_IM_MODULE=scim
       export QT_IM_MODULE=scim 
  • user own setup
    • with im-switch installed, type im-switch command in the format of "im-switch [-z <YOUR_LANG>] -s <INPUT_METHOD>" at the terminal prompt so it looks like:

         im-switch -z en_US -s scim-hangul 
      which creates en_US file into ~/.xinput.d/
    • without im-switch installed
      1. system-wide : same as scim-im.org's method
      2. for gnome desktop, create (or add) the following lines to ~/.gnomerc file

             export XMODIFIERS="@im=SCIM"
             export XIM_PROGRAM=/usr/bin/scim -d
             export GTK_IM_MODULE=scim
             export QT_IM_MODULE=scim 
      3. for kde desktop

Users

  • User-A : Users use one of CJK locales (zh_CN.UTF-8, zh_TW.UTF-8, ja_JP.UTF-8, ko_KR.UTF-8)
  • User-B : Users use en_US.UTF-8
  • User-C : Users use one of other locales than en_US.UTF-8 and CJK locales

Setup Shortcut

Desktop

User

Setup

Ubuntu

User-A

scim should work out of the box

User-B

2

User-C

follow User-B's case and check supported locale in ~/.scim/global file

Kubuntu

User-A

skim should work out of the box

User-B

2

User-C

follow User-B's case and check supported locale in ~/.scim/global file

Input Details

  • Trigger keys : Control+space, Shift+space, Zenkaku_Hankaku(on Japanese keyboard), Hangul(on Korean keyboard)
  • (maybe scim/skim's tray icons here)

  • (maybe scim/skim configuration UI screenshot here)

  • Chinese
  • Japanese
  • Korean

XIM mode

Troubleshooting

  • To check scim/skim related packages installed,

     dpkg -l scim* | grep ii 

    and

     dpkg -l skim 
  • To check scim/skim running,

     ps -A | grep scim 

    for ubuntu-desktop and

     ps -A | grep skim 
    for kubuntu-desktop
  • To check scim/skim related env vars,

     env | grep IM_MODULE --> QT_IM_MODULE=scim, GTK_IM_MODULE=scim

    and

     env | grep XIM --> XIM_PROGRAM=/usr/bin/scim -d

    and

     env | grep XMOD  --> XMODIFIERS=@im=SCIM
  • To check supported locale for scim,

     cat ~/.scim/global 
    ,

    then look at /SupportedUnicodeLocales, if your locale isn't there add it to the line with comma like as

     /SupportedUnicodeLocales = en_US.UTF-8,en_UK.UTF-8 

Comments

InputMethods/SCIM/Setup (last edited 2009-10-29 23:40:42 by 160)