在使用Manjaro时候,安装了fcitx-rime的,可是打出来的都是繁体字,虽然快捷键F4可以切换,但是每次启动要手动切换很麻烦。
搜索找到教程:
配置文件路径 ~/.config/ibus/rime/build/luna_pinyin.schema.yaml
找到:
switches: - name: ascii_mode reset: 0 states: ["中文", "西文"] - name: full_shape states: ["半角", "全角"] - name: simplification states: ["漢字", "汉字"] - name: ascii_punct states: ["。,", ".,"]
在simplification的地方添加一个reset,指定重置成简体中文,改成这样:
switches: - name: ascii_mode reset: 0 states: ["中文", "西文"] - name: full_shape states: ["半角", "全角"] - name: simplification reset: 1 states: ["漢字", "汉字"] - name: ascii_punct states: ["。,", ".,"]