diff --git a/fcitx.changes b/fcitx.changes index 316cc3b..e266214 100644 --- a/fcitx.changes +++ b/fcitx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 7 05:09:51 UTC 2013 - swyear@gmail.com + +- workaround bnc#853063: gnome-settings-daemon reset XMODIFIERS and + QT_IM_MODULE problem + ------------------------------------------------------------------- Sat Dec 7 04:23:04 UTC 2013 - swyear@gmail.com diff --git a/xim.d-fcitx b/xim.d-fcitx index b384556..73e56ee 100644 --- a/xim.d-fcitx +++ b/xim.d-fcitx @@ -18,5 +18,17 @@ fi fcitx -d +#workaround for bnc#853063 +case "$WINDOWMANAGER" in + /usr/bin/gnome-session) + #force disable keyboard plugins in gnome-settings-daemon + gsettings set org.gnome.settings-daemon.plugins.keyboard active false + echo "NOTE: keyboard plugin had been disabled" + ;; + *) + #do nothing + ;; +esac + # success: return 0