Re: im-config | Use im-config on Wayland without uninstalling IBus (!5)
On 2020-07-14 09:36, Changwoo Ryu wrote:
2020년 7월 14일 (화) 오후 1:34, Osamu Aoki <osamu@debian.org>님이 작성:
Changwoo: As for stable update, have you consider to use
IM_CONFIG_PREFERRED_RULE in /etc/default/im-config. Maybe, this
is less aggressive than changing "auto" behavior. I can't locate
your previous massage explaining with patch. Can you tell me your
last patch proposal again.
Yes, it seems to be better. But /etc/default/im-config needs to be
improved first.
Let's not this style issue block a soon update.
In devel branch, IM_CONFIG_PREFERRED_RULE works only in non-GNOME
environments.
Given the current coding style, I suppose the change in the attached
diff could work.
--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj
--- a/default/im-config
+++ b/default/im-config
@@ -22,6 +22,8 @@ set_default_dynamically () {
# Set locale dependent preferred IM over standard auto mode
if [ "$desktop" != 'GNOME' ]; then
IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx"
+ elif [ "$XDG_SESSION_TYPE" = 'wayland' ]; then
+ IM_CONFIG_PREFERRED_RULE="ko_KR,ibus"
fi
}
Reply to: