GCIN

From OLPC
Jump to navigation Jump to search
This article is a stub. You can help the OLPC project by expanding it.

GCIN is a light-weighted multilingual input method written purely in GTK2. It supports both GTK im-module and Qt IM as well as traditional XIM architecture. Although the original target of this input method is for traditional Chinese users, the supported IM table architecture provides wide variety input methods including simplified Chinese, Japanese, Korean... as well as many other languages.

Brief history

Supported Languages

GCIN supports various input methods, including:

   * 倉頡、倉頡五代、標點倉頡
   * 注音 (傳統選字注音、ㄅ半)
   * 拼音
   * 詞音 (類似「自然輸入法」或「微軟新注音」的智慧選字注音)
   * 智能拼音 (gcin-setup -> gcin 注音/詞音設定 -> 鍵盤排列方式 -> 聲調拼音)
   * 大易
   * 行列
   * 內碼 (支援 UTF-32 與 Big-5)
   * 簡易 (在香港稱為「速成輸入法」)
   * 日本式 (日文) (可輸入假名和漢字,亦可快速不選字只輸入假名)
   * greek (希臘字母)
   * latin-letters (拉丁字母) (可輸入法文、德文等等)
   * 帶調粵拼 

Besides, all the table input method from SCIM are supported.

Installation and Activation

The configuration scripts in the GCIN package do not work on XO. One can copy ~olpc/.xsession-example to ~olpc/.xsession and put the following line into it. GCIN will then be activated during Sugar start-up. (~olpc/.xinitrc is obsoleted for system image beyond Build 650.)

export XMODIFIERS=@im=GCIN
export GTK_IM_MODULE=gcin

Since there's no system tray in Sugar, GCIN can be invoked by pressing the Ctrl+Space hot-key. The GCIN bar will appear "over-the-spot". Different keyboard layouts can be chosen from the "gcin-setup" GUI tool from terminal. An "off-the-spot" behavior can also be chosen from "gcin-setup". One can also switch between different IM's from the context menu by right-clicking in the text area.

To activate the GCIN speech function for Chinese, one need to install an "ogg.tgz" from the author's web site. http://cle.linux.org.tw/gcin/download/ogg.tgz

su   # or using sudo directly for develop build
yum install vorbis-tools   # needs ogg123 for playback
tar zxvf ogg.tgz -C /usr/share/gcin/

One also need to enable from "gcin-setup" after audio files installed.

Using on XO

Useful Links