(1) gnome环境下,fcitx在terminal,gedit, stardict等软件下无法输入中文,但在firefox, kwplayer, youdao-dict下可正常输入中文。
已经尝试过多种输入法,都是这样的。
(2) 系统右上角,没有输入法的按钮,也没有浮动的输入法状态栏。只是桌面左下角有fcitx按钮。
(3) 已安装 fcitx-gtk2, fcitx-gtk3, fcitx-qt4 和 fcitx-qt5。
(4) fcitx-diagnose 结果如下:
[dil@dilingg ~]$ fcitx-diagnose
# System Info:
1. `uname -a`:
Linux dilingg 4.0.2-1-ARCH #1 SMP PREEMPT Thu May 7 06:47:54 CEST 2015 x86_64 GNU/Linux
2. `lsb_release`:
`lsb_release` not found.
3. `/etc/lsb-release`:
`/etc/lsb-release` not found.
4. `/etc/os-release`:
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
5. Desktop Environment:
Desktop environment is `gnome3`.
# Environment:
1. DISPLAY:
DISPLAY=':1'
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+us:2+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
2. `xprop`:
`xprop` not found.
3. Locale:
1. All locale:
C
en_US.utf8
POSIX
zh_CN.utf8
zh_TW.utf8
2. Current locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
4. Directories:
1. Home:
/home/dil
2. `${XDG_CONFIG_HOME}`:
Environment variable `XDG_CONFIG_HOME` is not set.
Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/dil/.config`).
3. Fcitx Settings Directory:
Current fcitx settings directory is `~/.config/fcitx` (`/home/dil/.config/fcitx`).
5. Current user:
The script is run as dil (1000).
# Fcitx State:
1. executable:
Found fcitx at `/usr/bin/fcitx`.
2. version:
Fcitx version: `4.2.8.5`
3. process:
Found 2 fcitx processes:
840 fcitx
905 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:
**`xprop` not found.**
## Qt:
1. qt4 - `${QT4_IM_MODULE}`:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
2. qt5 - `${QT_IM_MODULE}`:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
3. Qt IM module files:
Found fcitx im module for Qt5: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
Found fcitx im module for Qt4: `/usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so`.
Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor.so`.
## Gtk:
1. gtk - `${GTK_IM_MODULE}`:
Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
2. `gtk-query-immodules`:
1. gtk 2:
Found `gtk-query-immodules` for gtk `2.24.28` at `/usr/bin/gtk-query-immodules-2.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.28
Found fcitx im modules for gtk `2.24.28`.
"/usr/lib/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 `gtk-query-immodules` for gtk `3.16.3` at `/usr/bin/gtk-query-immodules-3.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.16.3
Found fcitx im modules for gtk `3.16.3`.
"/usr/lib/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.28` at `/usr/lib/gtk-2.0/2.10.0/immodules.cache`.
Version Line:
# Created by usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.28
Found fcitx im modules for gtk `2.24.28`.
"/usr/lib/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.16.3` at `/usr/lib/gtk-3.0/3.0.0/immodules.cache`.
Version Line:
# Created by usr/bin/gtk-query-immodules-3.0 from gtk+-3.16.3
Found fcitx im modules for gtk `3.16.3`.
"/usr/lib/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 26 enabled addons:
fcitx-autoeng
fcitx-chttrans
fcitx-classic-ui
fcitx-clipboard
fcitx-dbus
fcitx-freedesktop-notify
fcitx-fullwidth-char
fcitx-imselector
fcitx-ipc
fcitx-keyboard
fcitx-kimpanel-ui
fcitx-notificationitem
fcitx-pinyin
fcitx-pinyin-enhance
fcitx-punc
fcitx-quickphrase
fcitx-remote
fcitx-spell
fcitx-sunpinyin
fcitx-table
fcitx-unicode
fcitx-vk
fcitx-x11
fcitx-xim
fcitx-xkb
fcitx-xkbdbus
2. Found 1 disabled addons:
fcitx-qw
3. Addon Libraries:
All libraries for all addons are found.
4. 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
wbpy
2. Default input methods:
You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.
# Log:
1. `date`:
Mon May 18 19:59:54 CST 2015
2. `~/.config/fcitx/log/`:
total 0
3. `~/.config/fcitx/log/crash.log`:
`~/.config/fcitx/log/crash.log` not found.
谢谢大家!
离线
(1) gnome环境下,fcitx在terminal,gedit, stardict等软件下无法输入中文,但在firefox, kwplayer, youdao-dict下可正常输入中文。
已经尝试过多种输入法,都是这样的。
(2) 系统右上角,没有输入法的按钮,也没有浮动的输入法状态栏。只是桌面左下角有fcitx按钮。
(3) 已安装 fcitx-gtk2, fcitx-gtk3, fcitx-qt4 和 fcitx-qt5。
(4) fcitx-diagnose 结果如下:[dil@dilingg ~]$ fcitx-diagnose # System Info: 1. `uname -a`: Linux dilingg 4.0.2-1-ARCH #1 SMP PREEMPT Thu May 7 06:47:54 CEST 2015 x86_64 GNU/Linux 2. `lsb_release`: `lsb_release` not found. 3. `/etc/lsb-release`: `/etc/lsb-release` not found. 4. `/etc/os-release`: NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" ANSI_COLOR="0;36" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" 5. Desktop Environment: Desktop environment is `gnome3`. # Environment: 1. DISPLAY: DISPLAY=':1' 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+us:2+inet(evdev)" }; xkb_geometry { include "pc(pc104)" }; }; 2. `xprop`: `xprop` not found. 3. Locale: 1. All locale: C en_US.utf8 POSIX zh_CN.utf8 zh_TW.utf8 2. Current locale: LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= 4. Directories: 1. Home: /home/dil 2. `${XDG_CONFIG_HOME}`: Environment variable `XDG_CONFIG_HOME` is not set. Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/dil/.config`). 3. Fcitx Settings Directory: Current fcitx settings directory is `~/.config/fcitx` (`/home/dil/.config/fcitx`). 5. Current user: The script is run as dil (1000). # Fcitx State: 1. executable: Found fcitx at `/usr/bin/fcitx`. 2. version: Fcitx version: `4.2.8.5` 3. process: Found 2 fcitx processes: 840 fcitx 905 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: **`xprop` not found.** ## Qt: 1. qt4 - `${QT4_IM_MODULE}`: Environment variable QT_IM_MODULE is set to "fcitx" correctly. 2. qt5 - `${QT_IM_MODULE}`: Environment variable QT_IM_MODULE is set to "fcitx" correctly. 3. Qt IM module files: Found fcitx im module for Qt5: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`. Found fcitx im module for Qt4: `/usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so`. Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor.so`. ## Gtk: 1. gtk - `${GTK_IM_MODULE}`: Environment variable GTK_IM_MODULE is set to "fcitx" correctly. 2. `gtk-query-immodules`: 1. gtk 2: Found `gtk-query-immodules` for gtk `2.24.28` at `/usr/bin/gtk-query-immodules-2.0`. Version Line: # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.28 Found fcitx im modules for gtk `2.24.28`. "/usr/lib/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 `gtk-query-immodules` for gtk `3.16.3` at `/usr/bin/gtk-query-immodules-3.0`. Version Line: # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.16.3 Found fcitx im modules for gtk `3.16.3`. "/usr/lib/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.28` at `/usr/lib/gtk-2.0/2.10.0/immodules.cache`. Version Line: # Created by usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.28 Found fcitx im modules for gtk `2.24.28`. "/usr/lib/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.16.3` at `/usr/lib/gtk-3.0/3.0.0/immodules.cache`. Version Line: # Created by usr/bin/gtk-query-immodules-3.0 from gtk+-3.16.3 Found fcitx im modules for gtk `3.16.3`. "/usr/lib/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 26 enabled addons: fcitx-autoeng fcitx-chttrans fcitx-classic-ui fcitx-clipboard fcitx-dbus fcitx-freedesktop-notify fcitx-fullwidth-char fcitx-imselector fcitx-ipc fcitx-keyboard fcitx-kimpanel-ui fcitx-notificationitem fcitx-pinyin fcitx-pinyin-enhance fcitx-punc fcitx-quickphrase fcitx-remote fcitx-spell fcitx-sunpinyin fcitx-table fcitx-unicode fcitx-vk fcitx-x11 fcitx-xim fcitx-xkb fcitx-xkbdbus 2. Found 1 disabled addons: fcitx-qw 3. Addon Libraries: All libraries for all addons are found. 4. 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 wbpy 2. Default input methods: You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method. # Log: 1. `date`: Mon May 18 19:59:54 CST 2015 2. `~/.config/fcitx/log/`: total 0 3. `~/.config/fcitx/log/crash.log`: `~/.config/fcitx/log/crash.log` not found.
谢谢大家!
是用gdm的麼?
大概是 gdm + gnome 3.16 下的一個已知問題,解決方法見:
https://bbs.archlinuxcn.org/viewtopic.php?id=3286
或者論壇裏搜搜,有不少人報告類似的問題。
computerは神様だと信じていて
だからVIMの上でずっと指が舞って
自ら恋愛相手を作り出して
离线