我近期安装了OpenSUSE Tumbleweed,可以从网页端输入中文,但是终端和部分软件(如办公软件LibreOffice,是不能输入中文的,请问可能的原因及处理方法?
看看fcitx5-diagnose的输出。
我没有安装fcitx5,安装的是fcitx。fcitx-diagnose的结果很长:
System Info:
-
uname -a:Linux localhost.localdomain 6.18.2-1-default #1 SMP PREEMPT_DYNAMIC Fri Dec 19 10:15:01 UTC 2025 (9447271) x86_64 x86_64 x86_64 GNU/Linux -
lsb_release:lsb_releasenot found. -
/etc/lsb-release:/etc/lsb-releasenot found. -
/etc/os-release:NAME="openSUSE Tumbleweed" # VERSION="20260101" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20260101" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" # CPE 2.3 format, boo#1217921 CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20260101:*:*:*:*:*:*:*" #CPE 2.2 format #CPE_NAME="cpe:/o:opensuse:tumbleweed:20260101" BUG_REPORT_URL="https://bugzilla.opensuse.org" SUPPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed" -
Desktop Environment:
Desktop environment is
kde. -
Bash Version:
BASH_VERSION='5.3.9(1)-release'
Environment:
-
DISPLAY:
DISPLAY=':0' -
Keyboard Layout:
-
setxkbmap:xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+cn:2+inet(evdev)+terminate(ctrl_alt_bksp)" }; xkb_geometry { include "pc(pc104)" }; }; -
xprop:_XKB_RULES_NAMES(STRING) = "evdev", "pc104", "us,cn", ",", "terminate:ctrl_alt_bksp"
-
-
Locale:
-
All locale:
aa_DJ aa_DJ.utf8 aa_ER aa_ET af_ZA af_ZA.utf8 agr_PE ak_GH am_ET an_ES an_ES.utf8 anp_IN ar_AE ar_AE.utf8 ar_BH ar_BH.utf8 ar_DZ ar_DZ.utf8 ar_EG ar_EG.utf8 ar_IN ar_IQ ar_IQ.utf8 ar_JO ar_JO.utf8 ar_KW ar_KW.utf8 ar_LB ar_LB.utf8 ar_LY ar_LY.utf8 ar_MA ar_MA.utf8 ar_OM ar_OM.utf8 ar_QA ar_QA.utf8 ar_SA ar_SA.utf8 ar_SD ar_SD.utf8 ar_SS ar_SY ar_SY.utf8 ar_TN ar_TN.utf8 ar_YE ar_YE.utf8 as_IN ast_ES ast_ES.utf8 ayc_PE az_AZ az_IR be_BY be_BY@latin be_BY.utf8 bem_ZM ber_DZ ber_MA bg_BG bg_BG.utf8 bhb_IN.utf8 bho_IN bho_NP bi_VU bn_BD bn_IN bo_CN bo_IN br_FR br_FR@euro br_FR.utf8 brx_IN bs_BA bs_BA.utf8 byn_ER C ca_AD ca_AD.utf8 ca_ES ca_ES@euro ca_ES.utf8 ca_ES@valencia ca_FR ca_FR.utf8 ca_IT ca_IT.utf8 ce_RU chr_US ckb_IQ cmn_TW crh_RU crh_UA csb_PL cs_CZ cs_CZ.utf8 C.utf8 cv_RU cy_GB cy_GB.utf8 da_DK da_DK.utf8 de_AT de_AT@euro de_AT.utf8 de_BE de_BE@euro de_BE.utf8 de_CH de_CH.utf8 de_DE de_DE@euro de_DE.utf8 de_IT de_IT.utf8 de_LI.utf8 de_LU de_LU@euro de_LU.utf8 doi_IN dsb_DE dv_MV dz_BT el_CY el_CY.utf8 el_GR el_GR@euro el_GR.utf8 en_AG en_AU en_AU.utf8 en_BW en_BW.utf8 en_CA en_CA.utf8 en_DK en_DK.utf8 en_GB en_GB.iso885915 en_GB.utf8 en_HK en_HK.utf8 en_IE en_IE@euro en_IE.utf8 en_IL en_IN en_NG en_NZ en_NZ.utf8 en_PH en_PH.utf8 en_SC.utf8 en_SG en_SG.utf8 en_US en_US.iso885915 en_US.utf8 en_ZA en_ZA.utf8 en_ZM en_ZW en_ZW.utf8 eo es_AR es_AR.utf8 es_BO es_BO.utf8 es_CL es_CL.utf8 es_CO es_CO.utf8 es_CR es_CR.utf8 es_CU es_DO es_DO.utf8 es_EC es_EC.utf8 es_ES es_ES@euro es_ES.utf8 es_GT es_GT.utf8 es_HN es_HN.utf8 es_MX es_MX.utf8 es_NI es_NI.utf8 es_PA es_PA.utf8 es_PE es_PE.utf8 es_PR es_PR.utf8 es_PY es_PY.utf8 es_SV es_SV.utf8 es_US es_US.utf8 es_UY es_UY.utf8 es_VE es_VE.utf8 et_EE et_EE.iso885915 et_EE.utf8 eu_ES eu_ES@euro eu_ES.utf8 fa_IR ff_SN fi_FI fi_FI@euro fi_FI.utf8 fil_PH fo_FO fo_FO.utf8 fr_BE fr_BE@euro fr_BE.utf8 fr_CA fr_CA.utf8 fr_CH fr_CH.utf8 fr_FR fr_FR@euro fr_FR.utf8 fr_LU fr_LU@euro fr_LU.utf8 fur_IT fy_DE fy_NL ga_IE ga_IE@euro ga_IE.utf8 gbm_IN gd_GB gd_GB.utf8 gez_ER gez_ER@abegede gez_ET gez_ET@abegede gl_ES gl_ES@euro gl_ES.utf8 gu_IN gv_GB gv_GB.utf8 hak_TW ha_NG he_IL he_IL.utf8 hif_FJ hi_IN hne_IN hr_HR hr_HR.utf8 hsb_DE hsb_DE.utf8 ht_HT hu_HU hu_HU.utf8 hy_AM hy_AM.armscii8 ia_FR id_ID id_ID.utf8 ig_NG ik_CA is_IS is_IS.utf8 it_CH it_CH.utf8 it_IT it_IT@euro it_IT.utf8 iu_CA ja_JP.eucjp ja_JP.shiftjisx0213 ja_JP.sjis ja_JP.utf8 kab_DZ ka_GE ka_GE.utf8 kk_KZ kk_KZ.utf8 kl_GL kl_GL.utf8 km_KH kn_IN kok_IN ko_KR.euckr ko_KR.utf8 ks_IN ks_IN@devanagari ku_TR ku_TR.utf8 kv_RU kw_GB kw_GB.utf8 ky_KG lb_LU lg_UG lg_UG.utf8 li_BE lij_IT li_NL ln_CD lo_LA ltg_LV.utf8 lt_LT lt_LT.utf8 lv_LV lv_LV.utf8 lzh_TW mag_IN mai_IN mai_NP mdf_RU mfe_MU mg_MG mg_MG.utf8 mhr_RU mi_NZ mi_NZ.utf8 miq_NI mjw_IN mk_MK mk_MK.utf8 ml_IN mni_IN mn_MN mnw_MM mr_IN ms_MY ms_MY.utf8 mt_MT mt_MT.utf8 my_MM nan_TW nan_TW@latin nb_NO nb_NO.utf8 nds_DE nds_NL ne_NP nhn_MX niu_NU niu_NZ nl_AW nl_BE nl_BE@euro nl_BE.utf8 nl_NL nl_NL@euro nl_NL.utf8 nn_NO nn_NO.utf8 no_NO no_NO.utf8 nr_ZA nso_ZA oc_FR oc_FR.utf8 om_ET om_KE om_KE.utf8 or_IN os_RU pa_IN pap_AW pap_CW pa_PK pl_PL pl_PL.utf8 POSIX ps_AF pt_BR pt_BR.utf8 pt_PT pt_PT@euro pt_PT.utf8 quz_PE raj_IN rif_MA ro_RO ro_RO.utf8 ru_RU ru_RU.koi8r ru_RU.utf8 ru_UA ru_UA.utf8 rw_RW sah_RU sa_IN sat_IN sc_IT scn_IT sd_IN sd_IN@devanagari se_NO sgs_LT shn_MM shs_CA sid_ET si_LK sk_SK sk_SK.utf8 sl_SI sl_SI.utf8 sm_WS so_DJ so_DJ.utf8 so_ET so_KE so_KE.utf8 so_SO so_SO.utf8 sq_AL sq_AL.utf8 sq_MK sr_ME sr_RS sr_RS@latin ssy_ER ss_ZA st_ZA st_ZA.utf8 su_ID sv_FI sv_FI@euro sv_FI.utf8 sv_SE sv_SE.utf8 sw_KE sw_TZ syr szl_PL ta_IN ta_LK tcy_IN.utf8 te_IN tg_TJ tg_TJ.utf8 the_NP th_TH th_TH.utf8 ti_ER ti_ET tig_ER tk_TM tl_PH tl_PH.utf8 tn_ZA tok to_TO tpi_PG tr_CY tr_CY.utf8 tr_TR tr_TR.utf8 ts_ZA tt_RU tt_RU@iqtelif ug_CN uk_UA uk_UA.utf8 unm_US ur_IN ur_PK uz_UZ uz_UZ@cyrillic uz_UZ.utf8 ve_ZA vi_VN wa_BE wa_BE@euro wa_BE.utf8 wae_CH wal_ET wo_SN xh_ZA xh_ZA.utf8 yi_US yi_US.utf8 yo_NG yue_HK yuw_PG zgh_MA zh_CN zh_CN.gb18030 zh_CN.gbk zh_CN.utf8 zh_HK zh_HK.utf8 zh_SG zh_SG.gbk zh_SG.utf8 zh_TW zh_TW.euctw zh_TW.utf8 zu_ZA zu_ZA.utf8 -
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=
-
-
Directories:
-
Home:
/home/ginkgo -
${XDG_CONFIG_HOME}:Environment variable
XDG_CONFIG_HOMEis set to/home/ginkgo/.config.Current value of
XDG_CONFIG_HOMEis~/.config(/home/ginkgo/.config). -
Fcitx Settings Directory:
Current fcitx settings directory is
~/.config/fcitx(/home/ginkgo/.config/fcitx).
-
-
Current user:
The script is run as ginkgo (1000).
Fcitx State:
-
executable:
Found fcitx at
/usr/bin/fcitx. -
version:
Fcitx version:
4.2.9.9 -
process:
Found 2 fcitx processes:
2625 fcitx 8565 fcitx-diagnose -
fcitx-remote:fcitx-remoteworks properly. -
DBus interface:
Using
dbus-sendto check dbus.Owner of DBus name
org.fcitx.Fcitxis:1.55.PID of DBus name
org.fcitx.Fcitxowner is2625.
Fcitx Configure UI:
-
Config Tool Wrapper:
Found fcitx-configtool at
/usr/bin/fcitx-configtool. -
Config GUI for gtk2:
Config GUI for gtk2 not found.
-
Config GUI for gtk3:
Found
fcitx-config-gtk3at/usr/bin/fcitx-config-gtk3. -
Config GUI for kde:
kcmshell4not 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.
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:
Cannot find fcitx input method module for Qt4.
Cannot find fcitx input method module for Qt5.
Gtk:
-
gtk -
${GTK_IM_MODULE}:Environment variable GTK_IM_MODULE is set to “fcitx” correctly.
-
gtk-query-immodules:-
gtk 2:
Cannot find
gtk-query-immodulesfor gtk 2Cannot find fcitx im module for gtk 2.
-
gtk 3:
Found
gtk-query-immodulesfor gtk3.24.51at/usr/bin/gtk-query-immodules-3.0-64.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0-64 from gtk+-3.24.51Found fcitx im modules for gtk
3.24.51."/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx.so" "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
-
-
Gtk IM module cache:
-
gtk 2:
Cannot find immodules cache for gtk 2
Cannot find fcitx im module for gtk 2 in cache.
-
gtk 3:
Found immodules cache for gtk
3.24.51at/usr/lib64/gtk-3.0/3.0.0/immodules.cache.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0-64 from gtk+-3.24.51Found fcitx im modules for gtk
3.24.51."/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx.so" "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
-
-
Gtk IM module files:
-
gtk 2:
All found Gtk 2 immodule files exist.
-
gtk 3:
All found Gtk 3 immodule files exist.
-
Configuration:
Fcitx Addons:
-
Addon Config Dir:
Found fcitx addon config directory:
/usr/share/fcitx/addon. -
Addon List:
-
Found 28 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-pinyin fcitx-pinyin-enhance fcitx-punc fcitx-quickphrase fcitx-remote fcitx-spell fcitx-sunpinyin fcitx-table fcitx-unicode fcitx-vk fcitx-x11 fcitx-xim fcitx-xkb fcitx-xkbdbus -
Found 0 disabled addons:
-
-
Addon Libraries:
All libraries for all addons are found.
-
User Interface:
Found 2 enabled user interface addons:
fcitx-classic-ui fcitx-kimpanel-ui
Input Methods:
-
Found 4 enabled input methods:
fcitx-keyboard-us fcitx-keyboard-cn fcitx-keyboard-cn-altgr-pinyin sunpinyin -
Default input methods:
You have a keyboard input method “fcitx-keyboard-us” correctly added as your default input method.
Log:
-
date:Sat Jan 3 08:24:43 PM CST 2026 -
~/.config/fcitx/log/:total 0 -
~/.config/fcitx/log/crash.log:~/.config/fcitx/log/crash.lognot found.
该换fcitx5啦。
好的,我试一下
我是这样安装的,安装系统时,选择中文,系统完成后,再将目录改为英语,使用的是KDE桌面,采用的系统是风滚草。现在的问题是,系统自带的很多软件(包括办公软件和Kate)以及终端都无法输入中文。而浏览器可以输入中文,我自己安装的思源笔记也可以输入中文。也就是说,字体是安装好的,系统也使用的是UTF-8,但不知道问题出在哪里?
KDE桌面默认用Wayland了吧。
应该是用了Wayland了。
fcitx5-diagnose的结果很长:
System Info:
-
uname -a:Linux localhost.localdomain 6.18.2-1-default #1 SMP PREEMPT_DYNAMIC Fri Dec 19 10:15:01 UTC 2025 (9447271) x86_64 x86_64 x86_64 GNU/Linux -
lsb_release:lsb_releasenot found. -
/etc/lsb-release:/etc/lsb-releasenot found. -
/etc/os-release:NAME="openSUSE Tumbleweed" # VERSION="20260101" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20260101" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" # CPE 2.3 format, boo#1217921 CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20260101:*:*:*:*:*:*:*" #CPE 2.2 format #CPE_NAME="cpe:/o:opensuse:tumbleweed:20260101" BUG_REPORT_URL="https://bugzilla.opensuse.org" SUPPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed" -
Desktop Environment:
Desktop environment is
kde. -
XDG SESSION TYPE:
XDG_SESSION_TYPE='x11' -
Bash Version:
BASH_VERSION='5.3.9(1)-release'
Environment:
-
DISPLAY:
DISPLAY=':0' WAYLAND_DISPLAY='' -
Keyboard Layout:
-
setxkbmap:xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(evdev)+terminate(ctrl_alt_bksp)" }; xkb_geometry { include "pc(pc104)" }; }; -
xprop:_XKB_RULES_NAMES(STRING) = "evdev", "pc104", "us", "", "terminate:ctrl_alt_bksp"
-
-
Locale:
-
All locales:
aa_DJ aa_DJ.utf8 aa_ER aa_ET af_ZA af_ZA.utf8 agr_PE ak_GH am_ET an_ES an_ES.utf8 anp_IN ar_AE ar_AE.utf8 ar_BH ar_BH.utf8 ar_DZ ar_DZ.utf8 ar_EG ar_EG.utf8 ar_IN ar_IQ ar_IQ.utf8 ar_JO ar_JO.utf8 ar_KW ar_KW.utf8 ar_LB ar_LB.utf8 ar_LY ar_LY.utf8 ar_MA ar_MA.utf8 ar_OM ar_OM.utf8 ar_QA ar_QA.utf8 ar_SA ar_SA.utf8 ar_SD ar_SD.utf8 ar_SS ar_SY ar_SY.utf8 ar_TN ar_TN.utf8 ar_YE ar_YE.utf8 as_IN ast_ES ast_ES.utf8 ayc_PE az_AZ az_IR be_BY be_BY@latin be_BY.utf8 bem_ZM ber_DZ ber_MA bg_BG bg_BG.utf8 bhb_IN.utf8 bho_IN bho_NP bi_VU bn_BD bn_IN bo_CN bo_IN br_FR br_FR@euro br_FR.utf8 brx_IN bs_BA bs_BA.utf8 byn_ER C ca_AD ca_AD.utf8 ca_ES ca_ES@euro ca_ES.utf8 ca_ES@valencia ca_FR ca_FR.utf8 ca_IT ca_IT.utf8 ce_RU chr_US ckb_IQ cmn_TW crh_RU crh_UA csb_PL cs_CZ cs_CZ.utf8 C.utf8 cv_RU cy_GB cy_GB.utf8 da_DK da_DK.utf8 de_AT de_AT@euro de_AT.utf8 de_BE de_BE@euro de_BE.utf8 de_CH de_CH.utf8 de_DE de_DE@euro de_DE.utf8 de_IT de_IT.utf8 de_LI.utf8 de_LU de_LU@euro de_LU.utf8 doi_IN dsb_DE dv_MV dz_BT el_CY el_CY.utf8 el_GR el_GR@euro el_GR.utf8 en_AG en_AU en_AU.utf8 en_BW en_BW.utf8 en_CA en_CA.utf8 en_DK en_DK.utf8 en_GB en_GB.iso885915 en_GB.utf8 en_HK en_HK.utf8 en_IE en_IE@euro en_IE.utf8 en_IL en_IN en_NG en_NZ en_NZ.utf8 en_PH en_PH.utf8 en_SC.utf8 en_SG en_SG.utf8 en_US en_US.iso885915 en_US.utf8 en_ZA en_ZA.utf8 en_ZM en_ZW en_ZW.utf8 eo es_AR es_AR.utf8 es_BO es_BO.utf8 es_CL es_CL.utf8 es_CO es_CO.utf8 es_CR es_CR.utf8 es_CU es_DO es_DO.utf8 es_EC es_EC.utf8 es_ES es_ES@euro es_ES.utf8 es_GT es_GT.utf8 es_HN es_HN.utf8 es_MX es_MX.utf8 es_NI es_NI.utf8 es_PA es_PA.utf8 es_PE es_PE.utf8 es_PR es_PR.utf8 es_PY es_PY.utf8 es_SV es_SV.utf8 es_US es_US.utf8 es_UY es_UY.utf8 es_VE es_VE.utf8 et_EE et_EE.iso885915 et_EE.utf8 eu_ES eu_ES@euro eu_ES.utf8 fa_IR ff_SN fi_FI fi_FI@euro fi_FI.utf8 fil_PH fo_FO fo_FO.utf8 fr_BE fr_BE@euro fr_BE.utf8 fr_CA fr_CA.utf8 fr_CH fr_CH.utf8 fr_FR fr_FR@euro fr_FR.utf8 fr_LU fr_LU@euro fr_LU.utf8 fur_IT fy_DE fy_NL ga_IE ga_IE@euro ga_IE.utf8 gbm_IN gd_GB gd_GB.utf8 gez_ER gez_ER@abegede gez_ET gez_ET@abegede gl_ES gl_ES@euro gl_ES.utf8 gu_IN gv_GB gv_GB.utf8 hak_TW ha_NG he_IL he_IL.utf8 hif_FJ hi_IN hne_IN hr_HR hr_HR.utf8 hsb_DE hsb_DE.utf8 ht_HT hu_HU hu_HU.utf8 hy_AM hy_AM.armscii8 ia_FR id_ID id_ID.utf8 ig_NG ik_CA is_IS is_IS.utf8 it_CH it_CH.utf8 it_IT it_IT@euro it_IT.utf8 iu_CA ja_JP.eucjp ja_JP.shiftjisx0213 ja_JP.sjis ja_JP.utf8 kab_DZ ka_GE ka_GE.utf8 kk_KZ kk_KZ.utf8 kl_GL kl_GL.utf8 km_KH kn_IN kok_IN ko_KR.euckr ko_KR.utf8 ks_IN ks_IN@devanagari ku_TR ku_TR.utf8 kv_RU kw_GB kw_GB.utf8 ky_KG lb_LU lg_UG lg_UG.utf8 li_BE lij_IT li_NL ln_CD lo_LA ltg_LV.utf8 lt_LT lt_LT.utf8 lv_LV lv_LV.utf8 lzh_TW mag_IN mai_IN mai_NP mdf_RU mfe_MU mg_MG mg_MG.utf8 mhr_RU mi_NZ mi_NZ.utf8 miq_NI mjw_IN mk_MK mk_MK.utf8 ml_IN mni_IN mn_MN mnw_MM mr_IN ms_MY ms_MY.utf8 mt_MT mt_MT.utf8 my_MM nan_TW nan_TW@latin nb_NO nb_NO.utf8 nds_DE nds_NL ne_NP nhn_MX niu_NU niu_NZ nl_AW nl_BE nl_BE@euro nl_BE.utf8 nl_NL nl_NL@euro nl_NL.utf8 nn_NO nn_NO.utf8 no_NO no_NO.utf8 nr_ZA nso_ZA oc_FR oc_FR.utf8 om_ET om_KE om_KE.utf8 or_IN os_RU pa_IN pap_AW pap_CW pa_PK pl_PL pl_PL.utf8 POSIX ps_AF pt_BR pt_BR.utf8 pt_PT pt_PT@euro pt_PT.utf8 quz_PE raj_IN rif_MA ro_RO ro_RO.utf8 ru_RU ru_RU.koi8r ru_RU.utf8 ru_UA ru_UA.utf8 rw_RW sah_RU sa_IN sat_IN sc_IT scn_IT sd_IN sd_IN@devanagari se_NO sgs_LT shn_MM shs_CA sid_ET si_LK sk_SK sk_SK.utf8 sl_SI sl_SI.utf8 sm_WS so_DJ so_DJ.utf8 so_ET so_KE so_KE.utf8 so_SO so_SO.utf8 sq_AL sq_AL.utf8 sq_MK sr_ME sr_RS sr_RS@latin ssy_ER ss_ZA st_ZA st_ZA.utf8 su_ID sv_FI sv_FI@euro sv_FI.utf8 sv_SE sv_SE.utf8 sw_KE sw_TZ syr szl_PL ta_IN ta_LK tcy_IN.utf8 te_IN tg_TJ tg_TJ.utf8 the_NP th_TH th_TH.utf8 ti_ER ti_ET tig_ER tk_TM tl_PH tl_PH.utf8 tn_ZA tok to_TO tpi_PG tr_CY tr_CY.utf8 tr_TR tr_TR.utf8 ts_ZA tt_RU tt_RU@iqtelif ug_CN uk_UA uk_UA.utf8 unm_US ur_IN ur_PK uz_UZ uz_UZ@cyrillic uz_UZ.utf8 ve_ZA vi_VN wa_BE wa_BE@euro wa_BE.utf8 wae_CH wal_ET wo_SN xh_ZA xh_ZA.utf8 yi_US yi_US.utf8 yo_NG yue_HK yuw_PG zgh_MA zh_CN zh_CN.gb18030 zh_CN.gbk zh_CN.utf8 zh_HK zh_HK.utf8 zh_SG zh_SG.gbk zh_SG.utf8 zh_TW zh_TW.euctw zh_TW.utf8 zu_ZA zu_ZA.utf8 -
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=
-
-
Directories:
-
Home:
/home/ginkgo -
${XDG_CONFIG_HOME}:Environment variable
XDG_CONFIG_HOMEis set to/home/ginkgo/.config.Current value of
XDG_CONFIG_HOMEis~/.config(/home/ginkgo/.config). -
Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5(/home/ginkgo/.config/fcitx5).
-
-
Current user:
The script is run as ginkgo (1000).
Fcitx State:
-
executable:
Found fcitx5 at
/usr/bin/fcitx5. -
version:
Fcitx version:
5.1.13 -
process:
Found 2 fcitx5 processes:
1820 fcitx5 <defunct> 1915 fcitx5 -
fcitx5-remote:fcitx5-remoteworks properly. -
DBus interface:
Using
dbus-sendto check dbus.Owner of DBus name
org.fcitx.Fcitx5is:1.15.PID of DBus name
org.fcitx.Fcitx5owner is1915.Debug information from dbus:
Group [x11::0] has 10 InputContext(s) IC [47421bf26da34003849d941d0866e0fd] program:konsole frontend:dbus cap:6000820872 focus:1 IC [bee6fd2e047e47b1b2c65c39d29646e0] program:kate frontend:dbus cap:16000800072 focus:0 IC [64c1f31186a4441b9fa9619402a11a3f] program:kate frontend:dbus cap:6000800072 focus:0 IC [d3543067114e445fbfb01eaa76c9b166] program:plasmashell frontend:dbus cap:16000800072 focus:0 IC [fca2dab8334b490f954e42c8eee38c13] program:firefox frontend:dbus cap:6000000032 focus:0 IC [3c924baaabc74ac2a1f7b23615ce905e] program:firefox frontend:dbus cap:6000000072 focus:0 IC [5105aceefc944fcba69cd7ddb32549a4] program:kate frontend:dbus cap:16000800072 focus:0 IC [513dc78682b349659cb7d1723ff18e19] program:systemsettings frontend:dbus cap:6000820072 focus:0 IC [590063b78547477bb7ff5da68b903366] program:plasmashell frontend:dbus cap:16000800072 focus:0 IC [1ded45aa2eb74b5e9b322ea4d88ef355] program:plasmashell frontend:dbus cap:16000800072 focus:0 Input Context without group
Frontends setup:
The environment variable checked by this script only shows the environment under current shell. It is still possible that you did not set the environment to the whole graphic desktop session. You may inspect the actual environment variable of a certain process by using xargs -0 -L1 /proc/$PID/environ for a certain process that you find not working.
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.
Qt:
-
qt4 -
${QT4_IM_MODULE}:Environment variable QT_IM_MODULE is set to “fcitx” correctly.
fcitx5-qt4-immodule-probingnot found. -
qt5 -
${QT_IM_MODULE}:Environment variable QT_IM_MODULE is set to “fcitx” correctly.
Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext -
qt6 -
${QT_IM_MODULE}:Environment variable QT_IM_MODULE is set to “fcitx” correctly.
Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext -
Qt IM module files:
Found fcitx5 im module for qt6:
/usr/lib64/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found unknown fcitx qt module:/usr/lib64/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so.
Found fcitx5 im module for qt5:/usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found fcitx5 qt6 module:/usr/lib64/fcitx5/qt6/libfcitx-quickphrase-editor5.so.Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
Cannot find fcitx5 input method module for Qt4.
Gtk:
-
gtk -
${GTK_IM_MODULE}:Environment variable GTK_IM_MODULE is set to “fcitx” correctly.
fcitx5-gtk2-immodule-probingnot found.Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitxUsing fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx -
gtk-query-immodules:-
gtk 2:
Cannot find
gtk-query-immodulesfor gtk 2Cannot find fcitx5 im module for gtk 2.
-
gtk 3:
Found
gtk-query-immodulesfor gtk3.24.51at/usr/bin/gtk-query-immodules-3.0-64.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0-64 from gtk+-3.24.51Found fcitx5 im modules for gtk
3.24.51."/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*"
-
-
Gtk IM module cache:
-
gtk 2:
Cannot find immodules cache for gtk 2
Cannot find fcitx5 im module for gtk 2 in cache.
-
gtk 3:
Found immodules cache for gtk
3.24.51at/usr/lib64/gtk-3.0/3.0.0/immodules.cache.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0-64 from gtk+-3.24.51Found fcitx5 im modules for gtk
3.24.51."/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*"
-
-
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 31 enabled addons:
Simplified and Traditional Chinese Translation 5.1.9 Classic User Interface 5.1.13 Clipboard 5.1.13 Cloud Pinyin 5.1.9 DBus 5.1.13 DBus Frontend 5.1.13 Emoji 5.1.13 Fcitx4 Frontend 5.1.13 Full width character 5.1.9 IBus Frontend 5.1.13 Lua IME API 5.0.15 Input method selector 5.1.13 Keyboard 5.1.13 KDE Input Method Panel 5.1.13 Lua Addon Loader 5.0.15 migration-reminder Status Notifier 5.1.13 Notification 5.1.13 Pinyin 5.1.9 Extra Pinyin functionality 5.1.9 Punctuation 5.1.9 Quick Phrase 5.1.13 Rime 5.1.10 Spell 5.1.13 Table 5.1.9 Unicode 5.1.13 DBus Virtual Keyboard 5.1.13 Wayland 5.1.13 Wayland Input method frontend 5.1.13 XCB 5.1.13 X Input Method Frontend 5.1.13 -
Found 0 disabled addons:
-
-
Addon Libraries:
All libraries for all addons are found.
-
User Interface:
Found 3 enabled user interface addons:
Classic User Interface KDE Input Method Panel DBus Virtual Keyboard
Input Methods:
-
/home/ginkgo/.config/fcitx5/profile:[Groups/0] # Group Name Name="Group 2" # Layout Default Layout=cn # Default Input Method DefaultIM=keyboard-cn [Groups/0/Items/0] # Name Name=keyboard-cn # Layout Layout= [Groups/1] # Group Name Name="Group 1" # Layout Default Layout=us # Default Input Method DefaultIM=pinyin [Groups/1/Items/0] # Name Name=keyboard-us # Layout Layout= [Groups/1/Items/1] # Name Name=pinyin # Layout Layout= [GroupOrder] 0="Group 1" 1="Group 2"
Log:
-
date:Sat Jan 3 09:17:37 PM CST 2026 -
/home/ginkgo/.config/fcitx5/crash.log:/home/ginkgo/.config/fcitx5/crash.lognot found.
Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.
Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.
安装了fcitx5,结果一样,仍然不能在终端输入中文。
可以在终端输入中文了
可以在终端输入中文了,非常感谢!!!
这是输入法的问题吗?我还以为是系统设置的问题。
你这不是Wayland啊。
你这个group没有任何作用(除了不能打中文——如果这也算一种用途的话)。
那你的输入法现在完全正常了吗?
输入法现在完全正常了。可以在网页、终端、Libre Office 中输入中文了。