惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
O
OpenAI News
V
V2EX
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
Schneier on Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
小众软件
小众软件
L
LINUX DO - 热门话题
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - Franky
Security Latest
Security Latest
S
SegmentFault 最新的问题
Project Zero
Project Zero
Spread Privacy
Spread Privacy
K
Kaspersky official blog
J
Java Code Geeks
V
Vulnerabilities – Threatpost
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
L
Lohrmann on Cybersecurity
人人都是产品经理
人人都是产品经理
博客园 - 三生石上(FineUI控件)
Scott Helme
Scott Helme
WordPress大学
WordPress大学
量子位
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
AWS News Blog
AWS News Blog
Help Net Security
Help Net Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Simon Willison's Weblog
Simon Willison's Weblog
S
Secure Thoughts
博客园 - 【当耐特】
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
V
Visual Studio Blog
Last Week in AI
Last Week in AI
T
Tailwind CSS Blog
腾讯CDC
Cyberwarzone
Cyberwarzone
IT之家
IT之家
GbyAI
GbyAI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
云风的 BLOG
云风的 BLOG
T
Troy Hunt's Blog
D
Docker

251 的魔法实验室

通过 Ansible 给各个 Server 做自动化升级 我的 2025 离线更新 Home Assistant 2025.02 日本游记 Vol. 2 JetKVM 初上手体验 2025.02 日本游记 Vol. 1 记从 Windows 启动 Linux 的心得 我的 2024 我的 5.10.1 代 homelab
Fedora 41 下面安装 fcitx5 w/ RIME
251 的魔法实验室 · 2024-11-27 · via 251 的魔法实验室

每次都要折腾,这次记录一下。

0x01 安装 fcitx5

sudo dnf install fcitx5 fcitx5-qt fcitx5-chinese-addons fcitx5-lua fcitx5-configtool fcitx5-gtk

因为 Fedora 41 已经默认 Wayland,根据Fcitx 官方文档,Wayland 桌面环境下不能设置 GTK_IM_MODULEQT_IM_MODULE,只能设置 XMODIFIERS=@im=fcitx。这里先不设置,我们后面设置。

但如果你为了让 fcitx5 随系统启动而安装了 fcitx5-autostart 的话,那它会自动设置那两个参数,虽然能够在 Firefox、GIMP、gedit 等 GTK 软件下输入中文,但是无法在任何 QT 程序下输入中文。所以,不要安装 fcitx5-autostart

0x02 安装 rime

sudo dnf install fcitx5-rime

我之前虽然有配置文件,但懒得导入了,直接使用雾凇拼音吧。

rime_frontend=fcitx5-rime bash rime-install iDvel/rime-ice:others/recipes/full

最后,去设置 /etc/profile 环境以下参数,重启之后大功告成:

export XMODIFIERS=@im=fcitx
export QT_IM_MODULES="wayland;fcitx;ibus"

0x03 参考资料


如果喜欢本文,欢迎点击下方的「鼓掌」按钮!

如果上面没有加载出任何东西,可以点击这里