Am 2009-02-18 23:48:55, schrieb Michael Jarosch: > No. It's still the same. After logging in with wdm, every application > run by fvwm's (or icewm's or any other *wm's) menu entries fails to > start in the right language. Only if I start the app using a > terminal-emulation (like xterm or - in my case - mrxvt), everything is > as it should be. This is because the LANG environment is set correctly > in terminal-emulation, but not for the window manager itself. > > But still: No problem with xdm, of course. > > I'm not an expert. I can't prove, if the ~/.xsession file is read or not > or if there's something wrong with it. I just got a strong feeling that > it isn't. Does the strace told you anything useful?
Which WindowManager do you use?
I start "fvwm" at the end of the ~/.xsession which is the preuve, that
~/xsession IS executed from WDM, even XDM, GDM and KDM.
If I understand WDM right, it is not intent to source
/etc/default/locale
or
/etc/environment
IF you use the ~/.xsession, it is up to you, seting the right locale.
Callin a XTerm is executing your default SHEL as non-login shel which is
for example bash which then source ~/.bashrc and your locales are right
because they are set there.
So, if you want o have the same behavoir, you should include in
~/.xsession
the same sniplet as in the
~/.bash_login
or
~/.bash_profile
exactly:
if [ -f ${HOME}/.bashrc ] ; then
. ${HOME}/.bashrc
fi
Greetings
Michelle
signature.pgp
Description: Digital signature

