您的位置:首页 > 其它

在英文版Debian中添加中文拼音(双拼)输入法

2017-02-24 06:45 302 查看

在英文版Debian中添加中文拼音(双拼)输入法

Although for most time english is enough, we have to input some chinese when browse some chinese sites.This post will show how to add chinese input method in Debian(english version).

尽管大多数时间英文可以满足用户的大部分需求,但当我们浏览一些中文页面时我们必须输入一些中文字符。这篇博客将会教给你怎样在英文版的debian系统中添加中文输入法!

Chinese Support(中文支持)

add chinese locales support:(添加中文语系支持)

sudo dpkg-reconfigure locales


Add(添加) zh_CN GB2312, zh_CN_GBK, zh_CN.UTF-8

使用空格键选择



but still set default locale as en_US.UTF-8

但是仍然设置默认语系为en_US.UTF-8

This step can be manually configured in /etc/locale.gen

这一步也可以通过配置/etc/locale.gen文件完成

install fonts(安装字体)

sudo aptitude install fonts-arphic-uming xfonts-intl-chinese xfonts-wqy


Fcitx Input Method(Fcitx输入法)

install fcitx and fcitx-pinyin(安装fcitx和fcitx-pinyin)

sudo aptitude install fcitx fcitx-pinyin


install im-config to config the input method

安装im-config来配置输入法

sudo aptitude install im-config


config the input method to fcitx(将输入法配置为fcitx)

use im-config, then choose fcitx(执行im-config命令,然后选择fcitx,如下图所示)



restart the xwindows with(执行 sudo startx 命令 重启 xwindows ) sudo startx

Add shuangpin or pinyin in Input Method将双拼或拼音添加到输入法中

use fcitx-configuretool to add shuangpin and pinyin(使用fcitx-configuretool来添加双拼和拼音)



Problem(问题)

sometimes, we can’t add pinyin or shuangpin in english environment. Just set system’s Region and Language as chinese

当我们不能在英文环境下添加拼音或者双拼时,先将系统的地区与语言设为中文

In chinese environment, use fcitx-configuretool to add shuangpin or pinyin in Input Method. Then change system language back to english. Now you can just use chineseinput in english debian.

在中文环境中,使用fcitx-configuretool来添加拼音与双拼到输入法中。然后重新将系统的语言设置为英语。现在你应该可以在英文版debian中使用中文输入法了

Supplement

To use Wubi or Google Pinyin etc, you have to add these input method like **sudo aptitude intall fcitx-googlepinyin.

想使用五笔或者谷歌拼音等输入法,必须执行类似(**sudo aptitude intall fcitx-googlepinyin)这条指令来安装相关输入法,然后后面的操作与前面叙述的相同
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  debian 输入法