openfly
openfly copied to clipboard
Linux 系统上的一些问题
我在尝试将此输入配方打包至 AUR rime-openfly。
遇到以下问题:
- 在 Linux 上无法使用两次输入分号来输入分号,需要将词库中分号的编码进行修改。
- 默认的用户置顶词库中的空格应该为制表符。
- 存在 Linux 平台无法使用的 Lua 脚本,配置项中需要手动移除,否则会刷错误日志。
对本仓库的修改如下:
diff --git a/openfly.fast.symbols.dict.yaml b/openfly.fast.symbols.dict.yaml
index 20430af..1609d6f 100644
--- a/openfly.fast.symbols.dict.yaml
+++ b/openfly.fast.symbols.dict.yaml
@@ -15,7 +15,7 @@ sort: by_weight
use_preset_vocabulary: false
...
: ;
-; ;
+; ;;
! ;a
》 ;b
” ;c
diff --git a/openfly.schema.yaml b/openfly.schema.yaml
index c422969..f27c512 100644
--- a/openfly.schema.yaml
+++ b/openfly.schema.yaml
@@ -27,7 +27,7 @@ switches:
engine:
processors:
- - lua_processor@openfly_shortcut_processor
+ # - lua_processor@openfly_shortcut_processor
- ascii_composer
- recognizer
- key_binder
@@ -47,7 +47,7 @@ engine:
- table_translator
- lua_translator@openfly_date_translator
- lua_translator@openfly_time_translator
- - lua_translator@openfly_shortcut_translator
+ # - lua_translator@openfly_shortcut_translator
- reverse_lookup_translator
- history_translator@history
filters:
diff --git a/openfly.user.top.dict.yaml b/openfly.user.top.dict.yaml
index 8677772..88a75ea 100644
--- a/openfly.user.top.dict.yaml
+++ b/openfly.user.top.dict.yaml
@@ -9,4 +9,4 @@ version: "v9.9m"
sort: by_weight
use_preset_vocabulary: false
...
-微博 wb
+微博 wb
感谢测试,关于这几个修改,由于我没有 linux 的机器,无法全部测试
- 分号无法输入的问题,在 Windows 和 Mac 上无此问题,或许是 rime 的 linux 前端的问题,可能需要再测试并给对应的仓库提交 issue
- openfly_shortcut_processor 和 openfly_shortcut_translator 无法使用的问题,请问除了直接禁用,能否尝试在脚本里直接修复 bug 并提交 pull request?
- openfly.user.top.dict.yaml 错误地使用空格的问题,已在 9719529 中修复。
谢谢
打开二重简码后可以正常输入分号。https://github.com/amorphobia/openfly/discussions/41#discussioncomment-557694
但似乎没有分号次选的功能……
打开二重简码后可以正常输入分号。#41 (comment)
但似乎没有分号次选的功能……
抱歉最近比较忙。
我没有 Linux 系统,不知道如何复现这个问题,你是否能定位到问题所在的 lua 代码呢?