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

推荐订阅源

Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
D
Darknet – Hacking Tools, Hacker News & Cyber Security
V2EX - 技术
V2EX - 技术
Security Archives - TechRepublic
Security Archives - TechRepublic
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
宝玉的分享
宝玉的分享
小众软件
小众软件
博客园_首页
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Project Zero
Project Zero
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Spread Privacy
Spread Privacy
I
InfoQ
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
罗磊的独立博客
M
MIT News - Artificial intelligence
爱范儿
爱范儿
The Cloudflare Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Tenable Blog
S
Securelist
N
News and Events Feed by Topic
Simon Willison's Weblog
Simon Willison's Weblog
Webroot Blog
Webroot Blog
The Hacker News
The Hacker News
O
OpenAI News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Palo Alto Networks Blog
C
CERT Recently Published Vulnerability Notes
PCI Perspectives
PCI Perspectives
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Threat Research - Cisco Blogs
L
LINUX DO - 热门话题
I
Intezer
Scott Helme
Scott Helme
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Cybersecurity and Infrastructure Security Agency CISA
Google Online Security Blog
Google Online Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
S
Security Affairs
AI
AI
AWS News Blog
AWS News Blog
Security Latest
Security Latest

一世繁华

车辆保养与小思 - 一世繁华 六月记 - 一世繁华 五月记 - 一世繁华 三月记 - 一世繁华 报价,亏大了 - 一世繁华 他人的NPC、自我的主角 - 一世繁华 必应搜索,兑换你的积分 - 一世繁华 离谱的Bug - 一世繁华 观影笔记:《Pluto: 冥王》 - 一世繁华 2025年终总结与新的一年 - 一世繁华 产品交付时问题排查 - 一世繁华 十二月中旬记 - 一世繁华
Ubuntu上Fcitx5框架输入法折腾 - 一世繁华
小韩 · 2026-01-11 · via 一世繁华

本文参考以下链接


https://zhuanlan.zhihu.com/p/1891416207569166711
https://zhuanlan.zhihu.com/p/508797663

ubuntu自带的输入法着实有点难用,经过一番调教,终于是有一个还算能用的结果。

1、首先卸载旧的Fcitx框架

sudo apt-get remove --purge fcitx
sudo apt-get autoremove

2、安装Fcitx5

sudo apt install fcitx5 \
fcitx5-chinese-addons \
fcitx5-frontend-gtk4 fcitx5-frontend-gtk3 fcitx5-frontend-gtk2 \
fcitx5-frontend-qt5

3、将Fcitx5设置为默认输入法

键入

im-config

根据窗口提示,将首选输入法设置为Fcitx5

4、打开Fcitx5 Configration,添加拼音输入法并进行配置

  • 首先添加拼音;
  • 其次将拼音挪到第一位次;
  • 最后,选择拼音输入法,选择中间那个尺寸,进行拼音输入法的配置页面。

在这个页面,可以进行候选词个数设置,控制快捷键来切换候选词页面,例如“【“和”】”,其次还能选择在线词库,目前支持添加搜狗的词库。

最后,进行UI字体大小的设置,默认的有点小。

5、环境变量设置
在/etc/environment文件中,添加以下内容:

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

6、设置开机自启动

  • 安装gnome-tweaks

    sudo apt install gnome-tweaks
  • 在应用启动界面,搜索Tweaks,在“开机启动程序“里,添加Fcitx5。

以上。