fedora install input methed

简介:

首先卸载ibus输入法,在安装fcitx

yum remove ibus
yum remove imsettings imsettings-libs im-chooser
yum install fcitx
yum install fcitx-pinyin -y
yum install fcitx-sunpinyin

然后修改 ~/.bashrc,加入以下代码:

export GTK_IM_MODULE=xim
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=xim

在imsetting中选择默认的输入法为 fcitx

imsettings-list
imsettings-switch FCITX

: fcitx的配置文件:~/.config/fcitx/config sunpinyin的配置文件:~/.config/fcitx/conf/fcitx-sunpinyin.config

安装 fcitx-configtool 来配置 fcitx

yum install fcitx-configtool.x86_64

 

see http://www.cnblogs.com/wang_yb/p/3699410.html

 

相关文章
|
Linux
Linux - 解决使用 apt-get 安装 yum 的时耗报 E: Unable to locate package yum 的错误
Linux - 解决使用 apt-get 安装 yum 的时耗报 E: Unable to locate package yum 的错误
3279 0
Linux - 解决使用 apt-get 安装 yum 的时耗报 E: Unable to locate package yum 的错误
|
2月前
|
缓存 Ubuntu Linux
在Linux中,Yum、Dnf、Apt-get和Pacman有何区别?
在Linux中,Yum、Dnf、Apt-get和Pacman有何区别?
|
5月前
|
安全 Linux 虚拟化
解决Centos7 yum 出现could not retrieve mirrorlist 错误
在新安装的CentOS7.x通过VMware后,遇到无法通过`ip addr`获取IP地址以及`yum`安装软件时加载镜像列表失败的问题。
1432 2
|
Ubuntu Linux 数据库
Linux:报错“command not found: yum”及yum和apt-get的区别
Linux:报错“command not found: yum”及yum和apt-get的区别
1106 0
Linux:报错“command not found: yum”及yum和apt-get的区别
|
11月前
|
Ubuntu 安全
ubuntu sudo apt-get upgrade 和 sudo apt-get dist-upgrade区别
ubuntu sudo apt-get upgrade 和 sudo apt-get dist-upgrade区别
|
存储 安全 Ubuntu
Linux `sudo apt update`和`sudo apt upgrade`命令的作用和使用方法
Linux `sudo apt update`和`sudo apt upgrade`命令的作用和使用方法
669 0
Linux `sudo apt update`和`sudo apt upgrade`命令的作用和使用方法
|
Linux
centos7下pip安装wechat_sender报错问题解决
注意:wechat-sender基于wxpy,wxpy基于itchat,目前腾讯以大批量关闭微信网页版接口,所以wechat-sender当前已不能使用,以下仅做学习记录 wechat-sender 是基于 wxpy 和 tornado 实现的一个可以将你的网站、爬虫、脚本等其他应用中各种消息 (日志、报警、运行结果等) 发送到微信的工具。
359 0
centos7下pip安装wechat_sender报错问题解决
|
Shell 网络安全 Linux
Expect 安装 on centos7
使用场景 在主机A上编写并且执行Shell脚本,Shell脚本中需要ssh到主机B上执行交互命令。 安装 在主机A上安装expect: yum install expect Shell脚本示例 #!/usr/bin/expect set ip 192.
1517 0