分页: 1 / 1

Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 17:31
石下醉客
安装了fcitx-搜狗拼音后终端,Dash以及Gedit均无法切换中文输入,但是chrome,firefox和libreOffcie可以正常切换中文输入,请问怎么解决啊?

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 17:36
lainme
除了搜狗外,都安装了哪些 fcitx的包?

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 17:39
YeLee
还请阁下能提供fcitx-diagnose,谢谢。 :em01

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 18:16
石下醉客
lainme 写了:除了搜狗外,都安装了哪些 fcitx的包?
sudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sogoupinyin
就安装了这么多

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 18:17
石下醉客
YeLee 写了:还请阁下能提供fcitx-diagnose,谢谢。 :em01
fcitx-diagnose如下

# System Info:
1. `uname -a`:

Linux shiyu-Rev-1-0 3.11.0-19-generic #33~precise1-Ubuntu SMP Wed Mar 12 21:16:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

2. `lsb_release -a`:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

3. `lsb_release -d`:

Description: Ubuntu 12.04.4 LTS

4. `/etc/lsb-release`:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"

5. `/etc/os-release`:

NAME="Ubuntu"
VERSION="12.04.4 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.4 LTS)"
VERSION_ID="12.04"

6. Desktop Environment:

Desktop environment is `gnome3`.

# Environment:
1. DISPLAY:

DISPLAY=':0'

2. Keyboard Layout:

1. `setxkbmap`:

xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};

2. `xprop`:

_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""

3. Locale:

1. All locale:

C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
zh_CN.utf8
zh_SG.utf8

2. Current locale:

LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh:en_US:en
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC=zh_CN.UTF-8
LC_TIME=zh_CN.UTF-8
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY=zh_CN.UTF-8
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER=zh_CN.UTF-8
LC_NAME=zh_CN.UTF-8
LC_ADDRESS=zh_CN.UTF-8
LC_TELEPHONE=zh_CN.UTF-8
LC_MEASUREMENT=zh_CN.UTF-8
LC_IDENTIFICATION=zh_CN.UTF-8
LC_ALL=

# Fcitx State:
1. executable:

Found fcitx at `/usr/bin/fcitx`.

2. version:

Fcitx version: `4.2.8.1`

3. process:

Found 2 fcitx processes:

9145 fcitx
9155 fcitx-dbus-watc

4. `fcitx-remote`:

`fcitx-remote` works properly.

# Fcitx Configure UI:
1. Config Tool Wrapper:

Found fcitx-configtool at `/usr/bin/fcitx-configtool`.

2. Config GUI for gtk2:

**Config GUI for gtk2 not found.**

3. Config GUI for gtk3:

Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`.

4. Config GUI for kde:

**`kcmshell4` not found.**

# Frontends setup:
## Xim:
1. `${XMODIFIERS}`:

Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.

2. XIM_SERVERS on root window:

Xim server name is the same with that set in the environment variable.

## Qt:
1. `${QT_IM_MODULE}`:

Environment variable QT_IM_MODULE is set to "fcitx" correctly.

2. Qt IM module files:
Found fcitx im module for Qt4: `/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`.
Qt5**Cannot find fcitx input method module for ${1}.**

## Gtk:
1. `${GTK_IM_MODULE}`:

Environment variable GTK_IM_MODULE is set to "fcitx" correctly.

2. `gtk-query-immodules`:

1. gtk 2:

**Cannot find `gtk-query-immodules` for gtk 2**

**Cannot find fcitx im module for gtk 2.**

2. gtk 3:
Cannot load module /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so does not export GTK+ IM module API: GModule (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so) initialization check failed: GLib version too old (micro mismatch)

Found `gtk-query-immodules` for unknown gtk version at `/usr/bin/gtk-query-immodules-3.0`.

**Failed to find fcitx in the output of `/usr/bin/gtk-query-immodules-3.0`**

**Cannot find `gtk-query-immodules` for gtk 3**

**Cannot find fcitx im module for gtk 3.**

3. Gtk IM module cache:

1. gtk 2:

Found immodules cache for gtk `2.24.10` at `/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/gtk.immodules`.
Version Line:

# Created by /usr/lib/i386-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.10

**Failed to find fcitx in immodule cache at `/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/gtk.immodules`**

Found immodules cache for gtk `2.24.10` at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/gtk.immodules`.
Version Line:

# Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.10

**Failed to find fcitx in immodule cache at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/gtk.immodules`**

**Cannot find fcitx im module for gtk 2 in cache.**

2. gtk 3:

Found immodule cache for unknown gtk version at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.

**Failed to find fcitx in immodule cache at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`**

**Cannot find immodules cache for gtk 3**

**Cannot find fcitx im module for gtk 3 in cache.**

4. Gtk IM module files:

1. gtk 2:

All found Gtk 2 immodule files exist.

2. gtk 3:

All found Gtk 3 immodule files exist.

# Configuration:
## Fcitx Addons:
1. Addon Config Dir:

Found fcitx addon config directory: `/usr/share/fcitx/addon`.

2. Addon List:

1. Found 26 enabled addons:

fcitx-autoeng
fcitx-chttrans
fcitx-classic-ui
fcitx-clipboard
fcitx-cloudpinyin
fcitx-dbus
fcitx-freedesktop-notify
fcitx-fullwidth-char
fcitx-imselector
fcitx-ipc
fcitx-keyboard
fcitx-kimpanel-ui
fcitx-lua
fcitx-notificationitem
fcitx-punc
fcitx-quickphrase
fcitx-remote
fcitx-sogoupinyin
fcitx-spell
fcitx-sunpinyin
fcitx-unicode
fcitx-vk
fcitx-x11
fcitx-xim
fcitx-xkb
fcitx-xkbdbus

2. Found 0 disabled addons:

3. User Interface:

Found 2 enabled user interface addons:

fcitx-classic-ui
fcitx-kimpanel-ui

## Input Methods:
1. Found 2 enabled input methods:

fcitx-keyboard-us
sogou-pinyin

2. Default input methods:

You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.

# Log:
1. `date`:

2014年 03月 21日 星期五 18:12:41 CST

2. `~/.config/fcitx/log/`:

总用量 0

3. `~/.config/fcitx/log/crash.log`:

`~/.config/fcitx/log/crash.log` not found.

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 18:43
poloshiao
fcitx-diagnose如下
是不是使用 root 登入 ?

還是使用
sudo gedit
打開 ?

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-21 18:56
YeLee
请阁下先安装fcitx-frontend-gtk2和fcitx-frontend-gtk3,谢谢。另,阁下的电脑可能有些包还需要更新一下。 :em01

Re: Uubuntu 12.04 安装fcitx-搜狗输入法后无法在终端切换

发表于 : 2014-03-22 16:21
石下醉客
重装了Ubuntu,可能是装fcitx没有卸载ibus的原因,把ibus卸载之后再装fcitx就没有问题了。