显示的中文字体太小了,怎么变大一些?
把fcitx5-diagnose命令的输出贴出来看看。
System Info:
-
uname -a:Linux zhwlyfx 6.18.1-arch1-2 #1 SMP PREEMPT_DYNAMIC Sat, 13 Dec 2025 18:23:21 +0000 x86_64 GNU/Linux -
lsb_release:lsb_releasenot found. -
/etc/lsb-release:/etc/lsb-releasenot found. -
/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://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo -
Desktop Environment:
Desktop environment is
gnome3. -
XDG SESSION TYPE:
XDG_SESSION_TYPE='wayland' -
Bash Version:
BASH_VERSION='5.3.9(1)-release'
Environment:
-
DISPLAY:
DISPLAY=':0' WAYLAND_DISPLAY='wayland-0' -
Keyboard Layout:
-
setxkbmap:WARNING: Running setxkbmap against an Xwayland server 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)" }; }; -
xprop:_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""
-
-
Locale:
-
All locales:
C C.utf8 POSIX en_US.utf8 -
Current 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=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
-
-
Directories:
-
Home:
/home/zhwlyfx -
${XDG_CONFIG_HOME}:Environment variable
XDG_CONFIG_HOMEis not set.Current value of
XDG_CONFIG_HOMEis~/.config(/home/zhwlyfx/.config). -
Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5(/home/zhwlyfx/.config/fcitx5).
-
-
Current user:
The script is run as zhwlyfx (1000).
Fcitx State:
-
executable:
Found fcitx5 at
/usr/bin/fcitx5. -
version:
Fcitx version:
5.1.16 -
process:
Found 1 fcitx5 process:
2029 fcitx5 -
fcitx5-remote:fcitx5-remoteworks properly. -
DBus interface:
Using
dbus-sendto check dbus.Owner of DBus name
org.fcitx.Fcitx5is:1.79.PID of DBus name
org.fcitx.Fcitx5owner is2029.Debug information from dbus:
Group [wayland:] has 1 InputContext(s) IC [2814a30fcfff4e2f9c2cb9ef1fdae7db] program: frontend:ibus cap:12 focus:1 Group [x11::0] has 0 InputContext(s) 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 "@im=ibus" instead of "@im=fcitx". Please check if you have exported it incorrectly in any of your init files.
Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add
export XMODIFIERS=@im=fcitxto your~/.xprofile. See Input Method Related Environment Variables: XMODIFIERS.
If you are usinggnome>=3.6, you may want to uninstallibusor removeibus-daemonin order to use any input method other thanibus. See Note for GNOME Later than 3.6 for more detail as well as alternative solutions.Xim Server Name from Environment variable is ibus.
-
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 "ibus" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.
You may have trouble using fcitx in qt4 programs.Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add
export QT_IM_MODULE=fcitxto your~/.xprofile. See Input Method Related Environment Variables: QT_IM_MODULE.fcitx5-qt4-immodule-probingnot found. -
qt5 -
${QT_IM_MODULE}:Environment variable QT_IM_MODULE is "ibus" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.
You may have trouble using fcitx in qt5 programs.Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add
export QT_IM_MODULE=fcitxto your~/.xprofile. See Input Method Related Environment Variables: QT_IM_MODULE.Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:
-
qt6 -
${QT_IM_MODULE}:Environment variable QT_IM_MODULE is "ibus" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.
You may have trouble using fcitx in qt6 programs.Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add
export QT_IM_MODULE=fcitxto your~/.xprofile. See Input Method Related Environment Variables: QT_IM_MODULE.Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=wayland QT_IM_MODULES="wayland;ibus" IM_MODULE_CLASSNAME=QtWaylandClient::QWaylandInputContext -
Qt IM module files:
Found unknown fcitx qt module:
/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so.
Found fcitx5 im module for qt6:/usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found fcitx5 im module for qt:/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
Found fcitx5 qt6 module:/usr/lib/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}:Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add
export GTK_IM_MODULE=fcitxto your~/.xprofile. See Input Method Related Environment Variables: GTK_IM_MODULE.It is OK to use gtk built-in Wayland im module if your compositor fully supports text-input protocol used by gtk.
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=waylandUsing fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=wayland -
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.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.51Found fcitx5 im modules for gtk
3.24.51."/usr/lib/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/lib/gtk-3.0/3.0.0/immodules.cache.
Version Line:# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.51Found fcitx5 im modules for gtk
3.24.51."/usr/lib/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 27 enabled addons:
Simplified and Traditional Chinese Translation 5.1.10 Classic User Interface 5.1.16 Clipboard 5.1.16 Cloud Pinyin 5.1.10 DBus 5.1.16 DBus Frontend 5.1.16 Emoji 5.1.16 Fcitx4 Frontend 5.1.16 Full width character 5.1.10 IBus Frontend 5.1.16 Input method selector 5.1.16 Keyboard 5.1.16 KDE Input Method Panel 5.1.16 Status Notifier 5.1.16 Notification 5.1.16 Pinyin 5.1.10 Extra Pinyin functionality 5.1.10 Punctuation 5.1.10 Quick Phrase 5.1.16 Spell 5.1.16 Table 5.1.10 Unicode 5.1.16 DBus Virtual Keyboard 5.1.16 Wayland 5.1.16 Wayland Input method frontend 5.1.16 XCB 5.1.16 X Input Method Frontend 5.1.16 -
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/zhwlyfx/.config/fcitx5/profile:[Groups/0] # Group Name Name=Default # Layout Default Layout=us # Default Input Method DefaultIM=pinyin [Groups/0/Items/0] # Name Name=keyboard-us # Layout Layout= [Groups/0/Items/1] # Name Name=pinyin # Layout Layout= [GroupOrder] 0=Default
Log:
-
date:Mon Dec 22 10:15:06 CST 2025 -
/home/zhwlyfx/.config/fcitx5/crash.log:/home/zhwlyfx/.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.
请编辑/etc/locale.gen并运行locale-gen来生成locale信息。[1]
你的 chrominum不能打开包含中文的html 和 安装的软件都是英文的 都是未正确执行这一步造成的。
试试不设置QT_IM_MODULE。Qt6已不需要此环境变量。
安装了gnome-shell-extension-kimpanel-git吗?[2]
谢谢回复,不过我的ficitx5是能够输入中文的,但是字体太小了,看着难受,只是想让显示的字大一些,这样我好选择正确的字
在非 KDE 的 Wayland 环境上正确的做法不是取消设置 QT_IM_MODULE,而是同时设置 QT_IM_MODULES="wayland;fcitx",这样 Qt5 和 Qt6 都能正常用
虽然你能输入中文,但输入框不一定是由正确的程序来渲染的,还是按照建议试试吧
是在~/.xprofile文件里添加:
export QT_IM_MODULES="wayland;fcitx"
对不?
Wayland 环境很可能不读 .xprofile,你应该用其它方式设置,详见:https://wiki.archlinux.org/title/Environment_variables
英文不好,看了半天,是这样设置吗:
~/.config/environment.d/envvars.conf
QT_IM_MODULES="wayland;fcitx"
请问您指的是输入法候选字词列表吗?您可以尝试按如下方法调整:
- 运行 Fcitx 5 配置工具(运行命令
fcitx5-configtool) - 打开 "Fcitx 5 配置" 窗口后,转到 "附加组件" 选项卡,点击 "经典用户界面" 右侧的齿轮图标,再在弹出窗口中修改 "字体" 即可。
对的,其实我也在配置找了好久,但是没点击这个,谢谢,明天试试
