您尚未登录。

#1 2020-08-02 18:08:57

voghost
会员
注册时间: 2020-08-02
帖子: 5

[已解决] jetbrains全家桶 不能用fcitx输入中文

早上更新后 idea webstrom 都不能输入中文了, 确定昨天是能输入中文的的,并且其他应用都正常
环境是:
  kde
  fcitx-lilydjwg-git-2:4.2.9.7.20200728-1-x86_64
  fcitx-qt5-1.2.5-1
试过重新安装fcitx,更换输入法,更换fcitx5 ,回滚fcitx-qt5、fcitx-liydjwg-git  都无效

有人和我一样的情况吗?


pacman.log:

[2020-08-01T11:44:07+0800] [PACMAN] Running 'pacman -Syu'
[2020-08-01T11:44:07+0800] [PACMAN] synchronizing package lists
[2020-08-01T11:44:13+0800] [PACMAN] starting full system upgrade
[2020-08-02T07:40:20+0800] [PACMAN] Running 'pacman -Syu'
[2020-08-02T07:40:20+0800] [PACMAN] synchronizing package lists
[2020-08-02T07:40:30+0800] [PACMAN] starting full system upgrade
[2020-08-02T07:41:15+0800] [ALPM] transaction started
[2020-08-02T07:41:15+0800] [ALPM] upgraded libx11 (1.6.9-7 -> 1.6.10-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server-common (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:15+0800] [ALPM] upgraded faudio (20.07-1 -> 20.08-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded fcitx-lilydjwg-git (2:4.2.9.7.20200728-1 -> 2:4.2.9.7.20200801-1)
[2020-08-02T07:41:15+0800] [ALPM-SCRIPTLET] NOTE: This is a modified version by lilydjwg, which
[2020-08-02T07:41:15+0800] [ALPM-SCRIPTLET]       1. enabled Lua support
[2020-08-02T07:41:15+0800] [ALPM-SCRIPTLET]       2. won't use double quick phrase key to insert one literal that key
[2020-08-02T07:41:15+0800] [ALPM-SCRIPTLET]       3. can hide input window when typing (to be improved)
[2020-08-02T07:41:15+0800] [ALPM] upgraded fcitx-qt5 (1.2.4-5 -> 1.2.5-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded imagemagick (7.0.10.24-2 -> 7.0.10.25-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded zxing-cpp (1.0.8-1 -> 1.1.0-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded kitinerary (20.04.3-1 -> 20.04.3-2)
[2020-08-02T07:41:15+0800] [ALPM] upgraded lib32-libx11 (1.6.9-1 -> 1.6.10-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded lib32-faudio (20.07-1 -> 20.08-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded mlt (6.22.0-2 -> 6.22.1-2)
[2020-08-02T07:41:15+0800] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2020-08-02T07:41:15+0800] [ALPM] upgraded pacman-mirrorlist (20200606-1 -> 20200801-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded re2 (1:20200706-1 -> 1:20200801-1)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server-devel (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server-xephyr (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server-xnest (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server-xvfb (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:15+0800] [ALPM] upgraded xorg-server-xwayland (1.20.8-2 -> 1.20.8-3)
[2020-08-02T07:41:16+0800] [ALPM] transaction completed
[2020-08-02T07:41:16+0800] [ALPM] running '30-systemd-update.hook'...
[2020-08-02T07:41:16+0800] [ALPM] running 'detect-old-perl-modules.hook'...
[2020-08-02T07:41:16+0800] [ALPM] running 'gtk-query-immodules-2.0.hook'...
[2020-08-02T07:41:16+0800] [ALPM] running 'gtk-query-immodules-3.0.hook'...
[2020-08-02T07:41:16+0800] [ALPM] running 'gtk-update-icon-cache.hook'...
[2020-08-02T07:41:16+0800] [ALPM] running 'update-desktop-database.hook'...
[2020-08-02T07:41:16+0800] [ALPM] running 'update-mime-database.hook'...

fcitx-diagnose 内容

# 系统信息:
1.  `uname -a`:

        Linux vo-Laptop 5.7.11-arch1-1 #1 SMP PREEMPT Wed, 29 Jul 2020 21:38:21 +0000 x86_64 GNU/Linux

2.  `lsb_release -a`:

        LSB Version:	1.4
        Distributor ID:	Arch
        Description:	Arch Linux
        Release:	rolling
        Codename:	n/a

3.  `lsb_release -d`:

        Description:	Arch Linux

4.  `/etc/lsb-release`:

        LSB_VERSION=1.4
        DISTRIB_ID=Arch
        DISTRIB_RELEASE=rolling
        DISTRIB_DESCRIPTION="Arch Linux"

5.  `/etc/os-release`:

        NAME="Arch Linux"
        PRETTY_NAME="Arch Linux"
        ID=arch
        BUILD_ID=rolling
        ANSI_COLOR="38;2;23;147;209"
        HOME_URL="https://www.archlinux.org/"
        DOCUMENTATION_URL="https://wiki.archlinux.org/"
        SUPPORT_URL="https://bbs.archlinux.org/"
        BUG_REPORT_URL="https://bugs.archlinux.org/"
        LOGO=archlinux

6.  桌面环境:

    桌面环境为 `kde`。

7.  Bash 版本:

        BASH_VERSION='5.0.17(1)-release'

# 环境:
1.  DISPLAY:

        DISPLAY=':0'

2.  键盘布局:

    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.  全部可用 locale:

            C
            en_US.utf8
            POSIX
            zh_CN.utf8
            zh_HK.utf8
            zh_TW.utf8

    2.  当前 locale:

            LANG=zh_CN.UTF-8
            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=

4.  目录:

    1.  主目录:

            /home/voghost

    2.  `${XDG_CONFIG_HOME}`:

        环境变量 `XDG_CONFIG_HOME` 没有设定。

        `XDG_CONFIG_HOME` 的当前值是 `~/.config` (`/home/voghost/.config`)。

    3.  Fcitx 设置目录:

        当前 fcitx 设置目录是 `~/.config/fcitx` (`/home/voghost/.config/fcitx`)。

5.  当前用户:

    脚本作为 voghost (1000) 运行。

# Fcitx 状态:
1.  可执行文件:

    在 `/usr/bin/fcitx` 找到了 fcitx.

2.  版本:

    Fcitx 版本: `4.2.9.7`

3.  进程:

    找到了 2 个 fcitx 进程:

            851 fcitx
            861 fcitx-dbus-watc

4.  `fcitx-remote`:

    `fcitx-remote` 工作正常.

5.  DBus 界面:

    使用 `dbus-send` 来检查 dbus。

    DBus 名称 `org.fcitx.Fcitx` 的所有者是 `:1.74`。

    DBus 名称 `org.fcitx.Fcitx` 的 PID 所有者是 `851`。

# Fcitx 配置界面:
1.  配置工具封装:

    在 `/usr/bin/fcitx-configtool` 找到了 fcitx-configtool。

2.  用于 GTK+-2.0 的配置界面:

    **未找到 gtk2 的配置界面.**

3.  用于 GTK+-3.0 的配置界面:

    **未找到 gtk3 的配置界面.**

4.  KDE 的配置界面:

    **`kcmshell4` 未找到.**

    **无法找到一个图形界面的配置工具,请安装 `kcm-fcitx`,`fcitx-config-gtk2`,`fcitx-config-gtk3` 之一。**

# 前端设置:
## Xim:
1.  `${XMODIFIERS}`:

    环境变量 XMODIFIERS 已经正确地设为了 "@im=fcitx".
    从环境变量中获取的 Xim 服务名称为 fcitx.

2.  根窗口上的 XIM_SERVERS:

    Xim 服务的名称与环境变量中设置的相同.

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    环境变量 QT_IM_MODULE 已经正确地设为了 "fcitx".

2.  qt5 - `${QT_IM_MODULE}`:

    环境变量 QT_IM_MODULE 已经正确地设为了 "fcitx".

3.  Qt 输入法模块文件:

    找到了 Qt4 的输入法模块: `/usr/lib/office6/qt/plugins/inputmethods/libqim-fcitx.so`.
    找到了 Qt4 的输入法模块: `/usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so`.
    找到了 Qt5 的输入法模块: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
    找到了未知的 fcitx qt 模块: `/usr/lib/qt/plugins/kcm_fcitx.so`.
    找到了 fcitx 的 qt 模块: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor5.so`.

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

    环境变量 GTK_IM_MODULE 已经正确地设为了 "fcitx".

2.  `gtk-query-immodules`:

    1.  gtk 2:

        在 `/usr/bin/gtk-query-immodules-2.0` 找到了 gtk `2.24.32` 的 `gtk-query-immodules`.
        版本行:

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

        已找到 gtk `2.24.32` 的 fcitx 输入法模块.

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

        在 `/usr/bin/gtk-query-immodules-2.0-32` 找到了 gtk `2.24.32` 的 `gtk-query-immodules`.
        版本行:

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

        **无法在 `/usr/bin/gtk-query-immodules-2.0-32` 的输出重找到 fcitx.**

    2.  gtk 3:

        在 `/usr/bin/gtk-query-immodules-3.0` 找到了 gtk `3.24.21` 的 `gtk-query-immodules`.
        版本行:

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

        已找到 gtk `3.24.21` 的 fcitx 输入法模块.

            "/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 输入法模块缓存:

    1.  gtk 2:

        在 `/usr/lib/gtk-2.0/2.10.0/immodules.cache` 找到了 gtk `2.24.32` 的输入法模块缓存.
        版本行:

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

        已找到 gtk `2.24.32` 的 fcitx 输入法模块.

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

        在 `/usr/lib32/gtk-2.0/2.10.0/immodules.cache` 找到了 gtk `2.24.32` 的输入法模块缓存.
        版本行:

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

        **无法输入法模块缓存 `/usr/lib32/gtk-2.0/2.10.0/immodules.cache` 中找到 fcitx**

    2.  gtk 3:

        在 `/usr/lib/gtk-3.0/3.0.0/immodules.cache` 找到了 gtk `3.24.21` 的输入法模块缓存.
        版本行:

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

        已找到 gtk `3.24.21` 的 fcitx 输入法模块.

            "/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 输入法模块文件:

    1.  gtk 2:

        找到的全部 Gtk 2 输入法模块文件均存在.

    2.  gtk 3:

        找到的全部 Gtk 3 输入法模块文件均存在.

# 配置:
## Fcitx 插件:
1.  插件配置文件目录:

    找到了 fcitx 插件配置目录: `/usr/share/fcitx/addon`.

2.  插件列表:

    1.  找到了 33 个已启用的插件:

            fcitx-autoeng
            fcitx-autoeng-ng
            fcitx-chttrans
            fcitx-classic-ui
            fcitx-clipboard
            fcitx-dbus
            fcitx-freedesktop-notify
            fcitx-fullwidth-char
            fcitx-fullwidth-char-enhance
            fcitx-imselector
            fcitx-ipc
            fcitx-ipcportal
            fcitx-keyboard
            fcitx-kimpanel-ui
            fcitx-lua
            fcitx-notificationitem
            fcitx-pinyin
            fcitx-pinyin-enhance
            fcitx-punc
            fcitx-punc-ng
            fcitx-quickphrase
            fcitx-remote
            fcitx-sogoucloudpinyin
            fcitx-sogoupinyin
            fcitx-sogouwubi
            fcitx-spell
            fcitx-table
            fcitx-unicode
            fcitx-vk
            fcitx-x11
            fcitx-xim
            fcitx-xkb
            fcitx-xkbdbus

    2.  找到了 1 个被禁用的插件:

            fcitx-qw

3.  插件库: 

    所有插件所需的库都被找到。

4.  用户界面:

    找到了 2 个已启用的用户界面插件:

        fcitx-classic-ui
        fcitx-kimpanel-ui

## 输入法:
1.  找到了 3 个启用的输入法:

        fcitx-keyboard-us
        sogoupinyin
        sogouwubi

2.  默认输入法:

    您已经正确的将一个键盘输入法 "fcitx-keyboard-us" 设为默认.

# 日志:
1.  `date`:

        2020年 08月 02日 星期日 20:06:24 CST

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

        总用量 0

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

    `~/.config/fcitx/log/crash.log` 未找到.

最近编辑记录 voghost (2020-08-04 08:26:38)

离线

#2 2020-08-02 19:48:37

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

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

fcitx-diagnose

离线

#3 2020-08-02 20:19:47

voghost
会员
注册时间: 2020-08-02
帖子: 5

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

依云 说:

fcitx-diagnose

谢谢回复,我已经把fcitx-diagnose贴上去了,并且我在其他地方也找到有同样的情况:https://github.com/fcitx/fcitx5/issues/89/

离线

#4 2020-08-02 21:16:25

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

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

试试把 libx11 降级回 1.6.9-7?这里有个 issue: https://gitlab.freedesktop.org/xorg/lib … issues/116

离线

#5 2020-08-02 21:36:32

voghost
会员
注册时间: 2020-08-02
帖子: 5

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

依云 说:

试试把 libx11 降级回 1.6.9-7?这里有个 issue: https://gitlab.freedesktop.org/xorg/lib … issues/116

谢谢大佬,降级后问题解决了! ,期待修复

离线

#6 2020-08-03 15:49:34

Tamako
会员
注册时间: 2019-02-18
帖子: 23

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

依云 说:

试试把 libx11 降级回 1.6.9-7?这里有个 issue: https://gitlab.freedesktop.org/xorg/lib … issues/116

谢谢,同样的问题,差点没法工作了。怎么找到的issue?是什么问题?可能什么时候修复?

离线

#7 2020-08-03 16:07:18

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

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

Tamako 说:
依云 说:

试试把 libx11 降级回 1.6.9-7?这里有个 issue: https://gitlab.freedesktop.org/xorg/lib … issues/116

谢谢,同样的问题,差点没法工作了。怎么找到的issue?是什么问题?可能什么时候修复?

群里两位输入法开发者找到的。修复嘛,只能等了。

离线

#8 2020-08-03 17:44:37

Siglud
会员
注册时间: 2019-12-19
帖子: 4

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

我这里也碰到这个问题了,感谢告知

离线

#9 2020-08-04 08:28:32

voghost
会员
注册时间: 2020-08-02
帖子: 5

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

libx11 更新到libx11-1.6.10-2 问题解决

离线

#10 2020-08-04 10:22:53

伦子伦子
会员
注册时间: 2019-12-10
帖子: 3

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

亲测libx11的问题,今天更新一下就好了,我快哭了, 感谢大佬指出问题所在...

离线

#11 2020-08-06 17:08:27

romine
会员
注册时间: 2020-08-02
帖子: 8

Re: [已解决] jetbrains全家桶 不能用fcitx输入中文

libx11 降级了也输入不了可咋整? neutral

离线

页脚