Loosing locale settings
Hi, I do not know if this was happing before yet recently I discovered that sometimes I am loosing my locale settings when I have more then 2 Xterms opened. The weird thing is it does not happen always SuSE 8.1 Kernel k_deflt-2.4.19-74 Windowmaker (WindowMaker-0.80.2-1 from Mike Fabian's directory) I have the locale settings in $HOME/.profile as export LANG=tr_TR.UTF-8 export LC_MESSAGES=en_US export LC_TIME=POSIX export LC_COLLATE=tr_TR.UTF-8 I am using "utf8xterm" which comes with shtools-2002.01.30-117. So When I have the Xterm for the first time the locale is toganm@earth:~> locale LANG=tr_TR.UTF-8 LC_CTYPE="tr_TR.UTF-8" LC_NUMERIC="tr_TR.UTF-8" LC_TIME=POSIX LC_COLLATE=tr_TR.UTF-8 LC_MONETARY="tr_TR.UTF-8" LC_MESSAGES=en_US LC_PAPER="tr_TR.UTF-8" LC_NAME="tr_TR.UTF-8" LC_ADDRESS="tr_TR.UTF-8" LC_TELEPHONE="tr_TR.UTF-8" LC_MEASUREMENT="tr_TR.UTF-8" LC_IDENTIFICATION="tr_TR.UTF-8" LC_ALL= When I encounter the problem of loosing locales the output is like this LANG=tr_TR LC_CTYPE="tr_TR" LC_NUMERIC="tr_TR" LC_TIME=POSIX LC_COLLATE=tr_TR.UTF-8 LC_MONETARY="tr_TR" LC_MESSAGES=en_US LC_PAPER="tr_TR" LC_NAME="tr_TR" LC_ADDRESS="tr_TR" LC_TELEPHONE="tr_TR" LC_MEASUREMENT="tr_TR" LC_IDENTIFICATION="tr_TR" LC_ALL= I have no idea whatsoever how come the locales change does anybody have ? -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
* Togan Muftuoglu;
Hi,
I do not know if this was happing before yet recently I discovered that sometimes I am loosing my locale settings when I have more then 2 Xterms opened. The weird thing is it does not happen always
SuSE 8.1 Kernel k_deflt-2.4.19-74 Windowmaker (WindowMaker-0.80.2-1 from Mike Fabian's directory)
I think this is the problem package I tried with KDE and I had xterm's everywhere and the locale settings stay the same. Mike can you reproduce the problem -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Togan Muftuoglu
* Togan Muftuoglu;
on 22 Jan, 2003 wrote: I do not know if this was happing before yet recently I discovered that sometimes I am loosing my locale settings when I have more then 2 Xterms opened. The weird thing is it does not happen always
SuSE 8.1 Kernel k_deflt-2.4.19-74 Windowmaker (WindowMaker-0.80.2-1 from Mike Fabian's directory)
I think this is the problem package I tried with KDE and I had xterm's everywhere and the locale settings stay the same. Mike can you reproduce the problem
No.
How do you start your xterms in Windowmaker?
Some menu entry?
Does it also happen when you start xterms via the 'run command' menu
or from other xterms?
What happens if you start a new login shell withing an xterm:
bash -login
or
tcsh -l
in case you are using tcsh.
If you grep recursively through /etc/* and through the dot-files
in your home directory, can you find the string "tr_TR" (without
.UTF-8) somewhere?
grep -r tr_TR /etc/*
grep tr_TR ~/.*
If yes, where is it?
It must be somewhere because according to your description, some
program sets "LANG=tr_TR".
--
Mike Fabian
* Mike FABIAN;
How do you start your xterms in Windowmaker? Some menu entry?
yes this is what I have in $HOME/GNUstep/Defaults/WMRootMenu, so basically I am calling utf8xterm ( Applications, (Info, ("Info Panel", INFO_PANEL), (Legal, LEGAL_PANEL)), (Run..., EXEC, "%a(Run,Type command to run:)"), (Mutt, SHORTCUT, XF86Mail, EXEC, "utf8xterm -e mutt"), (XTerm, EXEC, utf8xterm), (Opera, SHORTCUT, XF86HomePage, EXEC, opera),
Does it also happen when you start xterms via the 'run command' menu or from other xterms?
when I start via run command it also happens (does not make a difference if I just type xterm or utf8xterm here is what I have LANG=tr_TR Reply
* Mike FABIAN;
Togan Muftuoglu
さんは書きました: * Togan Muftuoglu;
on 22 Jan, 2003 wrote: I do not know if this was happing before yet recently I discovered that sometimes I am loosing my locale settings when I have more then 2 Xterms opened. The weird thing is it does not happen always
SuSE 8.1 Kernel k_deflt-2.4.19-74 Windowmaker (WindowMaker-0.80.2-1 from Mike Fabian's directory)
I think this is the problem package I tried with KDE and I had xterm's everywhere and the locale settings stay the same. Mike can you reproduce the problem
No.
Ok I have reverted back to the latest one provided via YOU toganm@earth:~> rpm -q WindowMaker WindowMaker-0.80.1-59 so far I have 12 Xterm opened via utf8xterm ( either via menu entry or from the _Run_ and guess what they all have the correct locale. toganm@earth:~> locale LANG=tr_TR.UTF-8 LC_CTYPE="tr_TR.UTF-8" LC_NUMERIC="tr_TR.UTF-8" LC_TIME=POSIX LC_COLLATE=tr_TR.UTF-8 LC_MONETARY="tr_TR.UTF-8" LC_MESSAGES=en_US LC_PAPER="tr_TR.UTF-8" LC_NAME="tr_TR.UTF-8" LC_ADDRESS="tr_TR.UTF-8" LC_TELEPHONE="tr_TR.UTF-8" LC_MEASUREMENT="tr_TR.UTF-8" LC_IDENTIFICATION="tr_TR.UTF-8" LC_ALL= So I am still on the point that something is weird with WindowMaker-0.80.2-1.i586.rpm -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Togan Muftuoglu
I do not know if this was happing before yet recently I discovered that sometimes I am loosing my locale settings when I have more then 2 Xterms opened. The weird thing is it does not happen always
SuSE 8.1 Kernel k_deflt-2.4.19-74 Windowmaker (WindowMaker-0.80.2-1 from Mike Fabian's directory)
I have the locale settings in $HOME/.profile as
export LANG=tr_TR.UTF-8 export LC_MESSAGES=en_US export LC_TIME=POSIX export LC_COLLATE=tr_TR.UTF-8
I am using "utf8xterm" which comes with shtools-2002.01.30-117. So When I have the Xterm for the first time the locale is toganm@earth:~> locale LANG=tr_TR.UTF-8 LC_CTYPE="tr_TR.UTF-8" LC_NUMERIC="tr_TR.UTF-8" LC_TIME=POSIX LC_COLLATE=tr_TR.UTF-8 LC_MONETARY="tr_TR.UTF-8" LC_MESSAGES=en_US LC_PAPER="tr_TR.UTF-8" LC_NAME="tr_TR.UTF-8" LC_ADDRESS="tr_TR.UTF-8" LC_TELEPHONE="tr_TR.UTF-8" LC_MEASUREMENT="tr_TR.UTF-8" LC_IDENTIFICATION="tr_TR.UTF-8" LC_ALL=
When I encounter the problem of loosing locales the output is like this
LANG=tr_TR LC_CTYPE="tr_TR" LC_NUMERIC="tr_TR" LC_TIME=POSIX LC_COLLATE=tr_TR.UTF-8 LC_MONETARY="tr_TR" LC_MESSAGES=en_US LC_PAPER="tr_TR" LC_NAME="tr_TR" LC_ADDRESS="tr_TR" LC_TELEPHONE="tr_TR" LC_MEASUREMENT="tr_TR" LC_IDENTIFICATION="tr_TR" LC_ALL=
I have no idea whatsoever how come the locales change does anybody have ?
This should be fixed in the WindowMaker packages distributed with SuSE
Linux 8.2. Togan was so kine to file a bug report in the SuSE bugzilla
and Vladimir Nadvornik fixed the problem.
Updated WindowMaker packages for SuSE 8.1 which should not have this
bug are here:
ftp://ftp.suse.com/pub/people/mfabian/8.1-i586/WindowMaker-0.80.2-63.i586.rpm
ftp://ftp.suse.com/pub/people/mfabian/8.1-i586/WindowMaker-devel-0.80.2-63.i586.rpm
ftp://ftp.suse.com/pub/people/mfabian/8.1-src/WindowMaker-0.80.2-63.src.rpm
--
Mike Fabian
participants (2)
-
Mike FABIAN
-
Togan Muftuoglu