ubuntu英文locale下配置安装中文输入法(fcitx)


ubuntu英文locale下配置安装中文输入法(fcitx)
 
废话不多说,练习了就知道,且看下面步骤: 
 
1. 安装中文包(不同版本,安装的包名略有不同)
 
                          sudo apt-get install language-pack-zh-hant
 
                          sudo apt-get install language-support-zh-hant
2. 安装中文输入法
 
                          sudo apt-get install fcitx
 
3. 在/etc/X11/Xsession.d下添加95xinput文件,内容如下:
                         export XMODIFIERS=@im=fcitx
                         export XIM=fcitx
                         export XIM_PROGRAM=fcitx
                         fcitx
4.指定系统LC_type
 
                        LC_CTYPE="zh_CN.UTF-8"
 
      重启系统   , 搞定   ^_^
 

相关内容

    暂无相关文章