fcitx輸入法 enter 輸入問題 - Linux
By Emily
at 2020-02-07T10:44
at 2020-02-07T10:44
Table of Contents
目前正在使用 KDE neon 5.17 版
安裝了 fcitx + rime 的輸入
使用注音輸入
能正常跑出中文候選詞
個人習慣如果要輸入的字詞爲第一候選字詞時
便會直接按enter鍵輸入
但是卻會導致候選詞消失
輸入到上面的變成了鍵盤上所敲擊的鍵位(ex:你好->sucl)
而如果使用選字詞的方式是能正常輸入中文的
想請教有解決的方法嗎?
以下附上 fcitx-diagnose 輸出的結果:
# System Info:
1. `uname -a`:
Linux AA 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan
17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
2. `lsb_release -a`:
No LSB modules are available.
Distributor ID: neon
Description: KDE neon User Edition 5.17
Release: 18.04
Codename: bionic
3. `lsb_release -d`:
Description: KDE neon User Edition 5.17
4. `/etc/lsb-release`:
DISTRIB_ID=neon
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="KDE neon User Edition 5.17"
5. `/etc/os-release`:
NAME="KDE neon"
VERSION="5.17"
ID=neon
ID_LIKE="ubuntu debian"
PRETTY_NAME="KDE neon User Edition 5.17"
VARIANT="User Edition"
VERSION_ID="18.04"
HOME_URL="http://neon.kde.org/"
SUPPORT_URL="http://neon.kde.org/"
BUG_REPORT_URL="http://bugs.kde.org/"
LOGO=start-here-kde-neon
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-po
licy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
6. Desktop Environment:
Desktop environment is `kde`.
7. Bash Version:
BASH_VERSION='4.4.20(1)-release'
# 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(pc105)" };
};
2. `xprop`:
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""
3. Locale:
1. All locale:
C
C.UTF-8
POSIX
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
lzh_TW
lzh_TW.utf8
2. Current locale:
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:en_US
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC=lzh_TW
LC_TIME=lzh_TW
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY=lzh_TW
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER=lzh_TW
LC_NAME=lzh_TW
LC_ADDRESS=lzh_TW
LC_TELEPHONE=lzh_TW
LC_MEASUREMENT=lzh_TW
LC_IDENTIFICATION=lzh_TW
LC_ALL=
**Error occurs when running `locale`. Please check your locale
settings.**
locale: Cannot set LC_CTYPE to default locale: No such file or
directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_ALL to default locale: No such file or
directory
4. Directories:
1. Home:
/home/AA
2. `${XDG_CONFIG_HOME}`:
Environment variable `XDG_CONFIG_HOME` is not set.
Current value of `XDG_CONFIG_HOME` is `~/.config`
(`/home/AA/.config`).
3. Fcitx Settings Directory:
Current fcitx settings directory is `~/.config/fcitx`
(`/home/AA/.config/fcitx`).
5. Current user:
The script is run as AA (1000).
# Fcitx State:
1. executable:
Found fcitx at `/usr/bin/fcitx`.
2. version:
Fcitx version: `4.2.9.6`
3. process:
Found 2 fcitx processes:
1560 fcitx
1581 fcitx-dbus-watc
4. `fcitx-remote`:
`fcitx-remote` works properly.
5. DBus interface:
Using `dbus-send` to check dbus.
Owner of DBus name `org.fcitx.Fcitx` is `:1.33`.
PID of DBus name `org.fcitx.Fcitx` owner is `1560`.
# Fcitx Configure UI:
1. Config Tool Wrapper:
Found fcitx-configtool at `/usr/bin/fcitx-configtool`.
2. Config GUI for gtk2:
Found `fcitx-config-gtk` at `/usr/bin/fcitx-config-gtk`.
3. Config GUI for gtk3:
Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`.
4. Config GUI for kde:
# 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. 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 Qt4:
`/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`.
Found fcitx im module for Qt5:
`/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatformi
nputcontextplugin.so`.
## Gtk:
1. gtk - `${GTK_IM_MODULE}`:
Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
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:
**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.32` at
`/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`.
Version Line:
# Created by
/usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from
gtk+-2.24.32
Found fcitx im modules for gtk `2.24.32`.
"/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:
Found immodules cache for gtk `3.22.30` at
`/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.
Version Line:
# Created by
/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.22.30
Found fcitx im modules for gtk `3.22.30`.
"/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 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-ipcportal
fcitx-keyboard
fcitx-kimpanel-ui
fcitx-lua
fcitx-notificationitem
fcitx-punc
fcitx-quickphrase
fcitx-remote
fcitx-rime
fcitx-spell
fcitx-unicode
fcitx-vk
fcitx-x11
fcitx-xim
fcitx-xkb
fcitx-xkbdbus
2. Found 0 disabled addons:
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
rime
2. Default input methods:
You have a keyboard input method "fcitx-keyboard-us" correctly added as
your default input method.
# Log:
1. `date`:
Fri Feb 7 10:27:51 CST 2020
2. `~/.config/fcitx/log/`:
total 0
3. `~/.config/fcitx/log/crash.log`:
`~/.config/fcitx/log/crash.log` not found.
--
Tags:
Linux
All Comments
By Valerie
at 2020-02-08T02:47
at 2020-02-08T02:47
By Zora
at 2020-02-10T04:18
at 2020-02-10T04:18
By Margaret
at 2020-02-12T20:56
at 2020-02-12T20:56
By Elizabeth
at 2020-02-17T02:34
at 2020-02-17T02:34
By Jacob
at 2020-02-17T10:03
at 2020-02-17T10:03
By Catherine
at 2020-02-17T18:33
at 2020-02-17T18:33
By Carol
at 2020-02-19T06:20
at 2020-02-19T06:20
Related Posts
如何在連線建立時才啟動scripts
By Agnes
at 2020-02-06T17:16
at 2020-02-06T17:16
備份硬碟上的Onedrive資料夾
By Aaliyah
at 2020-02-05T00:26
at 2020-02-05T00:26
Chromedriver不能跑 與chrome版本不同?
By Hardy
at 2020-02-04T18:28
at 2020-02-04T18:28
備份硬碟上的Onedrive資料夾
By Mason
at 2020-02-04T01:51
at 2020-02-04T01:51
CentOS 8.1 released
By Harry
at 2020-02-03T23:44
at 2020-02-03T23:44