Accepting request 245782 from home:fcrozat:branches:M17N
- Update ibus xim script to properly detect GNOME 3.12+ and to use ibus default configuration on first startup of GNOME (bnc#862589 internal), with help from Takashi Iwai. OBS-URL: https://build.opensuse.org/request/show/245782 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=121
This commit is contained in:
parent
c274e3280d
commit
80342270e0
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 22 12:49:54 UTC 2014 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Update ibus xim script to properly detect GNOME 3.12+ and to use
|
||||||
|
ibus default configuration on first startup of GNOME (bnc#862589
|
||||||
|
internal), with help from Takashi Iwai.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 11 15:03:41 CEST 2014 - fcrozat@suse.com
|
Mon Aug 11 15:03:41 CEST 2014 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -31,7 +31,19 @@ __END
|
|||||||
# GNOME 3 Settings Daemon keyboard plugin manages all ibus settings itself,
|
# GNOME 3 Settings Daemon keyboard plugin manages all ibus settings itself,
|
||||||
# so don't do manual setup&startup of ibus otherwise it would conflict with
|
# so don't do manual setup&startup of ibus otherwise it would conflict with
|
||||||
# G-S-D. see bnc#873016.
|
# G-S-D. see bnc#873016.
|
||||||
*gnome-session*)
|
*gnome*)
|
||||||
|
SOURCES=$(gsettings get org.freedesktop.ibus.general preload-engines)
|
||||||
|
if [ "$SOURCES" == '@as []' ]; then
|
||||||
|
echo "initial GNOME startup, ibus default configuration applied"
|
||||||
|
ibus-daemon -d
|
||||||
|
timer=5
|
||||||
|
while [ "$SOURCES" == '@as []' ] && [ ${timer} -gt 0 ]; do
|
||||||
|
sleep 1
|
||||||
|
timer=$[${timer}-1]
|
||||||
|
SOURCES=$(gsettings get org.freedesktop.ibus.general preload-engines)
|
||||||
|
done
|
||||||
|
ibus exit
|
||||||
|
fi
|
||||||
# make sure G-S-D keyboard plugin is active
|
# make sure G-S-D keyboard plugin is active
|
||||||
echo "ibus will be managed by GNOME."
|
echo "ibus will be managed by GNOME."
|
||||||
gsettings set org.gnome.settings-daemon.plugins.keyboard active true
|
gsettings set org.gnome.settings-daemon.plugins.keyboard active true
|
||||||
|
Loading…
Reference in New Issue
Block a user