Hi Wenzhuo Zhang, Thanks for reporting.
On Thu, Jun 09, 2005 at 11:59:25PM +0800, Wenzhuo Zhang wrote: > Steps to reproduce the problem: > 1. Fresh install from netinst CD 3.1r0a, install Desktop environment > task. > > 2. Install the Simplified Chinese desktop task and the Simplified > Chinese environment task using aptitude. > > 3. Regenerate relevant locales by typing "dpkg-reconfigure locales". > > 4. Enter Gnome after choosing language. Check if scim works by pressing > Ctrl-Space. > > Result: Scim works in Gnome under en_US or C locale: Press Ctrl-Space, > and scim panel appears and Chinese input works. But scim does not get > loaded automatically under zh_CN locale: no running scim processes at > all. I can reproduce this, however it's not a bug in scim per se, but rather the expected behaviour with no special settings for scim. When you say that scim works in C locale, did you ever really try to use it to input Chinese (instead of, say, just press Ctrl-space and see the panel). On most applications input method won't work in C locale, the only exception I know is gedit. The reason for such behaviour is that with C or en_US locale, the GTK IM module will be "scim" since you have scim-gtk2-immodule installed. In such case scim will be automatically started in GTK2 applications, therefore you can see the scim panel when pressing Ctrl-space. However in a zh_CN locale, the GTK IM module will be "xim". In such case you can still use scim, but it won't be automatically started. To use scim with XIM, you need to set XMODIFIERS environment variable, and start up scim manually (or in some startup scripts, ~/.gnomerc for example). All these configuration details are well written in /usr/share/doc/scim/README.Debian.gz. Please read that document carefully. If you still have questions, please follow up this bug. > I first noticed this problem when upgrading one machine from woody to > sarge, and reproduced it in another machine using the above fresh > installation procedure. I don't really understand this, since scim and related package are not in woody at all. How can you have this problem when upgrading from woody to sarge? Maybe scim is pulled in by Chinese localization task? Ming 2005.06.10 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]