Package: gnome-session-bin
Version: 3.26.1-1
Severity: serious
Tags: patch

 I updated gnome desktop from debian sid. However, I found I can not
type Japanese language anymore.

 I finally found gnome-session-bin correctly set an envirionmental
variable of QT_IM_MODULE, but it doesn't set GTK_IM_MODULE , and this
cause gtk can't talk to ibus.

 So I worte a patch for temporary fix this problem, and attach the
patch. It works fine in my debian box.

 How about this patch?

 Thank you in advance,
Takahide Nojima

 
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -403,6 +403,10 @@
                         if (!p || !*p)
                                 p = "@im=ibus";
                         gsm_util_setenv ("XMODIFIERS", p);
+                        p = g_getenv ("GTK_IM_MODULE");
+                        if (!p || !*p)
+                                p = "ibus";
+                        gsm_util_setenv ("GTK_IM_MODULE", p);
                 }
 
                 g_free (ibus_path);

Reply via email to