Uim's elog message hints at setting some environment variables to activate it as an im for gtk apps. However, currently uim registers itself as the default gtk-im whether these variables are set or not, by putting "ja:ko:zh:*" into /etc/gtk-2.0/gtk.immodules. This behavior might be desirable for some, however, it can also be highly annoying for people administering multi-user systems on which only a few users need uim. For, afaik, the only ways of overriding uim's behavior aside from editing its source, are: - editing /etc/gtk-2.0/gtk.immodules by hand; this is rather tiresome, as it gets regenerated on every gtk update - placing a file in every user's $HOME; this seems to be the wrong way around for a situation in which only a few people use uim I therefore suggest including the attached patch, which makes uim behave more like app-i18n/scim in this regard by setting the locales in gtk.immodules to "". Could this patch perhaps be activated through the setting of a USE-flag?
Created attachment 110613 [details, diff] patch for changing uim behavior
I think that its little effect to other users even if uim is the default input method because the default input mode is 'direct'. its same as no ims.
iBus is also implemented in the same way.