fcitx5-diagnose
~/.xinitrc
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
kanji may be shown in simplified chinese form. In order to change that and default to japanese kanji, you have to follow the instruction below: Tools -> Options -> Language -> Tick 'Asian' box and select Japanese from pull down menu.
fcitx5-configtool
Some fcitx5 settings can be accessed in plain text format in
~/.config/fcitx5/config
How amazing is that