Comments (2)
若命令受限于权限而无法执行,请在命令之前加上sudo
from custompinyindictionary.
- 备份
sources.list
:cp /etc/apt/sources.list /etc/apt/sources.list.bak
- 编辑
sources.list
:nano /etc/apt/sources.list
- 将文件里的内容全部替换成以下内容:
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-security main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-security main restricted universe multiverse # 预发布软件源,不建议启用 # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
- 更新来源:
apt update
- 安装
libime-bin
:apt install libime-bin
- 还原
sources.list
:cp /etc/apt/sources.list.bak /etc/apt/sources.list
- 下载
CustomPinyinDictionary_Fcitx_<版本号>.tar.gz
并解压,获取词库文件CustomPinyinDictionary_Fcitx.dict
- 进入词库文件所在目录,将词库转换为txt文件:
libime_pinyindict -d CustomPinyinDictionary_Fcitx.dict CustomPinyinDictionary_Fcitx.txt
root@ubuntu:/home/dict# libime_pinyindict -d CustomPinyinDictionary_Fcitx.dict CustomPinyinDictionary_Fcitx.txt terminate called after throwing an instance of 'std::invalid_argument' what(): Invalid pinyin version. Aborted
报错了
from custompinyindictionary.
Related Issues (20)
- 能修改下脚本兼容KernelSU吗 HOT 2
- 向您推荐一个维护比较勤快的词库 HOT 1
- Linux fcitx 5, 微软双拼,支持吗? HOT 1
- 请问下,通过magisk安装词库后,gboard的cpu占用都会非常高,过5分钟左右才会趋于正常 HOT 1
- 请问可以发布时使用版本号吗 HOT 9
- 参考 #21 进行转换报错 HOT 4
- 平板没有音量键,无法安装magisk模块 HOT 5
- 小企鹅安卓版更新词库的话是不是直接到.../pinyin/dictionaries路径下替换文件就行,如果在app内导入的话会提示已存在,得先删除 HOT 2
- 导入失败,使用magisk刷入必须是24.0以上版本么? HOT 2
- 能否提供可以让深蓝转换使用的格式,我想转成微软输入法双拼使用 HOT 1
- 能否添加一下对kernelsu支持 HOT 2
- 关于小企鹅输入法导入该词库后输入过快卡顿的问题 HOT 3
- 能否提供一份ios使用的词库 HOT 1
- 能否添加linux下智能拼音的支持 HOT 2
- 如何将词库转换为 txt
- KernelSu 重启后模块消失 HOT 4
- Gboard_update.json更新链接错误
- 能不能直接提供一下其他主流输入法的词库格式啊?比如txt,搜狗的bin等 HOT 6
- 你好,请问安卓gboard有可以通过shizuku添加词库的方式吗,现在的手机太难root了 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custompinyindictionary.