summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-settings-daemon/gnome-settings-daemon-localeexec.in')
-rwxr-xr-xgnome-settings-daemon/gnome-settings-daemon-localeexec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnome-settings-daemon/gnome-settings-daemon-localeexec.in b/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
index eed91a4f..1edb3d20 100755
--- a/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
+++ b/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
@@ -13,8 +13,8 @@ if [ -n "$REGION" ]; then
fi
if [ -x @prefix@/bin/ibus-daemon ]; then
- export QT_IM_MODULE=ibus
- export XMODIFIERS=@im=ibus
+ test -z "$QT_IM_MODULE" && export QT_IM_MODULE=ibus
+ test -z "$XMODIFIERS" && export XMODIFIERS=@im=ibus
fi
exec @libexecdir@/gnome-settings-daemon