在ubuntu上安裝liu

以下引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 輸入法(Ctrl+space)
看!嘸蝦米就在那兒!!


狼翔月影 發表在 痞客邦 PIXNET 留言(0) 人氣()