Re: [gtk-list] kanji-Input



Hello,

In article <000203102632BE.23204@weba8.iname.net>
gernot.jander@lycosmail.com writes:

>I need Japanese input in GTK text and entry widgets,
>e.g. kinput2. Is there any connection module known?

Gtk+ has support for XIM protocol. Most input method servers (including
kinput2) support XIM.

>In an article to GTK I found a notice, that it is
>possible, but in the documentation I found nothing.

Please try the following:
(1) Make sure your libc has support for the locale you need (probably
ja_JP.ujis or ja_JP.eucJP)
(2) Start kana-kanji convertion server (jserver, cannaserver etc.)
(3) Start X
(4) Set environment variables (LANG=ja_JP.eucJP for example)
(5) Start input method server (kinput2 etc.)
(6) Start your gtk+ app. Some app may not work with XIM, but the testgtk
program in the source tree should work with XIM at least.
(7) On an entry (or text) widget, type the "activate input method"
key. If you don't know which key is bound to "activate im", try
control+space, shift+space, control+o, etc.

--------------------------------------
Akira Higuchi
Dept. of Mathematics, Hokkaido Univ.
Sapporo, Japan
a-higuti@math.sci.hokudai.ac.jp
a@kondara.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]