Debian安裝SCIM中文輸入法

2021-05-21 21:38:16 字數 1927 閱讀 4671

在debian下安裝軟體包可以說還是比較容易的,當然有個好的源是必須的,把下面兩行

放到檔案

/etc/apt/sources.list

執行一下命令: apt-get update

下面正式開始安裝,其實很容易的:

debian:/home$ apt-get install scim scim-chinese scim-modules-table scim-pinyin scim-tables-zh

正在處理用於 man-db 的觸發器...

正在設定 xutils-dev (1:7.1.ds-6) ...

正在設定 xutils (1:7.1.ds.3-1) ...

正在設定 im-switch (1.14) ...

正在設定 libscim8c2a (1.4.4-7) ...

正在設定 scim (1.4.4-7) ...

正在設定 scim-pinyin (0.5.0-2) ...

正在設定 scim-chinese (0.5.0-2) ...

正在設定 scim-modules-socket (1.4.4-7) ...

正在設定 scim-modules-table (0.5.6-2) ...

正在設定 scim-tables-zh (0.5.6-2) ...

正在設定 ttf-arphic-bsmi00lp (2.10-6.1) ...

updating fontconfig cache for /usr/share/fonts/truetype/arphic

no cidsupplement specified for shanheisun-light, defaulting to 0.

正在設定 ttf-arphic-gbsn00lp (2.11-6.1) ...

updating fontconfig cache for /usr/share/fonts/truetype/arphic

no cidsupplement specified for bousungeg-light-gb, defaulting to 0.

no cidsupplement specified for shanheisun-light, defaulting to 0.

至此,軟體安裝部分好了,還需要作一些設定:

1)需要乙個啟動指令碼95xinput,把它放到/etc/x11/xsession.d/下

95xinput檔案內容:

code:/usr/bin/scim -d

export xmodifiers="@im=scim"

export gtk_im_module="scim

如果是英文系統的話,還需要進行以下操作,否則調不出輸入法:

gedit /etc/environment

內容如下:

lang=en_us.utf-8

lc_ctype=zh_cn.utf-8

lc_numeric=en_us.utf-8

lc_time=en_us.utf-8

lc_collate=en_us.utf-8

lc_monetary=en_us.utf-8

lc_messages=en_us.utf-8

lc_*****=en_us.utf-8

lc_name=en_us.utf-8

lc_address=en_us.utf-8

lc_telephone=en_us.utf-8

lc_measurement=en_us.utf-8

lc_identification=en_us.utf-8

Ubuntu8 04 下讓SCIM支援中文輸入

文章出處 https help.ubuntu.com community scim chinese chinese character input require scim.在這裡,我們將告訴你如何在不安裝語言支援包的情況下安裝scim中文輸入 在開始之前,你可能需要對你的ubuntu新系統做一些基...

ubuntu安裝中文支援以及scim中文輸入

1 now we can install some chinese packages,the commands are sudo apt get install language pack gnome zh sudo apt get install language pack gnome zh ba...

Debian中文字型安裝

預設裝的英文辦的debian7,看中國字不太美,這好辦照著做吧 1.setup locales dpkg reconfigure locales 選擇zh cn gb2312 zh cn.gbk gbk zh cn.utf 8 utf 8 預設locale還是選en us.uf8 2.install...