Skip to content

Linux 系统上的一些问题 #43

@cubercsl

Description

@cubercsl

我在尝试将此输入配方打包至 AUR rime-openfly

遇到以下问题:

  1. 在 Linux 上无法使用两次输入分号来输入分号,需要将词库中分号的编码进行修改。
  2. 默认的用户置顶词库中的空格应该为制表符。
  3. 存在 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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions