* Mike FABIAN; <mfabian@suse.de> on 23 Jan, 2003 wrote:
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 <!-------- This is set as tr_TR.UTF-8 in $HOME/.profile LC_CTYPE="tr_TR" LC_NUMERIC="tr_TR" LC_TIME=POSIX <-------------- This is set in $HOME/.profile LC_COLLATE=tr_TR.UTF-8 <--------- This is set in $HOME/.profile LC_MONETARY="tr_TR" LC_MESSAGES=en_US <------------- This is set in $HOME/.profile 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=
What happens if you start a new login shell withing an xterm:
bash -login
locale settings are tr_TR.UTF-8 as seen below toganm@earth:~> bash -login 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=
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/*
No :-(
grep tr_TR ~/.*
no :-( All I have is the one with UTF-8 toganm@earth:~> grep tr_TR ~/.* /home/toganm/.profile:export LANG=tr_TR.UTF-8 /home/toganm/.profile:export LC_COLLATE=tr_TR.UTF-8
If yes, where is it?
It must be somewhere because according to your description, some program sets "LANG=tr_TR".
That is what I thought but I have been unable to find anything. The worst part of the story is it all starts correctly, I have mutt running via *utf8xterm* which has the correct locale then I can have a _xterm_ again via *utf8xterm* again with correct locales and then the next one goes with the tr_TR. The box is starting with runlevel 3 and in the console enviroment locale is correct I start with startx and the above happens. Just to test it I tried with KDE and no matter how many xterms (again via utf8xterm) I have or consoles I have opened the locales are correct with UTF-8. It is completely weird -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx