Hello community, here is the log from the commit of package x11-tools for openSUSE:Factory checked in at 2013-12-11 16:55:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/x11-tools (Old) and /work/SRC/openSUSE:Factory/.x11-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "x11-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/x11-tools/x11-tools.changes 2013-10-23 10:15:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.x11-tools.new/x11-tools.changes 2013-12-11 16:55:08.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Dec 9 15:04:22 UTC 2013 - [email protected] + +- modify xim to avoid gnome-settings-daemon reset XMODIFIERS and + QT_IM_MODULE (bnc#853063) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xim ++++++ --- /var/tmp/diff_new_pack.vCbXEG/_old 2013-12-11 16:55:09.000000000 +0100 +++ /var/tmp/diff_new_pack.vCbXEG/_new 2013-12-11 16:55:09.000000000 +0100 @@ -88,6 +88,24 @@ esac } +# workaround for bnc#853063 +# activate/deactivate g-s-d keyboard plugin depending on IM +gnome_ibus_workaround () { + local im=$1 + im=${im##*/} + im=${im#[0-9][0-9]-} + test "$im" = "none" && return + if [ "${WINDOWMANAGER##*/}" = "gnome-session" ]; then + local active + if [ "$im" = "ibus" ]; then + active=true + else + active=false + fi + gsettings set org.gnome.settings-daemon.plugins.keyboard active $active + fi +} + # if gdm passes the language to Xsession, we should not override this # see http://bugzilla.novell.com/show_bug.cgi?id=440371 # The test for $GDM_LANG needs to be changed slightly as soon as other @@ -117,6 +135,7 @@ source /etc/X11/xim.d/$INPUT_METHOD if [ "$?" == "0" ]; then echo "Start of $INPUT_METHOD succeeded." + gnome_ibus_workaround $INPUT_METHOD return 0; else echo "Start of $INPUT_METHOD failed." @@ -151,6 +170,7 @@ source $im if [ "$?" == "0" ]; then echo "$im started sucessfully" + gnome_ibus_workaround $im return 0 else echo "$im failed" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
