manjaro安装其他输入法

安装sunpinyin输入法

搜狗输入法很容易卡死和崩溃,google-pinyin个人使用起来自动补全效果不如fcitx-sunpinyin
sunpinyin开源代码库:https://github.com/sunpinyin/sunpinyin

sudo pacman -S fcitx-im #默认全部安装
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sunpinyin
**创建.xprofile并添加如下内容:**
sudo vim ~/.xprofile
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

安装fcitx 5

sudo pacman -Rs $(pacman -Qsq fcitx)

sudo pacman -S fcitx5 fcitx5-configtool fcitx5-qt fcitx5-gtk fcitx5-chinese-addons fcitx5-material-color

  • fcitx5: 输入法基础框架主程序

  • fcitx5-configtool(kcm-fcitx5):输入法配置程序(KDE桌面环境的支持)

  • fcitx5-qt: QT5程序的支持

  • fcitx5-gtk: GTK程序的支持

  • fcitx5-chinese-addons: 简体中文输入的支持,云拼音

  • fcitx5-material-color:一款使用 Material Design 配色的 fcitx5 皮肤,旨在模仿 Windows 10 自带输入法的 UI

修改输入法环境变量,使应用可以调用Fcitx5输入法
将下面的内容粘贴到~/.pam_environment

GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE  DEFAULT=fcitx
XMODIFIERS    DEFAULT=@im=fcitx

将下面的内容粘贴到 ~/.xprofile(每次使用gdm等图形登录时读取并运用里面的设定)

fcitx5 &

使用wps的用户还需要编辑~/.xprofile

export QT_IM_MODULE=fcitx5

https://www.cnblogs.com/fatalord/p/13850072.html
https://zhuanlan.zhihu.com/p/341637818

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容