2008/8/28 Lisi Reisz <[EMAIL PROTECTED]>

> On Wednesday 27 August 2008 21:46:39 H.S. wrote:
> > Lisi Reisz wrote:
> > > But I'm immediately stuck again.  I am following (or rather, trying to
> > > follow) the instruction:
> > >
> > > mkdir ~/.xinput.d
> > > cp /etc/X11/xinit/xinput.d/scim-pinyin ~/.xinput.d/default
> > >
> > > Pinyin obviously needs appropriately changing, but the contents of the
> > > xinit.d directory are:
> > >
> > > [EMAIL PROTECTED]:/etc/X11/xinit/xinput.d$ ls
> > > all_ALL  default-xim  ko_KR  scim         scim-immodule  th_TH   zh_CN
> > > zh_SG default  ja_JP        none   scim-bridge  skim           th-xim
> > > zh_HK  zh_TW
> > >
> > > Several are obviously wrong (e.g. th_TH, which is Thai), but it is less
> > > obvious which I must copy.  ja_JP is obviously Japanese, but is of the
> > > wrong format.  scim-immodule _could_ be right I suppose, but again
> > > doesn't seem to be the same thing.
> > >
> > > I'm sorry, you are having to limp me through. :-(
> > >
> > > Lisi
> >
> > Let me jump in to the thread :)
>
> :-)
>
> > I think I replied once in the past to you and had assumed the problem
> > had gone way.
>
> I wish it had. :-(  I just gave up pestering you lot.  But it is now urgent
> and I have got to get there.
>
> > Anyhow, I am using KDE in Debian. However, I don't think
> > the steps should be any different than in Ubuntu.
>
> I use Lenny with KDE myself, but this is on my granddaughter's laptop.
>
> > I am not clear why you are copying these files from xinput.d to your
> > home directory.
>
> Henri refered me to http://tinyurl.com/yvnrqh and I have been trying to
> follow
> the instructions in order.  The next one is what I have reproduced above:
>
> For users utilizing different default and input languages (e.g. Chinese
> input
> for an English Desktop). Open up Konsole and type:
> mkdir ~/.xinput.d
> cp /etc/X11/xinit/xinput.d/scim-pinyin ~/.xinput.d/default
>
> > What happens if you just do the the following changes in
> > /etc/X11/xinit/xinput.d/scim:
> > #GTK_IM_MODULE=xim
> > GTK_IM_MODULE="scim"
> > #QT_IM_MODULE=xim
> > QT_IM_MODULE="scim"
>
> Done.  And system restarted.
>
> > and list your locales in $HOME/.scim/global, in my case I have:
> > /DefaultKeyboardLayout = kconfig
> > /DisabledIMEngineFactories =
> > /SupportedUnicodeLocales = en_CA.utf8,pa_IN.utf8,hi_IN.utf8,en_US.UTF-8
>
> I can't find $HOME/.scim/global, nor indeed any .scim/.
>
> > In the last line you want your locale listed (what is the output of
> > "locale" command in a terminal in your case?).
>
> LANG=en_GB.UTF-8
> LANGUAGE=en_GB:en
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
>
> Ought I not to have a Japanese locale in there as well?
>
> Do you think I might do better to try to finish the reference I had already
> started and then try this different tack if that doesn't work?  Henri says
> that the equivalent Ubuntu instructions worked beautifully, and the main
> problem here is likely to be my own lack of knowledge of Japanese and lack
> of
> experience in Kubuntu.
>
> Thanks for the help.  One way or another I have got to get there, and fast.
>  I
> just hope that I don't drive you all crazy in the process.
> Lisi


Lisi, your en-GB locale is quite sufficient ; you don't need a Japanese
locale. What you do need to do is thye the following commands into a
terminal :

im-switch -z en_GB.UTF-8 -s scim

im-switch -z en_GB.UTF-8 -s scim-bridge

Try this and see if you don't get a SCIM icon on your terminal (in the Gnome
GUI, it looks like a keyboard by default and is placed in the upper right
corner near the clock). Let us know if this works. If so, we can proceed to
configuring SCIM....

As I said earlier, 頑張って !

Henri

Reply via email to