[Share Experiences] 修改fcitx5中的五笔词库
Tofloor
poster avatar
chenyun
deepin
2023-03-18 00:08
Author

修改默认五笔词库
五笔词库安装位置:/usr/share/libime/wbx.main.dict

  1. 复制上述文件到主目录:cp /usr/share/libime/wbx.main.dict wbx.main.dict
  2. 将词库文件转换为txt文件:libime_tabledict -d wbx.main.dict wbx.txt
  3. 用文本编辑软件编辑wbx.txt(按文本中的格式)
  4. 将txt文件转换成词库文件:libime_tabledict wbx.txt wbx.main.dict
  5. 备份原词库文件:cp /usr/share/libime/wbx.main.dict wbx.main.dict.bak
  6. 替换原词库文件:sudo cp wbx.main.dict /usr/share/libime/wbx.main.dict
Reply Favorite View the author
All Replies
jjcui8595
deepin
2023-03-18 00:12
#1

like

Reply View the author
晚秋(lateautumn)
Moderator
2023-03-18 00:17
#2

太需要方法了,非常习惯原来的搜狗输入法输入加减乘除符号了,能够修改,就不用惦记搜狗输入法了joy

Reply View the author
晚秋(lateautumn)
Moderator
2023-03-18 00:23
#3

第一步执行成功了,第二步未找到命令confused
image.png

Reply View the author
chenyun
deepin
2023-03-18 00:34
#4

我这儿,安装fcitx5后就有了此命令
image.png

Reply View the author
chenyun
deepin
2023-03-18 00:35
#5

我的系统是20.8

Reply View the author
longlong
deepin
Developer
2023-03-19 07:39
#6

我有一个不成熟的想法,既然我们都已经支持fcitx5了 ,未尝不可提供用户自行打包词库安装,这样可以方便小白用户

Reply View the author
chenyun
deepin
2024-02-13 08:13
#7

cp -v /usr/share/libime/wbpy.main.dict ~
cd ~
libime_tabledict -d wbpy.main.dict wbpy.txt
vim wbpy.txt
libime_tabledict wbpy.txt wbpy.main.dict
sudo cp --backup=numbered -v wbpy.main.dict /usr/share/libime/

Reply View the author