Kubuntu 26 中文输入法配置指南:Fcitx5 从安装到实战 1. 背景kubuntu26安装系统后无法使用中文输入法飞书、谷歌浏览器等应用无法使用中文输入法2. 安装# 安装 Fcitx5 核心、拼音引擎、所有前端支持及配置工具sudoaptinstallfcitx5 fcitx5-chinese-addons fcitx5-frontend-gtk2 fcitx5-frontend-gtk3 fcitx5-frontend-qt5 kde-config-fcitx53. 配置打开系统设置 (System Settings)导航到键盘 (Keyboard)-虚拟键盘 (Virtual Keyboard)在菜单中选择Fcitx 5点击应用 (Apply)确保输入法列表中有Keyboard - English (键盘-英语)和Pinyin (拼音)点击应用 (Apply)。验证配置cat~/.config/kwinrc|grep-A5\[Wayland\][Wayland] VirtualKeyboardEnabledtrue InputMethod[$e]/usr/share/applications/fcitx5-wayland-launcher.desktop [Xwayland] Scale1若VirtualKeyboardEnabled是false或者不存在则需要手动修正为true。环境变量为了在飞书、微信等应用使用中文输入法需配置环境变量sudovim/etc/environment添加以下内容GTK_IM_MODULEfcitx QT_IM_MODULEfcitx XMODIFIERSimfcitx SDL_IM_MODULEfcitx GLFW_IM_MODULEibus效果测试