Here is how to add the chinese environment for working in Ubuntu.
1.You much be sure to select the Chinese locale zh_CN.UTF-8 using
sudo dpkg-reconfigure locales
2.If your operating system haven't zh_CN package
sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base
language-pack-zh language-pack-zh-base language-support-zh
3. Change Locale's current value
sudo export LANG="zh_CN.UTF-8" or vi /etc/environmentue
4. Set up fonts :
sudo apt-get install ttf-arphic-ukai ttf-arphic-uming
5.if your system to use scim:
sudo apt-get install scim scim-chinese scim-tables-zh scim-config-socket
sudo
sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim"
; scim -d ' > /etc/X11/Xsession.d/95xinput "sudo chmod +755
/etc/X11/Xsession.d/95xinput
If you have any suggestions for corrections,please leave me a comment, and I’ll check it out.
阅读(550) | 评论(0) | 转发(0) |