[elementary OS][Loki] 安装并配置fcitx输入法框架
elementaryos吧
全部回复
仅看楼主
level 2
SDBDWDMZ 楼主
Ubuntu16.04是自带fcitx输入法框架的,然而在EOS里却给移除了,导致输入中文时很不方便,下面分享一下怎样重新安装fcitx,欢迎大家讨论。
主要步骤如下:
1、打开终端,更新软件源
sudo apt update
2、直接安装需要的输入法包,如fcitx-googlepinyin,fcitx-pinyin,fcitx-table-wubi等,其他基础软件包会自动装上。命令示例如下
sudo apt install fcitx-googlepinyin
3、打开“系统设置”、“语言和区域”;点击“解锁”,输入密码;在左边“已安装的语言”中选择Chinese,然后点击“设置系统语言”
4、打开“系统设置”、“键盘”、“布局”;把左边的布局都删掉,只保留“英语(美国)”
5、重启即可
2016年09月12日 02点09分 1
level 1
good
2016年09月12日 08点09分 2
level 5
最简单的办法,先安装gdebi,然后去下载搜狗输入法直接安装
2016年09月12日 12点09分 3
level 1
要先卸载IBUS,不然搜索应用程序就没办法输入英文了
2016年09月16日 10点09分 4
level 1
ibus可以不用卸载,im-config 里面把默认输入法设置为fcitx。注销重新登陆。
搜狗输入法的安装最好用gdebi安装。
2016年09月23日 06点09分 5
改了还是不能在搜索应用程序那输入
2016年09月24日 23点09分
@sxfscool 看fcitx-diagnose
2016年09月25日 05点09分
level 9
我补充启动项。
在/etc/xdg/autostart/检查fcitx启动项是否存在,
没有就新建。
文件名:fcitx-autostart.desktop
[Desktop Entry]
Name=Fcitx
Name[de]=Fcitx
Name[es]=Fcitx
Name[ja]=Fcitx
Name[zh_CN]=Fcitx
Name[zh_TW]=Fcitx
GenericName=Input Method
GenericName[de]=Eingabemethode
GenericName[es]=Método de entrada
GenericName[ja]=入力メソッド
GenericName[zh_CN]=输入法
GenericName[zh_TW]=輸入法
Comment=Start Input Method
Comment[de]=Eingabemethode starten
Comment[ja]=入力メソッドを開始
Comment[zh_CN]=启动输入法
Comment[zh_TW]=啓動輸入法
Exec=fcitx-autostart
Icon=fcitx
Terminal=false
Type=Application
Categories=System;Utility;
StartupNotify=false
X-GNOME-Autostart-Phase=Applications
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
保存后终端:
cp /etc/xdg/autostart/fcitx-autostart.desktop ~/.config/autostart/
环境变量.profile:
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
需要XIM的自己注意,
elementary有人把fcitx-frontend-gtk3放到黑名单了,
所以默认不会安装,
需要的手动。
ibus的问题见仁见智。
来源http://w[呵呵]ww.itye.org/archives/2970
1.禁止 ibus 自动启动 (ibus 启动会覆盖 fcitx 环境变量)
sudo setfacl -m u:mummy2458:rw /usr/bin/ibus-daemon
2.结束 ibus 守护进程
sudo pkill ibus-daemon
3.关闭 gnome-shell 对键盘的监听
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
gnome3的Gtk/IMModule问题:
编辑gsettings
org.gnome.settings-daemon.plugins.xsettings==》overrides
{'Gtk/IMModule':<'fcitx'>}
来源https://b[呵呵]ugzilla.gnome.org/show_bug.cgi?id=747825#c6
欢迎补充。
2016年09月23日 07点09分 6
大神我想问一下: im-switch: command not found 这个怎么解决?[乖]ibus啥的都卸载完了
2017年01月21日 07点01分
2017年02月24日 01点02分
level 1
直接两条命令就可以安装搜狗的
2016年09月23日 07点09分 8
安装的时候缺少依赖,直接修复一下就好了
2016年09月23日 07点09分
@超级小妖莫 这个帖子是说fcitx,不是fcitx-sogou。
2016年09月23日 07点09分
@超级小妖莫 fcitx里可以选择的引擎不止sogou,从fcitx出发补充比较好。
2016年09月23日 07点09分
level 9
环境变量.profile:
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
2016年09月25日 05点09分 11
level 9
需要XIM的自己注意,
elementary有人把fcitx-frontend-gtk3放到黑名单了,
所以默认不会安装,
需要的手动。
2016年09月25日 05点09分 12
level 9
ibus的问题见仁见智。
来源http://www.itye.org/archives/2970
1.禁止 ibus 自动启动 (ibus 启动会覆盖 fcitx 环境变量)
sudo setfacl -m u:mummy2458:rw /usr/bin/ibus-daemon
2.结束 ibus 守护进程
sudo pkill ibus-daemon
3.关闭 gnome-shell 对键盘的监听
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
2016年09月25日 05点09分 13
level 9
gnome3的Gtk/IMModule问题:
编辑gsettings
org.gnome.settings-daemon.plugins.xsettings==》overrides
{'Gtk/IMModule':<'fcitx'>}
来源https://bugzilla.gnome.org/show_bug.cgi?id=747825#c6
由于度娘问题,我分开发的。
欢迎补充。
2016年09月25日 05点09分 14
level 1
楼主我想问一下: im-switch: command not found 这个怎么解决?ibus卸载完了
2017年01月21日 07点01分 15
level 7
那我想用英文界面的系统怎么办?系统语言设置为英文后貌似打不开fxitx了
2017年01月22日 17点01分 16
可以的,我就用的英文界面。稀里糊涂的搞出来拼音了[吐舌]
2017年08月01日 03点08分
1