Kubuntu 安装 fcitx 输入法爬坑

Documentary work for the UK National Lottery
Photo by dylan nolte / Unsplash

新买的笔记本到了 , 第一件事就是重装系统 , 什么 win10 家庭版见鬼吧 .

关闭 bios 安全启动 , 直接 U 盘重装 .

输入法

安装完第一件事当然是装输入法啦 .

apt install fcitx fcitx-googlepinyin
im-config

恩 , 一切顺利 . 重启系统
咦 , 怎么报错了?

提示我没启动 fcitx , 那就启动呗 .

dbus-launch fcitx-autostart

又提示 "请配置 XMODIFIERS 环境变量 "

那就继续 :

cat >~/.xprofile <<EOF
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export [email protected]=fcitx
EOF

以上内容也可以写入 ~/.profile

最后在 kde 设置-开机与关机-自动启动 菜单内添加 fcitx 开机启动项即可 .

现在重启后应该就能正常使用了 .

参考 :

Post : 20191123

comments powered by Disqus