Avatar

Organizations

1 results for Rime
  • Rime/中州韵 输入法是一个跨平台的输入引擎,非常强大优秀。 它在不同的平台有不同的名字:

    • Windows: 小狼毫 Weasel
    • MacOS: 鼠鬚管 Squirrel, 小企鹅 fcitx5-macos
    • Linux: ibus-rime, fcitx5-rime

    Windows

    配置输入法

    • 输入法设定>获取更多输入方案>在打开的命令行窗口
    • 输入 “wubi_pinyin” 回车

    配置P站风格配色主题

    # weasel.custom.yaml
    patch:
      # P站风格配色主题
      "style/color_scheme": "Pornhub"  
      "preset_color_schemes/Pornhub":
        author: "周庸生"
        back_color: 0x000000
        border_color: 0x000000
        candidate_text_color: 0xffffff
        comment_text_color: 0xffffff
        hilited_back_color: 0x009bff
        hilited_candidate_back_color: 0x009bff
        hilited_candidate_text_color: 0x000000
        hilited_comment_text_color: 0x000000
        hilited_lable_color: 0x000000
        hilited_text_color: 0x000000
        label_color: 0xffffff
        name: Pornhub
        text_color: 0xffffff
    

    Debian

    安装 fcitx5

    killall ibus-daemon \
    && apt remove ibus \
    && apt update \
    && apt install -y fcitx5 fcitx5-config-qt fcitx5-chinese-addons fcitx5-rime fcitx5-material-color
    

    安装 东风破/plum/ 配置工具

    # 因为fcitx5-rime是fcitx5团队带为开发的,所以要指定第三方Rime发行版本
    # 注意:此命令会默认配置所有预设置项
    curl -fsSL https://raw.githubusercontent.com/rime/plum/master/rime-install | rime_frontend=fcitx5-rime bash
    # 后续使用
    cd ~/plum/
    rime_frontend=fcitx5-rime bash rime-install
    # 更新
    rime_frontend=fcitx5-rime bash rime-install plum
    
    # 也可以直接安装输入法,不配置预设置项
    # 这里是直接安装五笔拼音混合输入法
    curl -fsSL https://raw.githubusercontent.com/rime/plum/master/rime-install | rime_frontend=fcitx5-rime bash -s -- wubi pinyin-simp
    

    配置输入法

    # ~/.local/share/fcitx5/rime/default.custom.yaml
    patch:
      schema_list:
        - schema: wubi_pinyin # 添加五笔拼音混合输入法
      switches:
        - name: ascii_mode
          reset: 1 # 每次初始化时,强制英文模式
          states: [中文,西文]
    

    可惜Linux版本无法配置自定义样式

    Rime Created Fri, 19 Jan 2024 13:11:15 +0800