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

推荐订阅源

G
Google Developers Blog
Cisco Talos Blog
Cisco Talos Blog
Y
Y Combinator Blog
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
J
Java Code Geeks
C
CXSECURITY Database RSS Feed - CXSecurity.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 聂微东
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Privacy & Cybersecurity Law Blog
L
LangChain Blog
L
LINUX DO - 热门话题
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Privacy International News Feed
F
Full Disclosure
S
Schneier on Security
T
Tenable Blog
量子位
NISL@THU
NISL@THU
Latest news
Latest news
V
Visual Studio Blog
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
博客园_首页
K
Kaspersky official blog
L
Lohrmann on Cybersecurity
美团技术团队
P
Proofpoint News Feed
P
Palo Alto Networks Blog
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
The Hacker News
The Hacker News
AWS News Blog
AWS News Blog
S
Securelist
The Register - Security
The Register - Security
G
GRAHAM CLULEY
Project Zero
Project Zero
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Engineering at Meta
Engineering at Meta
C
Cisco Blogs

一世繁华

我与乙方,我与甲方 车辆保养与小思 - 一世繁华 六月记 - 一世繁华 五月记 - 一世繁华 三月记 - 一世繁华 报价,亏大了 - 一世繁华 他人的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。

以上。