在ubuntu英文系统下使用中文输入法


How to install and use Chinese Input Method in the English Locale in Ubuntu ?
(1) Check if there exists a .txt file named "zh_hans"  in the directory of /var/lib/locales/SUPPORTED.D/ ;
if it do not exist, goto (2);
Else goto (3);
(2) Create a .txt file named "zh_hans" in the directory of /var/lib/locales/SUPPORTED, and write "zh_CN.UTF-8 UTF-8" on it;
And then input command "sudo locale-gen" in the terminal to update charaters set in the directory of /usr/lib/locale.
(3) Locate the file of "locale" in the directory of /etx/default/, and add "LC_CTYPE=zh_CN.UTF-8" in the end.
(4) Reboot your computer.
(5) After login your computer,configure Chinese Input Method.
Now everything is done,enjoy your life with Chinese Input Method.

相关内容