Description of problem: If I start up x in Japanese, I can input Japanese with xterm, vim in xterm, emacs, etc. but can not enter in gnome-terminal, gvim, etc, Nor mozilla or firefly. Version-Rvte-0.11.10-5.1 Canna-3.7p1-5 kinput2-canna-wnn6-v3.1-16 gnome-terminal-2.5.90-1.1 elease number of selected component (if applicable): How reproducible: very
oh, and reproduction: 1. log in under japanese 2. start xterm and gnome-terminal 3. hit shift-space then A in each What happens: xterm produces hiragana for 'a" (as a square, but that's a font hing). gnome-terminal produces a space, then a A, refusing to enter the japanese mode. What should happen: Both to produce hiragana.
Which version of xinitrc did you install on your machine? Please make sure if your environment variable is set correctly. $ echo $XMODIFIERS XMODIFIERS=@im=kinput2 $ echo $GTK_IM_MODULE $ ps auxw | grep kinput2 ...
$ echo $XMODIFIERS @im=kinput2 $ echo $GTK_IM_MODULE $ ps auxw | grep kinput2 mouse 4879 0.0 0.2 5820 2324 ? S Mar28 0:00 kinput2 -canna +kinput -xim $ rpm -q xinitrc xinitrc-3.37-1 Note: I fixed xinitrc's bug #119284 on this version... I'll try again in 3.38 in a minute
xinitrc-3.38-1 fails as well.
According to your report, it should works. and I can't reproduce your problem with your step. kinput2 seems to be running correctly and the GNOME applications should be running with proper XMODIFIERS. your locale should be no problem because you can use kinput2 on non-GNOME applications. Though GTK_IM_MODULE seems to not set, but please make sure your GNOME applications choose XIM-- on gnome-terminal say, Input Methods->X Input Method from the popup menu which is realized by the right click. Otherwise probably you should get any error messages in ~/.xsession-errors.
I *only* have default listed under input methods... No errors in ~/.xsession-errors
It looks like you failed the installation of the gtk2 package... Please make sure: - what version of gtk2 are you using? -- rpm -q gtk2 - whether you have the immodules installed? -- ls /usr/lib/gtk-2.0/*/immodules/ - whether such immodules are registered to /etc/gtk-2.0/gtk.immodules properly
rpm -q gtk2 gtk2-2.4.0-1 (rpm verifies this package ok) that ls has a bunch of stuff... /etc/gtk-2.0/gtk.immodules is empty... Hrms... that doesn't match my FC1 box...
Ok. so, I manualy added xim to gtk.immodules, and things worked fine... so it's not being generated (BTW, by empty I do mean 0 byte). What generates that file? I'll take a look and see if I can find a reason it wasn't...
I'm not sure what happened there, and gtk2's scriptlet should generates it properly: $ rpm -q --scripts gtk2 postinstall scriptlet (using /bin/sh): /sbin/ldconfig umask 022 /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules /usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders So now you can generate it manually as well, and closing this then.
At least it'll be googleable now :) Thanks!
Is this bug still applicable to FC1 test 1? If its for later versions, please update.