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

推荐订阅源

Forbes - Security
Forbes - Security
A
Arctic Wolf
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
Martin Fowler
Martin Fowler
A
About on SuperTechFans
P
Palo Alto Networks Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
大猫的无限游戏
大猫的无限游戏
Cisco Talos Blog
Cisco Talos Blog
P
Proofpoint News Feed
D
DataBreaches.Net
Cyberwarzone
Cyberwarzone
T
Tor Project blog
IT之家
IT之家
P
Proofpoint News Feed
Help Net Security
Help Net Security
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CXSECURITY Database RSS Feed - CXSecurity.com
Microsoft Azure Blog
Microsoft Azure Blog
V2EX - 技术
V2EX - 技术
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
MongoDB | Blog
MongoDB | Blog
B
Blog
N
News and Events Feed by Topic
The Cloudflare Blog
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
T
The Blog of Author Tim Ferriss
Recorded Future
Recorded Future
Last Week in AI
Last Week in AI
The Last Watchdog
The Last Watchdog
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LangChain Blog
I
InfoQ
F
Full Disclosure
The Register - Security
The Register - Security
阮一峰的网络日志
阮一峰的网络日志
H
Hacker News: Front Page
V
V2EX

一世繁华

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

以上。