ubuntu 键盘输入法为空_[已解决]HELP!!!fcitx 输入法不出来,键盘也不见了

帖子

Now I can't type Chinese words, and fcitx doesn't work no matter what I type .

I have no idea. Wish I can get some help in this forum. Thank you anyway!

贴 fcitx-diagnose 结果...

# System Info:

1. `uname -a`:

Linux kenny-laptop 3.2.0-60-generic-pae #91-Ubuntu SMP Wed Feb 19 04:14:56 UTC 2014 i686 i686 i386 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.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+cn+inet(evdev)"};

xkb_geometry { include "pc(pc105)"};

};

2. `xprop`:

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

3. Locale:

1. All locale:

C

C.UTF-8

de_CH.utf8

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:

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:

**Fcitx is not running.**

**Please check the Configure link of your distribution in [Beginner's Guide](http://fcitx-im.org/wiki/Beginner%27s_Guide) for how to setup fcitx autostart.**

# 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:

**Cannot find xim_server on root window.**

## Qt:

1. `${QT_IM_MODULE}`:

**Environment variable QT_IM_MODULE is "xim" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**

**You are using xim in qt programs.**

**To see some application specific problems you may have when using xim, check [Hall of Shame for Linux IME Support](http://fcitx-im.org/wiki/Hall_of_Shame_ ... ME_Support). For other more general problems of using XIM including application freezing, see [here](http://fcitx-im.org/wiki/XIM).**

**Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r ... _IM_MODULE).**

2. Qt IM module files:

Found fcitx im module for Qt4: `/usr/lib/i386-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 "xim" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**

**You are using xim in gtk programs.**

**To see some application specific problems you may have when using xim, check [Hall of Shame for Linux IME Support](http://fcitx-im.org/wiki/Hall_of_Shame_ ... ME_Support). For other more general problems of using XIM including application freezing, see [here](http://fcitx-im.org/wiki/XIM).**

**Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r ... _IM_MODULE).**

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:

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

Version Line:

# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.4.2

Found fcitx im modules for gtk `3.4.2`.

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so"

"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"

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

Found fcitx im modules for gtk `2.24.10`.

"/usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so"

"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"

2. gtk 3:

Found immodules cache for gtk `3.4.2` at `/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.

Version Line:

# Created by /usr/lib/i386-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.4.2

Found fcitx im modules for gtk `3.4.2`.

"/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so"

"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"

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 27 enabled addons:

fcitx-autoeng

fcitx-chttrans

fcitx-classic-ui

fcitx-clipboard

fcitx-cloudpinyin

fcitx-dbus

fcitx-fullwidth-char

fcitx-googlepinyin

fcitx-imselector

fcitx-ipc

fcitx-keyboard

fcitx-kimpanel-ui

fcitx-lua

fcitx-notificationitem

fcitx-pinyin

fcitx-pinyin-enhance

fcitx-punc

fcitx-quickphrase

fcitx-remote

fcitx-sogoupinyin

fcitx-spell

fcitx-sunpinyin

fcitx-table

fcitx-unicode

fcitx-vk

fcitx-x11

fcitx-xim

2. Found 0 disabled addons:

3. User Interface:

Found 2 enabled user interface addons:

fcitx-classic-ui

fcitx-kimpanel-ui

## Input Methods:

1. Found 8 enabled input methods:

fcitx-keyboard-us

sogou-pinyin

sunpinyin

googlepinyin

pinyin

shuangpin

wubi

wbpy

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月 11日 星期二 16:38:10 CST

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

总用量 0

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

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


版权声明:本文为weixin_42439576原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。