Linux Input Methods
Input methods enable multilingual inputs, including CJK (Chinese, Japanese, and Korean).
Fcitx5¶
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.
Install¶
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
Setup¶
Add the following lines to ~/.xprofile
or ~/.profile
if fcitx
does not load on startup.
/etc/profile
export INPUT_METHOD=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=\@im=fcitx5
Ibus¶
ibus is an input method framework using DBUS. ibus
integrates better with the GNOME desktop environment.
Install¶
command -v apt && sudo apt install ibus ibus-chewing
command -v pacman && sudo pacman -S ibus ibus-chewing
Setup¶
Add these lines to ~/.xprofile
or ~/.profile
if ibus
does not load on startup.
.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=\@im=ibus
ibus-daemon -drx