Peter Evans
See the file ~/.xim. Also XMODIFIERS will be set correctly automatically then.
I opened it and skimread it. (Gosh, I can actually understand some of it.) Toward the end, it now says:
export XMODIFIERS="@im=kinput2" LANG=ja_JP LC_ALL=ja_JP kinput2 -xim -kinput -canna &
(unless I've made a typo there) -- I carefully deleted the "#" at the start of each line but made no other change whatever, and saved. I rebooted.
If you have the default value for LC_CTYPE already set to ja_JP or ja_JP.UTF-8, you don't need these last two lines are not necessary. The Japanese input server will automatically start when the value of LC_CTYPE starts with ja. You need these two extra lines only if you don't want to set the default vaiue of LC_CTYPE to Japanese for whatever reason and nevertheless want to start kinput2. But then you still need to set LC_CTYPE for each application where you want to input Japanese. I.e. you still need to start a program where you want to input Japanese like: LC_CTYPE=ja_JP konqueror then. Therefore it is easier to set the default value of LC_CTYPE to ja_JP or ja_JP.UTF-8, then the Japanese input will work automatically. Assuming that you didn't yet edit settings for LC_CTYPE or other locale related variables to your personal profiles, I suggest that you edit /etc/sysconfig/language and use the following values: RC_LANG="en_US.UTF-8" RC_LC_ALL="" RC_LC_MESSAGES="" RC_LC_CTYPE="ja_JP.UTF-8" RC_LC_COLLATE="" RC_LC_TIME="" RC_LC_NUMERIC="" RC_LC_MONETARY="" ROOT_USES_LANG="yes" Then run SuSEconfig and restart your X session.
Also check with qtconfig that you use "overthespot" input style as "onthespot" input style is still quite broken in Qt. See also:
http://www.suse.de/~mfabian/suse-cjk/kde-input-style.html
This should be the default already, but better make sure.
I have to admit that I haven't yet looked in qtconfig, partly because that would require another search through the indexes of my reference books, partly as I'd expect to see *something* pop up when I press Shift-Space.
If onthespot is configured, you will not get a pop up window, therefore I suggested to make sure you have selected overthespot.
Oh, sorry for another stupid, m17n-irrelevant question, but while I understand how to use "su" for temporarily giving myself root privileges, I don't understand how to reverse this.
Type "exit" or Control-d in your root shell to exit this shell and
go back to the shell of the normal user.
--
Mike Fabian