Fcitx输入法

sudo pkg install fcitx5-qt
desktop2app /usr/local/share/applications/fcitx5-configtool.desktop /Applications/Preferences
  • Now you can run System -> Applications -> Preferences -> Fcitx 5 Configuration
  • In the search box, search for "Chinese"
  • Double click on the one you want. It should appear on the left
  • On the left, select the one you want and press the "up" button so that it appears as the first in the list

I don't know what needs to be done then. Maybe you can test it.

The documentation also says:

Remember to set the environment variable XMODIFIERS:

        csh/tcsh:       setenv XMODIFIERS @im=fcitx
        sh/bash:        export XMODIFIERS='@im=fcitx'

For GTK+ programs, you may want to set:

        csh/tcsh:       setenv GTK_IM_MODULE fcitx/xim
        sh/bash:        export GTK_IM_MODULE=fcitx/xim

For Qt programs, you may want to set:

        csh/tcsh:       setenv QT_IM_MODULE fcitx
        sh/bash:        export QT_IM_MODULE=fcitx

分类: 默认 标签: 发布于: 2021-10-19 08:21:26, 更新于: 2021-10-19 08:21:26