LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Japanese Input System does not work (https://www.linuxquestions.org/questions/linux-newbie-8/japanese-input-system-does-not-work-364459/)

polemon 09-18-2005 06:38 AM

Japanese Input System does not work
 
Hi, i need to use the Japanese Input system under FC4 but it just refuses to work.
I successfully installed Kinput2, Canna, and even Im-ja.
Everything seem to work, no errors, configuration can be done without problems.
I even placed the Im-Ja applet on my panel, the GNOME keyboard indicator and
the KDE keyboard tool.
The problem is, i can't switch to the japanese conversion systemnot with the applet on the panel and not by the Key kombination Shift+Space.
I ran the im-ja-conf so it knows it is needed.
it just won't work.
when i try to change they keaboard layout in the Keyboard preference in GNOME, i get this error:

Code:

Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
60802000

If you report this situation as a bug, please include:
- The result of <b>xprop -root | grep XKB</b>
- The result of <b>gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd</b>

xprop -root | grep XKB yields:
Code:

_XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "de", "", ""
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "jp", "", ""

and gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd yields:
Code:

layouts = [de]
 model = pc105
 overrideSettings = false
 options = []

The KDE Program and the GNOME program seem to correlate, where the KDE Layout switcher is in charge. i can switch between the german and Japanese input. when i switch to japanese, is till can't enter any Kanam but the basic layout changes to QWERTY.
Then i need to change layout in the GNOME tool to " " (it's just a blank space), THEN i can directly input some Katakana.

I read somewher in the forums, that i need to change my LC_CTYPE variable to ja_JP.UTF-8.
Somtimes it's LC_ALL they wrote.
I declared both (they were undefined before). but nothing has changed.

please help if you can, I'm totally confused by now

foo_bar_foo 09-18-2005 11:00 PM

just sugestions even though i know very little about this
add
export LANG=ja_JP
export LC_CTYPE=ja_JP
to .bash_profile in your home directory
or startx with
LANG=ja_JP LC_CTYPE=ja_JP startx
or
export LANG=ja_JP
export LC_CTYPE=ja_JP
startx
you also have to make sure the canna server is starting at boot or start it manually
look in top or kde system guard and see if canna is running

polemon 09-19-2005 09:55 AM

THAN YOU!!!
it was the LC_CTYPE variable that needs to be in .bash_profile!

I can enter Kana without any problems now, I'll try to fix the conversion issue now.

However, The Problem that pops up everytime i log in, or change keyboard settings, is not gone (I persume it has a different cause than Japanese Input).

Thanks again,

--polemon


All times are GMT -5. The time now is 06:47 AM.