ubuntu14.04---多语言输入法的配置

来源:互联网 发布:淘宝模板化设置 编辑:程序博客网 时间:2024/05/01 08:28
startup,don't change input method, then I can use scim input method to input chinese character.

then if I using ctrl+shift, the input method simarly changed to fcitx.(because I can see the engines than I changed are privoided by fcitx, if using ps commnd to check.)
but you can not change the configuration of fcitx when the input method can work.
so if kill the fcitx, the input methods are all invalid.
I want to start the fcitx , then configure it at the beginning time

if I do this, the system give such messges:
置文件: fcitx-punc-ng.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-vk.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-rime.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-pinyin.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-spell.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-sogoucloudpinyin.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-imselector.conf
(INFO-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/addon.c:151) 加载附加组件配置文件: fcitx-notificationitem.conf
(WARN-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx-config/fcitx-config.c:922) 配置项不合法:  行12 缺少'='
(ERROR-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/module.c:66) fcitx-sogoucloudpinyin ABI Version Error
load time = 143 (ms)
(ERROR-4067 /build/buildd/fcitx-4.2.8.3/src/frontend/xim/xim.c:240) XIM启动错误。是否有另一个名为SCIM的XIM守护程序正在运行?
(ERROR-4067 /build/buildd/fcitx-4.2.8.3/src/lib/fcitx/instance.c:427) Exiting.


所以应该删除scim。删除scim后,发现fcitx打开后,可以正常设置输入法了,但是仍然不能发现日文输入法。
到这一步后,觉得scim既然没有什么用,那就应该直接删除就好来,卸载来scim。
这样认为,fcitx应该就可以发现和设置来吧。

这样操作完毕,杀掉所有的fcitx,然后到/usr/bin/fcitx启动,发现起来之后,其设置界面依然没有所有输入法的设置。
不了解这样的机制是什么,也不清除这个和ibus是不是冲突。因为系统中装了ibus的中文输入和日文输入法。
所以决定卸载fcitx后,再尝试一下。
卸载时,由于fcitx还在运行,忘记杀掉了,其可执行程序和相关文件并没有被ubuntu的软件管理程序删掉。
因此手动删除了可执行程序后,重新启动系统。

启动后,发现中文输入法变了,但是能够正常输入;日文输入法也是正常的,英文也ok了。

所以结论是:这三种输入法冲突导致的。
总结一下:
1.起初为了安装中文输入法,就安装了scim/fcitx/ibus三种输入法软件相关的中文,
从实际使用的角度,可以看出起始时scim是有效的,后来fcitx进程启动后,fcitx自带的搜狗输入法变得有效,因此之前应该是一直使用的fcitx的中文输入法。
2.但是fcitx无法辨别ibus的输入法,所以后来安装的日文输入法总是没法切换出来。虽然ibus的安装成功了,(怎么成功的?可以看到由右上角的语言提示栏有)。
3.删除掉scim和fcitx后,发现ibus就可以正常生效了。

另外:
ibus的输入法配置,需要在系统的 区域和语言》输入源  中选择添加,注意不是添加键盘,而是真正的输入法!!



0 0