-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fcitx5 cannot type Chinese in alacritty/xterm. #254
Comments
What's the version of xcb-imdkit? Can you try Try to locate "Client encoding" line in the log, what is the output? |
I am not using xcb-imdkit from community repo. I am using the aur package xcb-imdkit-git. The version of xcb-imdkit-git is: 1.0.1.r3.g7766db9-1. After I replace xcb-imdkit-git with xcb-imdkit. The problem disappeared. Thx. |
The output of D2021-04-01 10:39:48.034081 xim.cpp:87] -- XIM_ENCODING_NEGOTIATION |
issue was due to using old package. |
This fixes an input issue with alacritty/xterm, see fcitx/fcitx5#254
This fixes an input issue with alacritty/xterm, see fcitx/fcitx5#254 (cherry picked from commit 46ac936)
Describe the bug
After upgrade my system with the latest fcitx5(5.0.7). I cannot type Chinese in alacritty/xterm. I am not familiar with C++, but I have featured out when I use IBus instead of fcitx5, this question disappeared.
To Reproduce
Steps to reproduce the behavior:
ä½ å¥½
instead of 你好.Expected behavior
Type 你好. You will see
你好
instead ofä½ å¥½
.Desktop (please complete the following information):
System Info:
uname -a
:lsb_release -a
:lsb_release -d
:/etc/lsb-release
:/etc/os-release
:Desktop Environment:
Cannot determine desktop environment.
Bash Version:
Environment:
DISPLAY:
Keyboard Layout:
setxkbmap
:xprop
:Locale:
All locale:
Current locale:
Directories:
Home:
${XDG_CONFIG_HOME}
:Environment variable
XDG_CONFIG_HOME
is not set.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/jinmiaoluo/.config
).Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/jinmiaoluo/.config/fcitx5
).Current user:
The script is run as jinmiaoluo (1000).
Fcitx State:
executable:
Found fcitx5 at
/usr/bin/fcitx5
.version:
Fcitx version:
5.0.7
process:
Found 1 fcitx5 process:
fcitx5-remote
:fcitx5-remote
works properly.DBus interface:
Using
dbus-send
to check dbus.Owner of DBus name
org.fcitx.Fcitx5
is:1.3
.PID of DBus name
org.fcitx.Fcitx5
owner is1053
.Fcitx Configure UI:
Config Tool Wrapper:
Found fcitx5-configtool at
/usr/bin/fcitx5-configtool
.Config GUI for qt:
Found
fcitx5-config-qt
at/usr/bin/fcitx5-config-qt
.Config GUI for kde:
kcmshell5
not found.Frontends setup:
Xim:
${XMODIFIERS}
:Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx.
XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
XIM for Emacs:
Your LC_CTYPE is set to en_US.UTF-8 instead of one of zh, ja, ko. You may not be able to use input method in emacs because of an really old emacs bug that upstream refuse to fix for years.
Qt:
qt4 -
${QT4_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
qt5 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Qt IM module files:
Found fcitx5 im module for qt6:
/usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.Found fcitx5 qt5 module:
/usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so
.Found unknown fcitx qt module:
/usr/lib/qt/plugins/kcms/kcm_fcitx5.so
.Found fcitx5 im module for qt:
/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
.Cannot find fcitx5 input method module for Qt4.
Gtk:
gtk -
${GTK_IM_MODULE}
:Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
gtk-query-immodules
:gtk 2:
Found
gtk-query-immodules
for gtk2.24.33
at/usr/bin/gtk-query-immodules-2.0
.Version Line:
Found fcitx5 im modules for gtk
2.24.33
.gtk 3:
Found
gtk-query-immodules
for gtk3.24.28
at/usr/bin/gtk-query-immodules-3.0
.Version Line:
Found fcitx5 im modules for gtk
3.24.28
.Gtk IM module cache:
gtk 2:
Found immodules cache for gtk
2.24.33
at/usr/lib/gtk-2.0/2.10.0/immodules.cache
.Version Line:
Found fcitx5 im modules for gtk
2.24.33
.gtk 3:
Found immodules cache for gtk
3.24.28
at/usr/lib/gtk-3.0/3.0.0/immodules.cache
.Version Line:
Found fcitx5 im modules for gtk
3.24.28
.gtk 4:
Cannot find immodules cache for gtk 4
Cannot find fcitx5 im module for gtk 4 in cache.
Gtk IM module files:
gtk 2:
All found Gtk 2 immodule files exist.
gtk 3:
All found Gtk 3 immodule files exist.
gtk 4:
All found Gtk 4 immodule files exist.
Configuration:
Fcitx Addons:
Addon Config Dir:
Found fcitx5 addon config directory:
/usr/share/fcitx5/addon
.Addon List:
Found 28 enabled addons:
Found 0 disabled addons:
Addon Libraries:
All libraries for all addons are found.
User Interface:
Found 2 enabled user interface addons:
Log:
date
:/home/jinmiaoluo/.config/fcitx5/crash.log
:/crash.log
not found.The text was updated successfully, but these errors were encountered: