Chinese input method in Gentoo OS

ibus

Posted by JXLIU on November 5, 2022

Compile ibus and dependencies

1
root #emerge --ask app-i18n/ibus ibus-libpinyin

Add use flag to /etc/portage/package.use/ibus

1
2
dev-qt/qtgui ibus
kde-plasma/plasma-desktop ibus
1
root #emerge --ask --oneshot --newuse dev-qt/qtgui kde-plasma/plasma-desktop

Uninstall fcitx-xxx software

Add environments and reboot

Add to /etc/environment

1
2
3
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus

Using command ibus-setup to start ibus daemon