我按照新手指南的步骤安装ubuntu后发现没有输入法,只有英文,后来看快速设置中都是用命令,如下:
安装输入法,你可以在SCIM和fcitx输入法中任选一种安装
SCIM:
sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad
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
fcitx:
sudo apt-get install fcitx
sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
sudo chmod +755 /etc/X11/Xsession.d/95xinput
5.10scim
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- ssjjxx000
- 帖子: 201
- 注册时间: 2006-01-09 9:41
- 来自: 湖南邵东
scim
#
设置本地local环境:
sudo dpkg-reconfigure locales
确保 zh_CN.UTF-8 被选择,同时也默认local为 zh_CN.UTF-8
#
安装中文语言支持:
sudo apt-get install language-pack-zh language-pack-zh-base language-support-zh
#
安装中文字体(如果出现需要输入[Y/n] 或 [y/N] 一律输入 y 并 回车):
sudo apt-get install ttf-arphic-newsung
sudo apt-get install ttf-vera-yuan
#
安装输入法,你可以在SCIM和fcitx输入法中任选一种安装
* SCIM:
sudo apt-get install scim scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad
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
* fcitx:
sudo apt-get install fcitx
sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
sudo chmod +755 /etc/X11/Xsession.d/95xinput
# 设置LC_ALL和其它属性:
sudo gedit /etc/environment
在编辑器里,将内容修改如下:
LANGUAGE="zh_CN:zh:en_US:en"
LC_ALL=zh_CN.UTF-8
LANG=zh_CN.UTF-8
GST_ID3_TAG_ENCODING=GBK
保存,关闭编辑器
设置本地local环境:
sudo dpkg-reconfigure locales
确保 zh_CN.UTF-8 被选择,同时也默认local为 zh_CN.UTF-8
#
安装中文语言支持:
sudo apt-get install language-pack-zh language-pack-zh-base language-support-zh
#
安装中文字体(如果出现需要输入[Y/n] 或 [y/N] 一律输入 y 并 回车):
sudo apt-get install ttf-arphic-newsung
sudo apt-get install ttf-vera-yuan
#
安装输入法,你可以在SCIM和fcitx输入法中任选一种安装
* SCIM:
sudo apt-get install scim scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad
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
* fcitx:
sudo apt-get install fcitx
sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
sudo chmod +755 /etc/X11/Xsession.d/95xinput
# 设置LC_ALL和其它属性:
sudo gedit /etc/environment
在编辑器里,将内容修改如下:
LANGUAGE="zh_CN:zh:en_US:en"
LC_ALL=zh_CN.UTF-8
LANG=zh_CN.UTF-8
GST_ID3_TAG_ENCODING=GBK
保存,关闭编辑器