Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167598 - app-i18n/uim and gtk.immodules; changing default im behavior
Summary: app-i18n/uim and gtk.immodules; changing default im behavior
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 10:11 UTC by srrijkers
Modified: 2018-05-27 01:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for changing uim behavior (uim-1.4.0-immodules.patch,303 bytes, patch)
2007-02-19 10:12 UTC, srrijkers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description srrijkers 2007-02-19 10:11:21 UTC
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?
Comment 1 srrijkers 2007-02-19 10:12:18 UTC
Created attachment 110613 [details, diff]
patch for changing uim behavior
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2007-07-07 03:35:46 UTC
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.
Comment 3 Akinori Hattori gentoo-dev 2018-05-27 01:59:21 UTC
iBus is also implemented in the same way.