cannot use fcitx on ubuntu 15.04

系统字体配置、中文显示和输入法问题
回复
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54

cannot use fcitx on ubuntu 15.04

#1

帖子 dxcqcv » 2015-09-11 11:34

sorry for using english, and cloud input does not work too.

代码: 全选

sudo apt-get install fcitx-pinyin im-switch
output

代码: 全选

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'im-config' instead of 'im-switch'
fcitx-pinyin is already the newest version.
im-config is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
  linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

代码: 全选

 im-switch -s fcitx-z all_ALL
output

代码: 全选

im-switch: command not found
so I change command to

代码: 全选

 im-config -s fcitx-z all_ALL
output

代码: 全选

Input Method Configuration (im-config, ver. 0.29-1ubuntu2)
(c) Osamu Aoki <osamu@debian.org>, GPL-2+
See im-config(8), /usr/share/doc/im-config/README.Debian.gz.
but I cannot switch to google input, help
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: cannot use fcitx on ubuntu 15.04

#2

帖子 poloshiao » 2015-09-11 11:58

sudo apt-get install fcitx-pinyin im-switch
1. 安裝 im-config 取代 im-switch
sudo apt-get install im-config
註 : 也許已經預裝
2. 終端機指令
im-config -a
把出現的方框內的內容 全部複製 貼上來
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: cannot use fcitx on ubuntu 15.04

#3

帖子 vickycq » 2015-09-11 13:01

第一有没有ibus?有的话卸掉

你要用云输入?还需安装 fcitx-module-cloudpinyin

安装好后先别折腾 im-config 先重启
重启完后看 fcitx 有无自动启动?再检查环境变量:

代码: 全选

echo $XMODIFIERS
如果出现 @im=fcitx 就是没问题。

如果 fcitx 已经自动启动,右键点托盘上输入法图标,设置 - 输入法 - 添加 - 选择拼音(英文环境下要取消‘only show current language’的复选框)。
云输入法插件要在 右键点托盘上输入法图标 - 设置 - Addon - cloud pinyin - configure - enabled 中启用
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: cannot use fcitx on ubuntu 15.04

#4

帖子 poloshiao » 2015-09-11 14:05

cannot use fcitx on ubuntu 15.04
第一有没有ibus?有的话卸掉
1. ubuntu 有許多桌面套件 依賴於 ibus
移除 ibus 可能會同時移除這些套件
導致 Ubuntu 桌面不正常/不穩定
所以 ubuntu 新手 不要輕易移除 ibus
1-1. 注意 上面說法是針對 Ubuntu 預設桌面 unity
參見
search.php?keywords=ibus+unity+control+ ... C%E5%B0%8B
安装好后先别折腾 im-config
2. http://apexu.com/apexu/tw/modules/publi ... ?itemid=54
Ubuntu 輸入法框架 設定及切換的工具
在 Ubuntu 12.04 以前 使用 im-switch
在 Ubuntu 13.04 以後 使用 im-config
是 Ubuntu 預裝的設定輸入法框架工具
2-1. http://manpages.ubuntu.com/manpages/uto ... tch.8.html
im-switch - set up input method for X Window
2-2. http://manpages.ubuntu.com/manpages/uto ... fig.8.html
im-config - set up input method configuration for X Window System
2-3. 新手 建議使用 im-config 簡單 / 好用 / 強大
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54

Re: cannot use fcitx on ubuntu 15.04

#5

帖子 dxcqcv » 2015-09-11 14:39

poloshiao 写了:
sudo apt-get install fcitx-pinyin im-switch
1. 安裝 im-config 取代 im-switch
sudo apt-get install im-config
註 : 也許已經預裝
2. 終端機指令
im-config -a
把出現的方框內的內容 全部複製 貼上來

代码: 全选

Current configuration for the input method:
 * Active configuration: missing (normally missing)
 * Normal automatic choice: ibus (normally ibus or fcitx or uim)
 * Override rule: zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx
 * Current override choice:  (en_US)
 * Current automatic choice: ibus
 * Number of valid choices: 12 (normally 1)
The override rule is defined in /etc/default/im-config.
The configuration set by im-config is activated by re-starting X.
Explicit selection is not required to enable the automatic configuration if the active one is default/auto/cjkv/missing.
  Available input methods: ibus fcitx uim hime gcin maliit scim hangul thai xim kinput2 xsunpinyin
Unless you really need them all, please make sure to install only one input method tool.
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54

Re: cannot use fcitx on ubuntu 15.04

#6

帖子 dxcqcv » 2015-09-11 14:41

vickycq 写了:第一有没有ibus?有的话卸掉

你要用云输入?还需安装 fcitx-module-cloudpinyin

安装好后先别折腾 im-config 先重启
重启完后看 fcitx 有无自动启动?再检查环境变量:

代码: 全选

echo $XMODIFIERS
如果出现 @im=fcitx 就是没问题。

如果 fcitx 已经自动启动,右键点托盘上输入法图标,设置 - 输入法 - 添加 - 选择拼音(英文环境下要取消‘only show current language’的复选框)。
云输入法插件要在 右键点托盘上输入法图标 - 设置 - Addon - cloud pinyin - configure - enabled 中启用

代码: 全选

@im=ibus
头像
dxcqcv
帖子: 47
注册时间: 2009-05-31 17:54

Re: cannot use fcitx on ubuntu 15.04

#7

帖子 dxcqcv » 2015-09-11 14:47

可以啦,谢谢大家
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: cannot use fcitx on ubuntu 15.04

#8

帖子 vickycq » 2015-09-11 14:49

dxcqcv 写了:

代码: 全选

@im=ibus
先让fcitx自己设置试试

代码: 全选


apt-get purge ibus-*
apt-get purge fcitx-*
apt-get autoremove
apt-get install fcitx fcitx-pinyin fcitx-module-cloudpinyin

如果是GNOME桌面还要加上一步:
代码:
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
重启,检查环境变量[/u][/s][/o]
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
datura
帖子: 102
注册时间: 2007-01-19 12:46

Re: cannot use fcitx on ubuntu 15.04

#9

帖子 datura » 2015-09-16 8:23

15.04的默认输入法是不是就是fcitx了?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: cannot use fcitx on ubuntu 15.04

#10

帖子 poloshiao » 2015-09-16 8:27

15.04的默认输入法是不是就是fcitx了?
Ubuntu 15.04
好像是只有
簡體中文版
繁體中文版
其它語言 (locale) 默认输入法 還是 ibus
進一步參閱
https://bugs.launchpad.net/ubuntu/+sour ... omments/24
The debdiff for setting fcitx as per locale default of zh_*, while restoring ibus as default for everyone else.
回复