Bug#878411: gnome-session-bin doesn't set environmental variable of GTK_IM_MODULE

Takahide Nojima nozzy123nozzy at gmail.com
Fri Oct 27 12:13:10 UTC 2017


> It's unclear from your bug report whether this was working before for
> you ("I can not anymore Japanes language anymore").
> Are you saying that with older gnome-session-bin versions it worked?
> 

 No. 

  I'm saying With current GNOME Desktop, wayland(currently default in
Debian sid) and current and older gnome-session-bin , it doesn't work. 

 After  checking source code of gnome-session-bin, I found it set
QT_IM_MODULE and XMODIFIERS env variable correctly , but it doesn't set
GTK_IM_MODULE (I don't know why). So I supporsed that patch.

 Recently GNOME Desktop, wayland in debian sid doesn't seems to execute
any scripts under /etc/Xsession.d/. Then, there isn't any chance to set
GTK_IM_MODULE env variable when gnome-shell is invoked. This cause 
gnome-shell menu invokes gtk applications without  GTK_IM_MODULE env
variable, they won't communicate to ibus.
(This cause "I can not type Japanese language anymore")

 I guess , refer to main.c of gnome-session-bin, the best place of
setting GTK_IM_MODULE env variable is in gnome-session-bin.

 Would you accept that patch as a temporary resolution?

Takahide Nojima




 



More information about the pkg-gnome-maintainers mailing list