Depending on your shell, .bashrc and .cshrc will matter. These are
called after/from (depends on OS and I can't remember between commercial
*nix  and linux atm) /etc/profile, so that should also be checked.

hth,

Steve

On Fri, 2009-10-09 at 08:15 +0900, Andrew Errington wrote:
> Hi everyone,
> 
> I am trying to figure out where my locale is set.  Here are some key points:
> 
> 1) My laptop has a fresh Mepis 8.0 install on the root partition
> 2) /home is on a separate partition
> 3) My home directory has been copied from an historical location (i.e. I
> move the whole thing to a new machine when I upgrage).  This means there
> is a lot of cruft in the .files and other places.
> 4) At some point in the past I got SCIM working for Japanese text input,
> and I seem to have set the locale to ja_JP
> 5) I can't find out how to change it back!!
> 
> I have set my language preferences in the KDE control panel, but they have
> no effect.  I have removed the LANG=ja_JP entry from .xsession, no effect.
>  I have the 'locale' command, so I can see in a terminal that I have a
> Japanese locale.  I do not have (and can't get) the 'setlocale' command.
> 
> The net result is that when X starts some of my programs appear in
> Japanese.  I need to set the locale back to en_NZ.UTF-8 or en-GB or en-US
> so that they start acting properly.  Once I have done that I can use nabi
> for Korean text entry.
> 
> A quick grep shows ja_JP is present in
> 
> .xsession (commented out)
> .cshrc
> .cshrc.language-env-bak
> .Xresources
> .Xresources.language-env-bak
> .bashrc
> .bashrc.language-env-bak
> 
> I don't know which one has the most significant effect, or if there are
> any others I should be aware of.
> 
> Hints and tips would be appreciated.
> 
> Best wishes,
> 
> Andrew
> 
-- 
Steve Holdoway <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
GPG Fingerprint = B337 828D 03E1 4F11 CB90  853C C8AB AF04 EF68 52E0

Attachment: signature.asc
Description: This is a digitally signed message part

  • Locale? Andrew Errington
    • Re: Locale? steve

Reply via email to