首页 > 系统服务 > 详细

【Linux基础】fcitx中文输入法安装

时间:2020-04-27 09:39:19      阅读:70      评论:0      收藏:0      [点我收藏+]

内容转自:https://www.cnblogs.com/wmjlh/p/7407156.html

 

一、安装Fcitx

1. 安装Fcitx所需组件

sudo apt install fcitx fcitx-tools fcitx-config* fcitx-frontend* fcitx-module* fcitx-ui-* presage

2. 移除多余的组件(仅针对非KDE桌面)

因为上面的安装命令为了方便使用了通配符安装,所以会多安装一个fcitx-module-kimpanel,这个组件可能导致在非KDE桌面环境下Fcitx输入中文时不显示候选词框,如果是KDE桌面则无需移除。

 sudo apt remove fcitx-module-kimpanel

3. 根据需要安装一个或多个输入法

$ sudo apt install fcitx-pinyin            # 拼音
$ sudo apt install fcitx-sunpinyin         # sun拼音
$ sudo apt install fcitx-googlepinyin      # google拼音
$ sudo apt install fcitx-table-wubi-large  # 五笔

 

二、Fcitx输入中文时不显示候选词框的解决办法

如上所述,在非KDE桌面环境下,如果安装了fcitx-module-kimpanel,可能会导致Fcitx输入中文时不显示候选词框,移除该组件,然后重启Fcitx

sudo apt remove fcitx-module-kimpanel

三、fcitx中文输入法-全角中括号

新安装的fcitx,在中文输入法状态时,[]打出的字符为·/

编辑/usr/share/fcitx/data/punc.mb.zh_CN,
将
[ ·
] 「 」
这部分改成自己习惯的:
[  【
]  】
保存后,重启一下fcitx就OK了。

 ##############################################################################################################

另一种方法:

> sudo apt-get install fcitx-pinyin im-switch

> im-config -s fcitx -z all_ALL

安装fcitx后,在系统input method中选择Fcitx并安装中文输入法,重启系统即可。但是没有候选词框。

【Linux基础】fcitx中文输入法安装

原文:https://www.cnblogs.com/dreaming-deer/p/12784157.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!