7月 14, 2007

在Ubuntu安裝嘸蝦米輸入法

筆記一下!

嘸蝦米安裝方法如下:

摘自Ubuntu正體中文站H45大大的發言-原文



安裝 SCIM,下載謎物,解壓縮並編輯它

sudo apt-get install scim
wget http://cle.linux.org.tw/~edt1023/gcin/noseeing-8.tar.gz
tar -zxvf noseeing-8.tar.gz
gedit noseeing.cin

把第 1 行到第 39 行換成以下
SCIM_Generic_Table_Phrase_Library_TEXT
VERSION_1_0
BEGIN_DEFINITION
UUID = 3d872a7a-760e-400c-8b23-688d38390e81
SERIAL_NUMBER = 20040922
ICON = /usr/share/scim/icons/liu5.png
NAME = Liu5
NAME.zh_CN = 嘸蝦米
NAME.zh_TW = 嘸蝦米
NAME.zh_HK = 嘸蝦米
LANGUAGES = zh_TW,zh_HK,zh_CN,zh_SG
STATUS_PROMPT = 中
AUTO_SELECT = FALSE
AUTO_WILDCARD = TRUE
AUTO_COMMIT = FALSE
AUTO_SPLIT = TRUE
DYNAMIC_ADJUST = TRUE
AUTO_FILL = FALSE
ALWAYS_SHOW_LOOKUP = TRUE
DEF_FULL_WIDTH_PUNCT = TRUE
DEF_FULL_WIDTH_LETTER = FALSE
MAX_KEY_LENGTH = 4
VALID_INPUT_CHARS = ,.'abcdefghijklmnopqrstuvwxyz[]
SINGLE_WILDCARD_CHAR = ?
MULTI_WILDCARD_CHAR = *
SPLIT_KEYS = space
COMMIT_KEYS = space
FORWARD_KEYS = Return
SELECT_KEYS = space,2,3,4,5,6,7,8,9,0
### The key strokes to page up the lookup table.
PAGE_UP_KEYS = Page_Up
PAGE_DOWN_KEYS = Page_Down,space
END_DEFINITION
BEGIN_TABLE


在文件的最後一行置加上
END_TABLE
儲存並離開,以此表格建立 scim 使用的二元檔。

scim-make-table noseeing.cin -b -o liu5.bin

到此算是完成最重要的 liu5.bin
開啟 SCIM 輸入法設定視窗
輸入法引擎 -> 泛用對照表 -> 管理對照表 -> 安裝 -> 選取檔案
選取剛建立好的 liu5.bin
確定!!

重新登入,開啟文字編輯器,切換 SCIM 輸入法


沒有留言: