Skip to main content

How to Type Chinese Word in the Raspbian?

How To Type Chinese Word In The Raspbian?

How To Type Chinese Word In The Raspbian?

Introduction

Chinese word has two kinds of stylus, including traditional and simplified. Firstly, we need to install Chinese Font. Secondly, we have to install input method utility program. Thirdly, to check Chinese type program that is able to write Chinese text. We will install two kinds of Chinese input method utility once time.

Equipment

Operation System: Raspbian (NOOBS v1.3.10)
Chinese Font: ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy ttf-arphic-uming ttf-arphic-ukai
Chinese Utility: scim scim-tables-zh scim-chewing scim-pinyin

Usage

1.. To install Chinese Font.
root@raspberrypi:/home/pi# aptitude install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy ttf-arphic-uming ttf-arphic-ukai
The following NEW packages will be installed:
 fonts-arphic-ukai fonts-arphic-uming ttf-arphic-ukai ttf-arphic-uming ttf-wqy-microhei
 ttf-wqy-zenhei xfonts-wqy
0 packages upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.4 MB of archives. After unpacking 82.7 MB will be used.
Do you want to continue? [Y/n/?]Y
Get: 1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main fonts-arphic-uming all 0.2.20080216.2-4 [7,938 kB]
Get: 2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-arphic-uming all 0.2.20080216.2-4 [10.1 kB]
Get: 3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main fonts-arphic-ukai all 0.2.20080216.2-3 [10.3 MB]
Get: 4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-wqy-microhei all 0.2.0-beta-1.1 [2,373 kB]
Get: 5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-wqy-zenhei all 0.9.45-4 [9,189 kB]
Get: 6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main xfonts-wqy all 0.9.9-5 [6,558 kB]
Get: 7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-arphic-ukai all 0.2.20080216.2-3 [9,662 B]
Fetched 36.4 MB in 30s (1,198 kB/s)
Preconfiguring packages ...
Selecting previously unselected package fonts-arphic-uming.
(Reading database ... 100640 files and directories currently installed.)
Unpacking fonts-arphic-uming (from .../fonts-arphic-uming_0.2.20080216.2-4_all.deb) ...
Selecting previously unselected package ttf-arphic-uming.
Unpacking ttf-arphic-uming (from .../ttf-arphic-uming_0.2.20080216.2-4_all.deb) ...
Selecting previously unselected package fonts-arphic-ukai.
Unpacking fonts-arphic-ukai (from .../fonts-arphic-ukai_0.2.20080216.2-3_all.deb) ...
Selecting previously unselected package ttf-wqy-microhei.
Unpacking ttf-wqy-microhei (from .../ttf-wqy-microhei_0.2.0-beta-1.1_all.deb) ...
Selecting previously unselected package ttf-wqy-zenhei.
Unpacking ttf-wqy-zenhei (from .../ttf-wqy-zenhei_0.9.45-4_all.deb) ...
Selecting previously unselected package xfonts-wqy.
Unpacking xfonts-wqy (from .../xfonts-wqy_0.9.9-5_all.deb) ...
Selecting previously unselected package ttf-arphic-ukai.
Unpacking ttf-arphic-ukai (from .../ttf-arphic-ukai_0.2.20080216.2-3_all.deb) ...
Processing triggers for fontconfig ...
Setting up fonts-arphic-uming (0.2.20080216.2-4) ...
Setting up ttf-arphic-uming (0.2.20080216.2-4) ...
Setting up fonts-arphic-ukai (0.2.20080216.2-3) ...
Setting up ttf-wqy-microhei (0.2.0-beta-1.1) ...
Setting up ttf-wqy-zenhei (0.9.45-4) ...
Setting up xfonts-wqy (0.9.9-5) ...
Regenerating fonts cache... done.
Setting up ttf-arphic-ukai (0.2.20080216.2-3) …

2.. To install Chinese input method utility.
root@raspberrypi:/home/pi# aptitude install scim scim-tables-zh scim-chewing scim-pinyin
The following NEW packages will be installed:
 dialog{a} fonts-arphic-bsmi00lp fonts-arphic-gbsn00lp im-config{a} libchewing3{a}
 libchewing3-data{a} libscim8c2a{a} scim scim-chewing scim-gtk-immodule{a}
 scim-modules-socket{a} scim-modules-table{a} scim-pinyin scim-tables-zh
 ttf-arphic-bsmi00lp{a} ttf-arphic-gbsn00lp{a}
0 packages upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.8 MB of archives. After unpacking 47.5 MB will be used.
Do you want to continue? [Y/n/?]Y
Get: 1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main fonts-arphic-bsmi00lp all 2.10-12 [3,766 kB]
Get: 2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main fonts-arphic-gbsn00lp all 2.11-12 [1,722 kB]
Get: 3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libchewing3-data armhf 0.3.3-4 [1,972 kB]
Get: 4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libchewing3 armhf 0.3.3-4 [60.7 kB]
Get: 5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libscim8c2a armhf 1.4.13-5 [413 kB]
Get: 6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-arphic-bsmi00lp all 2.10-12 [6,518 B]
Get: 7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-arphic-gbsn00lp all 2.11-12 [6,674 B]
Get: 8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main dialog armhf 1.1-20120215-2 [304 kB]
Get: 9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main im-config all 0.21 [36.6 kB]
Get: 10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim armhf 1.4.13-5 [677 kB]
Get: 11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim-chewing armhf 0.3.4-1.2 [62.6 kB]
Get: 12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim-modules-socket armhf 1.4.13-5 [110 kB]
Get: 13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim-gtk-immodule armhf 1.4.13-5 [152 kB]
Get: 14 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim-modules-table armhf 0.5.9-2 [259 kB]
Get: 15 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim-pinyin armhf 0.5.91-2 [2,244 kB]
Get: 16 http://mirrordirector.raspbian.org/raspbian/ wheezy/main scim-tables-zh all 0.5.9-2 [6,035 kB]
Fetched 17.8 MB in 21s (829 kB/s)
Selecting previously unselected package fonts-arphic-bsmi00lp.
(Reading database ... 100763 files and directories currently installed.)
Unpacking fonts-arphic-bsmi00lp (from .../fonts-arphic-bsmi00lp_2.10-12_all.deb) ...
Selecting previously unselected package fonts-arphic-gbsn00lp.
Unpacking fonts-arphic-gbsn00lp (from .../fonts-arphic-gbsn00lp_2.11-12_all.deb) ...
Selecting previously unselected package libchewing3-data:armhf.
Unpacking libchewing3-data:armhf (from .../libchewing3-data_0.3.3-4_armhf.deb) ...
Selecting previously unselected package libchewing3:armhf.
Unpacking libchewing3:armhf (from .../libchewing3_0.3.3-4_armhf.deb) ...
Selecting previously unselected package libscim8c2a:armhf.
Unpacking libscim8c2a:armhf (from .../libscim8c2a_1.4.13-5_armhf.deb) ...
Selecting previously unselected package ttf-arphic-bsmi00lp.
Unpacking ttf-arphic-bsmi00lp (from .../ttf-arphic-bsmi00lp_2.10-12_all.deb) ...
Selecting previously unselected package ttf-arphic-gbsn00lp.
Unpacking ttf-arphic-gbsn00lp (from .../ttf-arphic-gbsn00lp_2.11-12_all.deb) ...
Selecting previously unselected package dialog.
Unpacking dialog (from .../dialog_1.1-20120215-2_armhf.deb) ...
Selecting previously unselected package im-config.
Unpacking im-config (from .../im-config_0.21_all.deb) ...
Selecting previously unselected package scim.
Unpacking scim (from .../scim_1.4.13-5_armhf.deb) ...
Selecting previously unselected package scim-chewing.
Unpacking scim-chewing (from .../scim-chewing_0.3.4-1.2_armhf.deb) ...
Selecting previously unselected package scim-modules-socket:armhf.
Unpacking scim-modules-socket:armhf (from .../scim-modules-socket_1.4.13-5_armhf.deb) ...
Selecting previously unselected package scim-gtk-immodule:armhf.
Unpacking scim-gtk-immodule:armhf (from .../scim-gtk-immodule_1.4.13-5_armhf.deb) ...
Selecting previously unselected package scim-modules-table.
Unpacking scim-modules-table (from .../scim-modules-table_0.5.9-2_armhf.deb) ...
Selecting previously unselected package scim-pinyin.
Unpacking scim-pinyin (from .../scim-pinyin_0.5.91-2_armhf.deb) ...
Selecting previously unselected package scim-tables-zh.
Unpacking scim-tables-zh (from .../scim-tables-zh_0.5.9-2_all.deb) ...
Processing triggers for fontconfig ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for libgtk-3-0:armhf ...
Processing triggers for libgtk2.0-0:armhf ...
Setting up fonts-arphic-bsmi00lp (2.10-12) ...
Setting up fonts-arphic-gbsn00lp (2.11-12) ...
Setting up libchewing3-data:armhf (0.3.3-4) ...
Setting up libchewing3:armhf (0.3.3-4) ...
Setting up libscim8c2a:armhf (1.4.13-5) ...
Setting up ttf-arphic-bsmi00lp (2.10-12) ...
Setting up ttf-arphic-gbsn00lp (2.11-12) ...
Setting up dialog (1.1-20120215-2) ...
Setting up im-config (0.21) ...
Setting up scim (1.4.13-5) ...
update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/ja_JP (xinput-ja_JP) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/ko_KR (xinput-ko_KR) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_CN (xinput-zh_CN) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_TW (xinput-zh_TW) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_HK (xinput-zh_HK) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim to provide /etc/X11/xinit/xinput.d/zh_SG (xinput-zh_SG) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/ja_JP (xinput-ja_JP) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/ko_KR (xinput-ko_KR) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_CN (xinput-zh_CN) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_TW (xinput-zh_TW) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_HK (xinput-zh_HK) in auto mode
update-alternatives: using /etc/X11/xinit/xinput.d/scim-immodule to provide /etc/X11/xinit/xinput.d/zh_SG (xinput-zh_SG) in auto mode
Setting up scim-chewing (0.3.4-1.2) ...
Setting up scim-modules-socket:armhf (1.4.13-5) ...
Setting up scim-gtk-immodule:armhf (1.4.13-5) ...
Setting up scim-modules-table (0.5.9-2) ...
Setting up scim-pinyin (0.5.91-2) ...
Setting up scim-tables-zh (0.5.9-2) ...
Processing triggers for menu …

3.. To check input Chinese words.

3.1. If you has been finished installation progress, you should log-out and then log-in again. You will find out a keyboard icon in the right-bottom corner.

3.2. To open 'leafpad'. A blank document will check input two kinds of Chinese words. To click the keyboard icon and then choice Chinese simplified → smart pinyin. You will see a status bar means that you can start to type Chinese simplified words.

3.3. To press 'z' → 'enter' key, page down once and then choice number four. The word (早) means good morning.

3.4. To check Chinese traditional words, To click the keyboard icon and then choice Chinese traditional → ZhuYin. You will see a different status bar means that you can start to type Chinese traditional.

3.5 To press 'y' → 'l' → '3' → 'enter' key continuous and then choice number one. The word (早) means good morning.

Exception

If it is not able to appear the status bar, try to use 'leafpad', I think it is some bug in this version.
I prefer to use the Chewing to type Chinese traditional and the smart pinyin to type Chinese simplified.

Acknowledge

Thank you (SCIM, Raspbian) very much for this great tool.

Popular Posts

波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

最佳化處理策略之快速消除扭曲演算法

Python 日期與時間的處理

波蘭文學習之旅:1-1. 波蘭文字母與發音(注音版)

Image

最佳化處理策略之快速消除扭曲演算法

Image

Python 日期與時間的處理

Image

Visual Basic 6.0 程式案例學習: 10. 條碼列印程式 (2014版)

Image

Visual Basic .Net 程式案例學習: 06. 題庫測驗系統 (2014版)

Image

修復損毀的 SQLite DB 資料庫

Image

用10種程式語言做影像二值化(Image binarization)

Image

解決 ValueError: If using all scalar values, you must pass an index

Image

Visual Basic 6.0 程式案例學習: 04. 人事考勤管理系統 (2014版)

Image

Visual Basic 6.0 程式案例學習: 07. 收據列印程式 (2014版)

Image

佑佑的 Line 貼圖創作

貼圖作者網址:

https://line.me/S/shop/sticker/author/3883362

靜態貼圖

 
 
 
 
  牡羊座:狗狗角色

作者:佑佑
依照牡羊座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  金牛座:兔兔角色

作者:佑佑
依照金牛座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  雙子座:貓貓角色

作者:佑佑
依照雙子座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  巨蟹座:倉鼠角色

作者:佑佑
依照巨蟹座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  獅子座:幼獅角色

作者:佑佑
依照獅子座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  處女座:松鼠角色

作者:佑佑
依照處女座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  天秤座:鴿子角色

作者:佑佑
依照天秤座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  天蠍座:鳳凰角色

作者:佑佑
依照天蠍座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  射手座:人馬角色

作者:佑佑
依照射手座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  魔羯座:山羊角色

作者:佑佑
依照魔羯座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  水瓶座:海豚角色

作者:佑佑
依照水瓶座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
  雙魚座:小丑魚角色

作者:佑佑
依照雙魚座的個性優點、個性缺點、生活習慣、理財習慣、社交習慣、愛情觀、節假日、禮貌問候,所編撰的貼圖。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  上班族都變成狒狒,心裡想要說的話。

作者:佑佑
最近在台灣走紅的狒狒,用擬人化的方式,變成上班族,畫出心裡的想說的話。
購買貼圖
  接案派遣的日常

作者:佑佑
接案派遣到其他公司的日常對話,有調皮、正經、日常對話。
購買貼圖
  貓女事務員的搞笑時刻

作者:佑佑
把行政人員在職場上遇到千奇百怪的事情畫出來,用可愛的貓女來擔任行政人員的代言人。
購買貼圖
  貓貓說每天都會用到的話

作者:佑佑
日常生活常見的短句,用小貓擬人化的方式呈現,比較親切可愛。
購買貼圖
 
     
  大人的煩惱特輯:小兔角色

作者:佑佑
錢包餓了,生活苦了。變美變健康?先讓我睡飽吧。心好累,我需要充電。
購買貼圖
     

動態貼圖

 
 
 
 
  牡羊座日常交際:狗狗角色

作者:佑佑
依照牡羊座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  金牛座日常交際:兔兔角色

作者:佑佑
依照金牛座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  雙子座日常交際:貓貓角色

作者:佑佑
依照雙子座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  巨蟹座日常交際:倉鼠角色

作者:佑佑
依照巨蟹座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  獅子座日常交際:幼獅角色

作者:佑佑
依照獅子座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  處女座日常交際:松鼠角色

作者:佑佑
依照處女座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  天秤座日常交際:鴿子角色

作者:佑佑
依照天秤座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  天蠍座日常交際:鳳凰角色

作者:佑佑
依照天蠍座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
 
 
 
  射手座日常交際:人馬角色

作者:佑佑
依照射手座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  魔羯座日常交際:山羊角色

作者:佑佑
依照魔羯座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  水瓶座日常交際:海豚角色

作者:佑佑
依照水瓶座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
  雙魚座日常交際:小丑魚角色

作者:佑佑
依照雙魚座的個性,描繪日常生活的行為,供交際表達心情使用。星座只能當參考用,不會完全準確。
購買貼圖
 
     
  厭世報:鬍渣男

作者:佑佑
厭世總有個理由跟原因,實在是令人不爽,為什麼最倒楣的總是我?真希望明天就是世界末日,讓大家都一樣慘。
購買貼圖
     

表情貼

 
 
 
 
  貓貓說每天都用得到的表情貼

作者:佑佑
日常生活常見的表情用語,用小貓擬人化的方式呈現,比較親切可愛。
購買貼圖
  天秤座的表情貼:鴿子角色

作者:佑佑
日常生活常見的表情用語,天秤座的鴿子擬人化方式呈現,比較親切可愛。
購買貼圖
  天蠍座的表情貼:鳳凰角色

作者:佑佑
日常生活常見的表情用語,天蠍座的鳳凰擬人化方式呈現,比較親切可愛。
購買貼圖
  射手座的表情貼:人馬角色

作者:佑佑
日常生活常見的表情用語,射手座的人馬擬人化方式呈現,比較親切可愛。
購買貼圖
 
 
 
 
  魔羯座的表情貼:山羊角色

作者:佑佑
日常生活常見的表情用語,魔羯座的山羊擬人化方式呈現,比較親切可愛。
購買貼圖
  水瓶座的表情貼:海豚角色

作者:佑佑
日常生活常見的表情用語,水瓶座的海豚擬人化方式呈現,比較親切可愛。
購買貼圖
  雙魚座的表情貼:小丑魚角色

作者:佑佑
日常生活常見的表情用語,雙魚座的小丑魚擬人化方式呈現,比較親切可愛。
購買貼圖