wbuntu 极点五笔输入法安装记录(两种方法)

Ubuntu 五笔输入法安装记录(两种方法)

记录日期:2026-10-11

本机系统:Ubuntu 20.04.6 LTS (focal)

本机状态:✅ 方法一已安装并验证可用

本文记录两种五笔输入法安装方法:

  • 方法一:Ubuntu 20.04 通用方法(fcitx + 极点 86 码表)------ 适用于老系统,本机已验证
  • 方法二:极点五笔官方 Linux 版 2026 正确安装方式(openKylin freewb 4.0 + fcitx5)------ 适用于新系统,最正宗

方法一:Ubuntu 20.04 通用方法(fcitx-table-wubi,本机已验证)

极点五笔没有适配老系统的 Linux 版,本方法使用 fcitx 自带的

wbx.mb(五笔 86 版码表,源自极点五笔码表),词库和极点基本一致。

1. 安装

bash 复制代码
sudo apt update
sudo apt install -y fcitx fcitx-table-wubi fcitx-config-gtk im-config

码表文件位置:/usr/share/fcitx/table/wbx.mb + wbx.conf

2. 设为默认输入框架

bash 复制代码
im-config -n fcitx

写入 ~/.xinputrc(内容 run_im fcitx)。

3. 注销并重新登录(必须)

原因(实测踩坑):

  • 输入法框架由登录会话通过环境变量
    (GTK_IM_MODULE / QT_IM_MODULE / XMODIFIERS)交给各应用;

  • X11 的 XIM 服务一台显示器只能注册一个 。旧会话里 IBus 已占用 XIM,
    此时手动启动 fcitx 会报错退出:

    复制代码
    (ERROR xim.c:239) Start XIM error. Another XIM daemon named ibus is running?
    (ERROR instance.c:443) Exiting.
  • 重新登录后,/etc/X11/Xsession.d/70im-config_launch 读取 ~/.xinputrc
    自动拉起 fcitx,环境变量全部切换为 fcitx,冲突消失。

4. 启用码表

重新登录后码表默认未启用(~/.config/fcitx/profile 中 wubi:False),

两种方式任选其一:

方式一(GUI):

bash 复制代码
fcitx-config-gtk3

点 + → 取消勾选「Only Show Current Language」→ 搜索 Wubi → 添加。

⚠️ 保持 键盘-英语(Keyboard - English)排在第一位,否则无法输入字母。

方式二(命令行):

bash 复制代码
sed -i 's/wubi:False/wubi:True/' ~/.config/fcitx/profile
fcitx-remote -r   # 热重载,立即生效

5. 验证与使用

bash 复制代码
pgrep -a fcitx              # 应显示 /usr/bin/fcitx -d
fcitx-remote -m wubi        # 应输出 fcitx-table(码表引擎已加载)
grep -oE "fcitx-keyboard-us:True,wubi:True" ~/.config/fcitx/profile
快捷键 功能
Ctrl+Space 中/英切换
Ctrl+Shift 多输入法轮换
测试 Ctrl+Space 后输入 q,候选首位应为「我」(86 版一级简码)

方法二:极点五笔官方 Linux 版 2026 正确安装方式(freewb 4.0 + fcitx5)

极点五笔(FreeWB,作者杜志民)官方 Linux 版现由

openKylin Input Method SIG 与作者本人共同维护,非常活跃。

安装来源

安装步骤(共 2 个包,需依次安装)

  1. freewb_4.0.0-xxx_amd64.deb ------ 基础文件(核心引擎、词库、皮肤、面板程序)
  2. freewb-fcitx5_4.0.0-xxx_amd64.deb ------ fcitx5 输入法插件(依赖第 1 个包)
bash 复制代码
sudo apt install ./freewb_4.0.0-xxx_amd64.deb
sudo apt install ./freewb-fcitx5_4.0.0-xxx_amd64.deb

安装完成后重启 fcitx5 或在 fcitx5 配置工具中重新加载 ,

输入法列表即可找到「极点五笔」并添加使用。

限制条件(适用环境要求,2026-10-11 实测)

# 条件 具体要求 说明
1 发行版 Deepin V23+ / openKylin 2.x / Ubuntu 22.04+ 等新系统 deb 按这些系统构建;老系统先核对下面第 2~4 条
2 输入框架 fcitx5 ≥ 5.1.x 源码按 fcitx5 5.1.7 的接口适配(更新日志原文:"sdbus_proxy_test 适配 fcitx5 5.1.7 与新版本的 EventLoop 接口差异");fcitx4 只剩旧版源码内插件,4.0 deb 不支持
3 库依赖 较新的 libc6(≥ 2.3x)、Qt5/Qt6、sdbus-c++ 等 由构建时 ${shlibs:Depends} 展开,实际以 dpkg -I freewb-fcitx5_*.deb 显示的 Depends 为准
4 CPU 架构 amd64 (x86_64) 官方 deb 仅此架构;ARM 设备需从 Gitee 源码自行编译
5 安装顺序 先 freewb,后 freewb-fcitx5 插件包 Depends: freewb (= 同版本),顺序反了安装直接失败
6 配置工具 fcitx5 配置工具(fcitx5-configtool) 安装后需重载配置,「极点五笔」才出现在输入法列表中

版本检查命令(下载 deb 后、安装前先确认):

bash 复制代码
dpkg -I freewb-fcitx5_4.0.0-xxx_amd64.deb | grep -E "Depends|Architecture"
apt policy fcitx5        # 看本机 fcitx5 版本是否 ≥ 5.1.x

关于版本下限的一个坑 :debian/control 中 freewb-fcitx5 对 fcitx5

没有写版本下限 (就一行 Depends: ... fcitx5 ...)。这意味着 dpkg

不会因为你的 fcitx5 太老而拒绝安装------但插件运行时调用的是 5.1.x 的

API/ABI,在老 fcitx5 上装得上、加载不了 (表现为:deb 装完无报错,

输入法列表里却找不到「极点五笔」)。所以判断兼容性不能只看 dpkg 是否报错,

必须先核对上表第 2、3 条。

对 Ubuntu 20.04 的结论 :focal 仓库的 fcitx5 仅为 0.0~git20200128

快照,上表第 2、3 条均不满足 → 直接安装大概率失败或静默无效。

20.04 请用方法一 ,或升级系统后改用方法二。

(进阶:freewb 源码含 freewb-fcitx4 子包,仅依赖 fcitx (>= 4.2.7),

focal 理论可从源码编译,工作量较大。)


附:已失效的方法(勿再使用)

CSDN 旧教程(blog.csdn.net/tangbozhi1/article/details/103866782,2019 年)中的地址:

复制代码
http://210.22.22.150:1278/freewb_0.1.3_amd64.deb

2026-10-11 实测:Connection refused,服务器已关闭。

极点官网 freewb.org 也已停摆。该教程的 apt remove ibus + dpkg -i 流程

基于当年 Fcitx4 + Ubuntu 18/19 环境,不宜照搬。


故障速查

症状 检查
候选窗不出现 pgrep fcitx;无进程则 fcitx -d,报 XIM 冲突则必须注销重登
打字上不了屏 重启该应用(旧应用启动时环境变量还是 ibus)
英文打不出 确认 EnabledIMList 中 fcitx-keyboard-us 排第一且为 True
改了配置没生效 fcitx-remote -r 热重载
完整体检 fcitx-diagnose
相关推荐
木卫二号Coding4 小时前
第八十六篇-Strata 部署指南(Ubuntu 22.04 + Tesla V100【单卡】)
linux·运维·人工智能·ubuntu
饭来_5 小时前
Ubuntu 中出现 CondaToSNonInteractiveError 的解决方法
ubuntu·conda·debug
东风微鸣6 小时前
精简 Ubuntu Linux 固件包:每个 N100 节点省下约 450 MB
linux·ubuntu·postgresql
pride.li17 小时前
Python 安装
linux·python·ubuntu
明日清晨17 小时前
mobaxterm root身份登录Ubuntu
linux·ubuntu·postgresql
Allocator18 小时前
彻底解决ubuntu上腾讯会议无法共享问题
linux·ubuntu·腾讯会议
忆挽篱笙歌19 小时前
冯诺依曼+操作系统+进程
linux·ubuntu
Linux-lucky20 小时前
43-Linux学习之旅之Shell 脚本(二)
linux·运维·学习·ubuntu·dash
是jin奥1 天前
Ubuntu 访问 Windows 共享目录
linux·运维·ubuntu