Mailing List Archive

Support open source code!


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

Re: kinput and kterm



Martin Baehr <mbaehr@example.com> writes:

> On Mon, Oct 22, 2001 at 02:12:39PM +0200, Tobias Diedrich wrote:
> > > $ Warning: locale not supported by C library, locale unchanged
> > > Couldn't set locale: ja_JP.eucJP,ja_JP.ujis,ja_JP.EUC,japanese.euc,Japanese-EUC,ja,japan
> > You have to edit your /etc/locale.gen to include a japanese locale.
> 
> ahh, i set these:
> 
> > |en_US ISO-8859-1
> > |en_US.UTF-8 UTF-8
> > |ja_JP.EUC-JP EUC-JP
> > |ja_JP EUC-JP
> > |ja_JP.UTF-8 UTF-8
> 
> kinput still doesn't work, but the errormessage is gone,

You wrote in another mail:

MB> no success :-(
MB> btw. kterm gives me the following everytime i start it:
MB> $ kterm -xim&
MB> [4] 2701
MB> $ Warning: locale not supported by C library, locale unchanged
MB> Couldn't set locale: ja_JP.eucJP,ja_JP.ujis,ja_JP.EUC,japanese.euc,Japanese-EUC,ja,japan

None of the locales you did set in /etc/locale.gen is on the list of
locales which kterm tries. Put ja_JP.eucJP as well in /etc/locale.gen.
I think you don't need ja_JP.EUC-JP, that is an obsolete spelling
variant.

> and kterms menues are now in japanese 
> (not sure i want that, as i can't actually read it ;-)

There are 2 app-defaults files for kterm:

    /usr/X11R6/lib/X11/app-defaults/KTerm
    /usr/X11R6/lib/X11/ja/app-defaults/KTerm

Japanese menus are coming from the KTerm app-defaults file in the 'ja'
directory. Make a copy of the English version to you home directory:

    ~$ cp /usr/X11R6/lib/X11/app-defaults/KTerm ~/.KTerm

and add the following line to you ~/.Xresources:

    #include ".KTerm"

Or, if you want to change it globally, you may remove the global
Japanese app-defaults file.

-- 
Mike Fabian   <mfabian@example.com>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links