分页: 1 / 1

cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 11:34
dxcqcv
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

Re: cannot use fcitx on ubuntu 15.04

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

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 13:01
vickycq
第一有没有ibus?有的话卸掉

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

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

代码: 全选

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

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

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 14:05
poloshiao
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 簡單 / 好用 / 強大

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 14:39
dxcqcv
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.

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 14:41
dxcqcv
vickycq 写了:第一有没有ibus?有的话卸掉

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

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

代码: 全选

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

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

代码: 全选

@im=ibus

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 14:47
dxcqcv
可以啦,谢谢大家

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-11 14:49
vickycq
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]

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-16 8:23
datura
15.04的默认输入法是不是就是fcitx了?

Re: cannot use fcitx on ubuntu 15.04

发表于 : 2015-09-16 8:27
poloshiao
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.