在Kali Linux下全自动安装+配置+启用 fcitx-googlepinyin输入法:sudo apt update && sudo apt install -y fcitx fcitx-config-gtk fcitx-googlepinyin fcitx-ui-classic && sudo apt purge -y ibus && (echo -e "export GTK_IM_MODULE=fcitx\nexport QT_IM_MODULE=fcitx\nexport XMODIFIERS=@im=fcitx" >> ~/.bashrc; source ~/.bashrc) && im-config -n fcitx && mkdir -p ~/.config/fcitx && echo -e "[Profile]\nEnabledIMList=fcitx-keyboard-us,googlepinyin" > ~/.config/fcitx/profile && fcitx -r && echo "安装完成!请注销或重启系统后按 Ctrl+Space 切换输入法。"
