An open API service indexing awesome lists of open source software.

https://github.com/debuggerx01/fcitx5_customizer

Fcitx5定制优化脚本
https://github.com/debuggerx01/fcitx5_customizer

Last synced: 4 months ago
JSON representation

Fcitx5定制优化脚本

Awesome Lists containing this project

README

          

# Fcitx5定制优化脚本

![logo](docs/logo.png)

一个针对 [Fcitx5](https://github.com/fcitx/fcitx5) 的优化脚本,力求更符合简中用户的使用习惯~

# 使用方法
```shell
# 完全自定义
bash fcitx5_customizer.sh

# 使用推荐配置
bash fcitx5_customizer.sh recommend

# 在线运行
bash -c "$(curl -fsSL https://fcitx5.debuggerx.com/fcitx5_customizer.sh)"

# 在线运行并使用推荐配置
curl -sSL https://fcitx5.debuggerx.com/fcitx5_customizer.sh | bash -s -- recommend
```

# 适配情况
- debian系(deepin、ubuntu、mint等),完全适配
- arch系(manjaro、asahi等),部分词库和皮肤未适配
- fedora,由于默认源中不包含任何 Fcitx5 皮肤包,故只有脚本内置的 "星空黑"、"简约黑/白" 和 "dracula" 皮肤可用

# 可能遇到的问题
## curl未找到命令
如果执行优化命令时提示`curl`未找到命令,请先手动执行 `sudo apt install curl` 安装即可。
## 当前输入法不是fcitx
只有当前系统正确安装并启用了 Fcitx5 输入法是,优化脚本才会真正执行。
有一种情况是,当使用系统自带的输入法切换器将系统的输入法切换为 Fcitx5 时,虽然看上去已经切换成功并且输入法已经可以正常使用,但是系统的环境变量还没有及时刷新,所以脚本还是会认为系统输入法不是 Fcitx5。此时只要注销或重启一次系统,再次执行优化命令即可正确识别。
如果使用的是 Fedora,建议安装 fcitx5-autostart 包,参考:[设置 Fcitx 5 - fcitx5-autostart (Fedora)](https://fcitx-im.org/wiki/Setup_Fcitx_5/zh-cn#fcitx5-autostart_.28Fedora.29)

# 恢复默认设置
如果优化脚本导致了输入法异常,可以再次运行脚本,并勾选最后一项的“重置输入法”,脚本将清空当前用户的fcitx5配置目录。如果仍然存在异常,请尝试重新安装输入法。

# 鸣谢
- [shenmo](https://github.com/shenmo7192) - [#1](https://github.com/debuggerx01/fcitx5_customizer/pull/1)

更多说明及资料:[fcitx5_customizer —— 一个让 Fcitx5 更符合简中用户使用习惯的优化脚本](https://www.debuggerx.com/2023/09/20/fcitx5-customizer/)