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

推荐订阅源

Vercel News
Vercel News
Recorded Future
Recorded Future
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
Y
Y Combinator Blog
N
News | PayPal Newsroom
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Help Net Security
Help Net Security
博客园 - Franky
SecWiki News
SecWiki News
Recent Announcements
Recent Announcements
T
Troy Hunt's Blog
The Register - Security
The Register - Security
The Last Watchdog
The Last Watchdog
Webroot Blog
Webroot Blog
S
Security Affairs
博客园 - 司徒正美
S
Schneier on Security
I
InfoQ
博客园_首页
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Threat Research - Cisco Blogs
Forbes - Security
Forbes - Security
腾讯CDC
N
Netflix TechBlog - Medium
N
News and Events Feed by Topic
Cloudbric
Cloudbric
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta
Recent Commits to openclaw:main
Recent Commits to openclaw:main
B
Blog
V
Vulnerabilities – Threatpost
C
Check Point Blog
Google DeepMind News
Google DeepMind News
Google Online Security Blog
Google Online Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
Cisco Blogs
Schneier on Security
Schneier on Security
O
OpenAI News
K
Kaspersky official blog

mephisto.cc

修复rime-ice无法弹出候选框的问题 开机滚动字体显示优化 个人网站安全防护 树莓派上部署Vaultwarden 使用goaccess实时分析Caddy日志 个人网站监控 Hugo全站AVIF记 Linux下尝试使用Godot开发小游戏 Arch linux dae 透明代理 Airflow接管galler-dl下载任务 如何使用gallery-dl批量下载图像 Arch核显下如何愉快玩Dota2和CS2 Arch/labwc 环境网络相关设置 Arch 重装记录 Supertuxkart iOS版终于发布了 打造自己的流媒体音乐服务 剪切板管理工具clipcat推荐 MangoHud性能监控 微信小程序开发记 Rofi试用 解决Arch下VSCode无法输入中文的问题 独立窗口管理器下无法录屏问题处理 上海市二手房成交数据监控 OpenLDAP监控 Arch linux如何顺畅连接蓝牙设备 使用Git和Ansible管理配置文件 Arch Linux SSL VPN 客户端配置 简单获取celery任务实时结果 Arch linux下iNode客户端的安装和使用方法 券商费率调整记 迷你主机组装记 Labwc更换定制皮肤 树莓派跑分流代理 实用自动代理配置示例 九年老鼠标复活记 Openvpn示例 Mac下如何旋转webp图片 如何隐藏Vscode中Markdown PDF插件的头部内容 解决Linux下网络配置无法变更保存的问题 labwc环境启用wlogout Ubuntu下新官方微信尝鲜 简单检测用户是否开启广告屏蔽 Atuin ZFS下卡顿问题解决 Wine安装64位微信 Fish 和 Atuin使用记 Fastapi简单实现临时下载链接 Fastapi微信公众号开发简要 Hugo根据语种展示不同内容 如何修复Waybar微信图标错误 信封加密简要 Linux环境下维护公众号记录 快速隐藏和呼出终端 Wayland环境自动切换壁纸 SuperTuxKart 试玩 简单抓取雪球股票快讯 为什么你的kill命令不能列出信号表 Wine安装微信保姆教程 Hysteria科学上网简要 Ubuntu 23.10 钉钉无法启动解决方法 网站导航栏防止插入Adsense自动广告 Linux环境按键检测 Hugo文末添加最后修改时间 Wayland环境ksnip无法复制问题解决 我眼中的股票市场 Caddy简单图片防盗链 greetd和regreet使用教程 Wayland环境下截图加后期修改 Wayland 环境下gif录屏 Firefox的一些有趣功能 Ubuntu 切换系统语言 Firefox 标题栏高度调整 网站添加回到顶部功能 Hugo自定义字体 Labwc 便捷配置 Wofi使用教程 窗口管理器labwc使用记 文件共享软件Dufs推荐 Hugo静态站点接入Adsense广告 Fcitx5配置详解 Ubuntu安装chrome的方法总结 一种Xterm.js的全屏方案 Google网址收录api Python示例 手机听离线音乐 Snipe it资产导入 应用启动器yofi使用配置 Snipe it资产管理系统安装使用 Ubuntu开机启动加速 Vue3 vite TypeScript跨域等相关设置 Ubuntu手动升级Libreoffice Ubuntu设置alacritty为默认终端 简体文章批量转换为繁体 使用Inkscape调整svg图片大小 实用命令 使用mitmproxy给手机app抓包 Python中rstrip方法细解 Github同主机多仓库部署deploy key问题处理 Linux安装最新版本Python KeePassXC使用教程 Ubuntu 22.10连接蓝牙耳机报错br-connection-profile-unavailable解决方法 Caddy日志配置轮转和格式化
Rime添加dota2词库
2025-12-13 · via mephisto.cc

我平时主要玩 Dota2 和 CS2,毕竟常年霸榜 steam,玩家人数最多,最高在线人数百万级别,请核查https://store.steampowered.com/charts/mostplayed,与人斗其乐无穷。

每次玩的时候,总能遇到些奇葩,比如从头打野到游戏结束、不插眼、刷了送的。这个时候,打字友情提示下很有必要,想赢的。

退一步讲,万一要文斗,打字快也不落下风😅。

所以输入法需要携带 Dota2 词库,这样比较节约时间,比如输入“死灵法师”速度就会变快。

1. 安装输入法

fcitx5 比 ibus 自定义更加方便,noto-fonts-emoji 添加 emoji 支持。

1sudo pacman -S fctix5-rime
2sudo pacman -S noto-fonts-emoji

选用雾凇拼音,好像最近又冒出了很多类似雾凇拼音的,懒得折腾了,目前满足需求。

1paru -S rime-ice-pinyin-git

2. 雾凇拼音自定义设置

操作过程如下:

 1➜  ~ cd .local/share/fcitx5
 2➜  fcitx5 ls
 3rime/  themes/
 4➜  fcitx5 pwd
 5/home/mephisto/.local/share/fcitx5
 6➜  fcitx5 cd rime
 7➜  rime pwd
 8/home/mephisto/.local/share/fcitx5/rime
 9➜  rime ls
10build/  cn_dicts/  default.custom.yaml  installation.yaml  luna_pinyin.userdb/  rime_ice.custom.yaml  rime_ice.userdb/  sync/  user.yaml
11➜  rime cat default.custom.yaml
12patch:
13  # 仅使用「雾凇拼音」的默认配置,配置此行即可
14  __include: rime_ice_suggestion:/
15➜  rime cat rime_ice.custom.yaml
16# rime_ice.custom.yaml
17patch:
18  # 显式定义 menu,覆盖 default.yaml 的继承值
19  menu:
20    page_size: 10
21
22  # 添加你的词典
23  import_tables/@next: cn_dicts/dota2
24➜  rime head -n 20 cn_dicts/dota2.dict.yaml
25# Rime dictionary
26# encoding: utf-8
27#
28# Sogou Pinyin Dict - 搜狗细胞词库
29#
30#   https://pinyin.sogou.com/dict/
31#
32# 包括:
33#
34# * dota2
35#
36
37---
38name: dota2
39version: "1.0"
40sort: by_weight
41use_preset_vocabulary: true
42import_tables:
43  - rime_ice        # ← 如果你用的是霧凇拼音,就寫 rime_ice;若用朙月拼音則寫 luna_pinyin

这里必须说明下,fctix5-rime 读取的是 ~/.local/share/fcitx5/rime 下的配置,放入 ~/.config/fcitx5/rime 不会起作用。

有点不符合规范,为此折腾测试很久,最后认输。theme 放在 ~/.local/share/fcitx5/themes 还能理解。

导致的结果是不好放入 github 的 dotfiles 仓库管理。

3. 词库操作

搜索dota2词库,搜索引擎会指向搜狗拼音的词库,下载下来后,是个.scel 文件。

1➜  scel git:(master) file dota2.scel
2dota2.scel: data

用这个工具 https://github.com/lewangdev/scel2txt 转换词库,当然也有别的词库转换工具,这个够用。

将从搜狗官方词库网站下载的 *.scel 文件放入 scel 文件夹,然后运行

目标文件就会在 out 目录中生成,再把文件复制到 ~/.local/share/fcitx5/rime/cn_dicts

参考下面的示例,字典文件的头部要改动下,因为现在用的 rime_ice

 1➜  rime pwd
 2/home/mephisto/.local/share/fcitx5/rime
 3➜  rime ls
 4build/  cn_dicts/  default.custom.yaml  installation.yaml  luna_pinyin.userdb/  rime_ice.custom.yaml  rime_ice.userdb/  sync/  user.yaml
 5➜  rime head -n 25 cn_dicts/dota2.dict.yaml
 6# Rime dictionary
 7# encoding: utf-8
 8#
 9# Sogou Pinyin Dict - 搜狗细胞词库
10#
11#   https://pinyin.sogou.com/dict/
12#
13# 包括:
14#
15# * dota2
16#
17
18---
19name: dota2
20version: "1.0"
21sort: by_weight
22use_preset_vocabulary: true
23import_tables:
24  - rime_ice        # ← 如果你用的是霧凇拼音,就寫 rime_ice;若用朙月拼音則寫 luna_pinyin
25...
26
27艾欧	ai ou
28矮人直升机	ai ren zhi sheng ji
29矮子	ai zi
30暗夜魔王	an ye mo wang

4. 重启验证

命令行重启:fcitx5 -rd,让配置生效。

有图有真相,输入 hycms 能打出幻影长矛手,另外,下图所示标号为 0 的候选词,能看出支持 emoji

rime-dota2-dict-emoji

导入其它词库原理相通,先下载词库,转为 rime 要求的格式,最后修改配置重启。