FCITX(1) General Commands Manual FCITX(1)

fcitx-remote - Tool for control fcitx state via console

fcitx-remote [OPTION]

inactivate input method
activate input method
reload fcitx config
switch between active/inactive
-s imname
switch to the input method uniquely identified by imname
[no option]
display fcitx state, 0 for close, 1 for inactive, 2 for active
display help and exit

fcitx will create socket at /tmp/fcitx-socket-<displayname>, so user must have permission to access /tmp folder.

Please see the homepage at https://fcitx-im.org/