Skip to content

busyoGG/librime-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

librime 补丁

简介

librime:

  • 修复 rime 漏字现象

fcitx5:

  • 修复英文锁定 bug 以及 Electron Wayland 无法删除第一个预编辑字母的 bug (niri环境测试)
  • 修复 xwayland hidpi 缩放问题

使用方法

rime

修复 rime 漏字

fix_input.patch

# 首次执行 克隆 librime 仓库
git clone https://github.com/rime/librime.git
cd librime

# 切换到特定提交(patch基于该提交制作
git checkout 0ecfc9c

# 首次执行 引入插件
cd plugins
git clone https://github.com/hchunhui/librime-lua
git clone https://github.com/lotem/librime-proto
git clone https://github.com/rime/librime-predict
git clone https://github.com/lotem/librime-octagram
cd ..

# 首次不执行(按需执行) 用于重置代码
git reset --hard 0ecfc9c

# 应用补丁
git apply path/to/fix_input.patch

# 编译安装
make -j$(nproc) && sudo make install

fcitx5

修复英文锁定及无法删除第一个预编辑字母

fix_waylandimserverv2_bug.patch

# 首次执行 克隆 fcitx5 仓库
git clone https://github.com/fcitx/fcitx5.git
cd fcitx5
# 应用补丁
git apply path/to/fix_waylandimserverv2_bug.patch

# 编译安装
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
sudo make install

修复 xwayland hidpi 缩放问题

fcitx5_hidpi.patch

# 首次执行 克隆 fcitx5 仓库
git clone https://github.com/fcitx/fcitx5.git
cd fcitx5
# 应用补丁
git apply path/to/fcitx5_hidpi.patch

# 编译安装
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
sudo make install

然后在 fcitx5 配置中的附加组件经典用户界面选项中找到 Enable To Use Maximum DPI Scale, Disable To Use Minimum DPI Scale on Xwayland, 勾选为使用最大 DPI 缩放,取消勾选为使用最小 DPI 缩放。单显示器使用最大 DPI 缩放,多显示器自行决定。

演示

漏字

英文锁定

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors