Add support for ibus

This commit is contained in:
Salt 2020-06-23 04:19:49 -05:00
parent a9e587b33a
commit b054d1d1ca

View File

@ -173,11 +173,15 @@ step_preexecute() {
dbus-update-activation-environment --verbose --systemd --all >/dev/null 2>&1
fi
unset hasdbus
# uim settings
# IME settings
if has uim; then
export GTK_IM_MODULE='uim'
export QT_IM_MODULE='uim'
export XMODIFIERS='@im=uim'
elif has ibus; then
export GTK_IM_MODULE='ibus'
export QT_IM_MODULE='ibus'
export XMODIFIERS='@im=ibus'
fi
# kcminit/Qt settings
if has qt5ct; then