您尚未登录。

#1 2014-05-31 05:59:51

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

[已解决]fcitx无法使用在awesome环境

装了fcitx本体,kcm-fcitx, enchant, opencc, fcitx-gtk2

在.xinitrc添加了配置

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

但我用modprobe 找不到GTK/QT模块,是不是没装这些模块?求教怎么装模块

最近编辑记录 dxcqcv (2014-05-31 11:41:17)


learning Arch linux

离线

#2 2014-05-31 09:51:01

nopriler
会员
注册时间: 2012-01-03
帖子: 393

Re: [已解决]fcitx无法使用在awesome环境

无法使用是什么样的情况? fcitx 无法调出? 能调出无输入法?

fcitx-diagnose 输出如何?

modprobe只能显示内核模块。GTK/QT_IM_MODULE 不是内核模块。

最近编辑记录 nopriler (2014-05-31 09:52:48)

离线

#3 2014-05-31 10:02:46

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

nopriler 说:

无法使用是什么样的情况? fcitx 无法调出? 能调出无输入法?

fcitx-diagnose 输出如何?

modprobe只能显示内核模块。GTK/QT_IM_MODULE 不是内核模块。

无法调出,ctrl+space无反应


learning Arch linux

离线

#4 2014-05-31 10:16:53

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

$ fcitx-diagnose result

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

        Linux localhost 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 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:

    Cannot determine desktop environment.

# 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(pc104)"	};
            };

    2.  `xprop`:

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

3.  Locale:

    1.  All locale:

            C
            en_US
            en_US.iso88591
            en_US.utf8
            POSIX

    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.  Current user:

    The script is run as clyde (1000).

# Fcitx State:
1.  executable:

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

2.  version:

    Fcitx version: `4.2.8.4`

3.  process:

    Found 4 fcitx processes:

          628 fcitx
          637 fcitx-dbus-watc
          677 fcitx
          687 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:

    **Config GUI for gtk3 not found.**

4.  Config GUI for kde:

    Found fcitx kcm module.

        kcm_fcitx              - Configure Input Method

# 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/qt4/plugins/inputmethods/qtim-fcitx.so`.
    Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor.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:

        Found `gtk-query-immodules` for gtk `2.24.23` at `/usr/bin/gtk-query-immodules-2.0`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.23

        Found fcitx im modules for gtk `2.24.23`.

            "/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:

        **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.23` 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.23

        Found fcitx im modules for gtk `2.24.23`.

            "/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:

        **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 25 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-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 1 enabled input methods:

        fcitx-keyboard-us

2.  Default input methods:

    You only have one keyboard input method enabled. You may want to add another input method to input other languages.

# Log:
1.  `date`:

        Sat May 31 10:14:18 CST 2014

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

        total 0

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

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

最近编辑记录 dxcqcv (2014-05-31 10:17:33)


learning Arch linux

离线

#5 2014-05-31 10:48:07

nopriler
会员
注册时间: 2012-01-03
帖子: 393

Re: [已解决]fcitx无法使用在awesome环境

托盘区有 fcitx 的图标吗?

如果没有

$ fcitx

手动启动能用吗?

最近编辑记录 nopriler (2014-05-31 10:48:33)

离线

#6 2014-05-31 11:03:46

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

# fcitx

(ERROR-4230 /build/fcitx/src/fcitx-4.2.8.4/src/lib/fcitx/ime.c:432) fcitx-keyboard-us already exists
(WARN-4230 /build/fcitx/src/fcitx-4.2.8.4/src/frontend/xim/xim.c:161) Please set XMODIFIERS.
(ERROR-4230 /build/fcitx/src/fcitx-4.2.8.4/src/frontend/xim/xim.c:240) Start XIM error. Another XIM daemon named fcitx is running?
(ERROR-4230 /build/fcitx/src/fcitx-4.2.8.4/src/lib/fcitx/instance.c:437) Exiting

learning Arch linux

离线

#7 2014-05-31 11:04:57

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

nopriler 说:

托盘区有 fcitx 的图标吗?

如果没有

$ fcitx

手动启动能用吗?

不能报错如上,我用AWESOME-WM,没有托盘,从报错来看已经启动了,只是无法使用和调出


learning Arch linux

离线

#8 2014-05-31 11:08:10

roadgo
会员
注册时间: 2012-04-07
帖子: 380

Re: [已解决]fcitx无法使用在awesome环境

http://bbs.archlinuxcn.org/viewtopic.php?id=2665
跟我的问题一样,已解决

离线

#9 2014-05-31 11:40:59

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

roadgo 说:

http://bbs.archlinuxcn.org/viewtopic.php?id=2665
跟我的问题一样,已解决

兄台正解,拜谢~


learning Arch linux

离线

#10 2014-05-31 11:42:37

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,487
个人网站

Re: [已解决]fcitx无法使用在awesome环境

在线

#11 2014-05-31 12:37:19

nopriler
会员
注册时间: 2012-01-03
帖子: 393

Re: [已解决]fcitx无法使用在awesome环境

我安装的 Awesome 默认配置 是有托盘区的。

另,请问 LZ 如何解决的?

离线

#12 2014-05-31 14:05:26

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

百合仙子 说:

以后一定先搜索


learning Arch linux

离线

#13 2014-05-31 14:06:54

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

nopriler 说:

我安装的 Awesome 默认配置 是有托盘区的。

另,请问 LZ 如何解决的?

顶部是托盘吗,因为在顶部有点不习惯,就说错了,不好意思


learning Arch linux

离线

#14 2014-05-31 14:27:18

nopriler
会员
注册时间: 2012-01-03
帖子: 393

Re: [已解决]fcitx无法使用在awesome环境

dxcqcv 说:

顶部是托盘吗,因为在顶部有点不习惯,就说错了,不好意思

(~ ̄▽ ̄)→))* ̄▽ ̄*)o
不不不我也不知道...我指的是右上角部分。

另外 LZ 还是没说怎么解决的哦。

离线

#15 2014-06-01 09:15:51

dxcqcv
会员
注册时间: 2012-12-28
帖子: 239

Re: [已解决]fcitx无法使用在awesome环境

nopriler 说:
dxcqcv 说:

顶部是托盘吗,因为在顶部有点不习惯,就说错了,不好意思

(~ ̄▽ ̄)→))* ̄▽ ̄*)o
不不不我也不知道...我指的是右上角部分。

另外 LZ 还是没说怎么解决的哦。

8楼的解决方法,装FCITX-CONFIGTOOL然后添加中文输入就可以了


learning Arch linux

离线

页脚