Input methods enable multilingual inputs, including CJK (Chinese, Japanese, and Korean).
Fcitx is a lightweight input method framework that provides environment-independent language support for Linux. The development energy mainly focuses on the release of the new version 5.
command -v apt && sudo apt install fcitx5 fcitx5-chewing fcitx5-material-color
command -v pacman && sudo pacman -S fcitx5-im fcitx5-chewing fcitx5-material-color
Add the following lines to ~/.xprofile or ~/.profile if fcitx does not load on startup.
/etc/profileexport INPUT_METHOD=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=\@im=fcitx5
 
ibus is an input method framework using DBUS. ibus integrates better with the GNOME desktop environment.
command -v apt && sudo apt install ibus ibus-chewing
command -v pacman && sudo pacman -S ibus ibus-chewing
Add these lines to ~/.xprofile or ~/.profile if ibus does not load on startup.
.xprofileexport GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=\@im=ibus
ibus-daemon -drx