Chromium 版本 80.0.3987.149(正式版本)snap (64 位)在kubuntu 64位上无法切换输入法

系统字体配置、中文显示和输入法问题
回复
supernan
帖子: 688
注册时间: 2007-10-29 10:58

Chromium 版本 80.0.3987.149(正式版本)snap (64 位)在kubuntu 64位上无法切换输入法

#1

帖子 supernan » 2020-03-28 19:14

Chromium 版本 80.0.3987.149(正式版本)snap (64 位)在kubuntu 64位上无法切换输入法,输入法是fcitx,按ctrl+空格没反应,按ctrl+shift也没反应,无法输入中文.
这是信息:

(base) bill@bill-To-be-filled-by-O-E-M:~$ fcitx-diagnose
# 系统信息:
1. `uname -a`:

Linux bill-To-be-filled-by-O-E-M 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

2. `lsb_release -a`:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

3. `lsb_release -d`:

Description: Ubuntu 18.04.4 LTS

4. `/etc/lsb-release`:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

5. `/etc/os-release`:

NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and- ... acy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

6. 桌面环境:

桌面环境为 `kde`。

7. Bash 版本:

BASH_VERSION='4.4.20(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+cn+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};

2. `xprop`:

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

3. Locale:

1. 全部可用 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_IL
en_IL.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. 当前 locale:

LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
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/bill

2. `${XDG_CONFIG_HOME}`:

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

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

3. Fcitx 设置目录:

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

5. 当前用户:

脚本作为 bill (1000) 运行。

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

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

2. 版本:

Fcitx 版本: `4.2.9.6`

3. 进程:

找到了 2 个 fcitx 进程:

1372 fcitx
1410 fcitx-dbus-watc

4. `fcitx-remote`:

`fcitx-remote` 工作正常.

5. DBus 界面:

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

**找不到 DBus 名称 `org.fcitx.Fcitx` 的所有者。**

**找不到 DBus 名称 `org.fcitx.Fcitx` 的 pid 所有者。**

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

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

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

在 `/usr/bin/fcitx-config-gtk` 找到了 `fcitx-config-gtk`。

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

在 `/usr/bin/fcitx-config-gtk3` 找到了 `fcitx-config-gtk3`。

4. KDE 的配置界面:

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

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

2. 根窗口上的 XIM_SERVERS:

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

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

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

2. qt5 - `${QT_IM_MODULE}`:

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

3. Qt 输入法模块文件:

找到了 Qt4 的输入法模块: `/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`.
找到了未知的 fcitx qt 模块: `/usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_fcitx.so`.
找到了 Qt5 的输入法模块: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.

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

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

2. `gtk-query-immodules`:

1. gtk 2:

**无法找到 gtk 2 的 `gtk-query-immodules`.**

**无法找到 gtk 2 的 fcitx 输入法模块.**

2. gtk 3:

**无法找到 gtk 3 的 `gtk-query-immodules`.**

**无法找到 gtk 3 的 fcitx 输入法模块.**

3. Gtk 输入法模块缓存:

1. gtk 2:

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

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

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

"/usr/lib/x86_64-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:

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

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

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

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

1. gtk 2:

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

2. gtk 3:

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

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

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

2. 插件列表:

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

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

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

fcitx-light-ui

3. 插件库:

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

4. 用户界面:

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

fcitx-classic-ui
fcitx-kimpanel-ui

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

fcitx-keyboard-cn
shuangpin
googlepinyin
wubi
wubi-large
wbpy
unikey

2. 默认输入法:

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

# 日志:
1. `date`:

2020年 03月 28日 星期六 18:57:25 CST

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

总用量 4
-rw-rw-r-- 1 bill bill 52 3月 28 18:36 crash.log

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

fcitx: RenderBadPicture (invalid Picture parameter)

请问如何解决?
supernan
帖子: 688
注册时间: 2007-10-29 10:58

Re: Chromium 版本 80.0.3987.149(正式版本)snap (64 位)在kubuntu 64位上无法切换输入法

#2

帖子 supernan » 2020-03-30 9:10

换用ibus解决,话说本坛热度好冷,连个回答问题的都没有。我的问题是百度贴吧有人回答的。
头像
i990049
帖子: 525
注册时间: 2006-06-05 13:26

Re: Chromium 版本 80.0.3987.149(正式版本)snap (64 位)在kubuntu 64位上无法切换输入法

#3

帖子 i990049 » 2020-04-13 14:43

supernan 写了: 2020-03-30 9:10 换用ibus解决,话说本坛热度好冷,连个回答问题的都没有。我的问题是百度贴吧有人回答的。
所以小白都去贴吧求救,程序猿才来论坛 :Haha
回复