From 13b3c4c64b0b6ae463a8ce1dedac374777f31f5696a7caf8a9b4bb029303c047 Mon Sep 17 00:00:00 2001 From: Ray chen Date: Mon, 9 Dec 2013 09:24:04 +0000 Subject: [PATCH] Accepting request 209734 from home:swyear:branches:M17N - workaround bnc#853063: gnome-settings-daemon reset XMODIFIERS and QT_IM_MODULE problem OBS-URL: https://build.opensuse.org/request/show/209734 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=81 --- fcitx.changes | 6 ++++++ xim.d-fcitx | 12 ++++++++++++ 2 files changed, 18 insertions(+) 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