Hello Michael,

Am 2009-02-19 13:35:41, schrieb Michael Jarosch:
> I thought: If I start fvwm via wdm, wdm reads ~/.xsession and passes the
> environment to the windowmanager. But - alright - I can be wrong. I
> already mentioned, that I'm, not an expert... ;)
> What I don't understand then, is: Why do I have no problem when using
> xdm instead of wdm? It should do the same, shouldn't it?

I have attached my ~/.xsession and ~/.tdlocale (because I have a special
setup).  I use de_DE.UTF-8 and I asume you too.

Can you try it out?

> > If I understand WDM right, it is not intent to source
> > 
> >     /etc/default/locale
> > or
> >     /etc/environment
> I guess, this is already done by debconf. My */.xsession starts with the
> line 
> 
> # ---- language-env DON'T MODIFY THIS LINE!
> 
> and ends with the same line. Between them the correct LANG environment
> is configured. I won't touch this file - also because it looks good to
> me.

There is a thing I remember on MY system...

Can you post the contents of 
    /etc/default/locale
    /etc/environment
and the stuff getween the 
    # ---- language-env DON'T MODIFY THIS LINE!
    # ---- language-env DON'T MODIFY THIS LINE!
lines?

I have:

----[ '/etc/default/locale' ]-------------------------------------------
LANG=en_US
------------------------------------------------------------------------

----[ '/etc/environment' ]----------------------------------------------
LANG=C
------------------------------------------------------------------------

----[ '~/.tdlocale' ]---------------------------------------------------
export        LANG=de_DE.UTF-8
export LC_MESSAGES=de_DE.UTF-8
export    LANGUAGE=de
------------------------------------------------------------------------

Currently it is realy weird, since /etc/environment  is  deprecated  and
replaced by /etc/default/locale and now I have  found  it  again  on  my
system.  Currently I do not know which program has recreated the file...

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
#!/bin/bash

export PATH=${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/games

rplay ${HOME}/sounds/hallknow.ogg


####################################################################
#  
#  Here we check, whether the TEMPDIR exist or not...
#  
####################################################################
if [ -x /bin/tdtmpdir ] ; then . /bin/tdtmpdir ; fi
test -d ${TMPDIR} || echo -e "\n\nWARNING!!!\n\nThe Directory ${TMPDIR} was for 
unknown reason not created." |xmessage -geometry 512x192+256+256 -file - &


####################################################################
#  
#  Now we check, which configuration to start...
#  
####################################################################
HOSTNAME=`hostname --fqdn`
if   [ ${HOSTNAME} = "michelle1.private.tamay-dogan.net" ] ; then
  FVWMUSERDIR=${HOME}/.fvwm/PROF_michelle1

elif [ ${HOSTNAME} = "multimedia.private.tamay-dogan.net" ] ; then
  FVWMUSERDIR=${HOME}/.fvwm/PROF_multimedia

elif [ ${HOSTNAME} = "devel.private.tamay-dogan.net" ] ; then
  FVWMUSERDIR=${HOME}/.fvwm/PROF_devel

elif [ ${HOSTNAME} = "r40.private.tamay-dogan.net" ] ; then
  FVWMUSERDIR=${HOME}/.fvwm/PROF_r40

elif [ ${HOSTNAME} = "tp570.private.tamay-dogan.net" ] ; then
  FVWMUSERDIR=${HOME}/.fvwm/PROF_tp570

else
  FVWMUSERDIR=${HOME}/.fvwm/PROF_default

fi
if [ -d ${FVWMUSERDIR} ]
  then export FVWM_USERDIR=${FVWMUSERDIR}
  else export FVWM_USERDIR=${HOME}/.fvwm
fi
unset FVWMUSERDIR


####################################################################
#  
#  
#  
####################################################################
tdwallpaper --basedir=${FVWM_USERDIR}/tdwallpaper --load-default-wall


####################################################################
#  
#  If we start from WDM, we need to set out locales here.
#  
####################################################################
if [ -f ${HOME}/.tdlocale ] ; then
  . ${HOME}/.tdlocale
#  tdlocale --check-utf8
else
  #### BEGIN LOCALE ####
  export LANGUAGE=C
  export LANG=C
  export LC_MESSAGES=C
  #### END LOCALE ####
fi


####################################################################
#  
#  We set out private Xresources directory.
#  
####################################################################
export XAPPLRESDIR=${HOME}/.Xresources


####################################################################
#  
#  We select out default tdxmodmap...
#  
####################################################################
tdxmodmap --basedir=${FVWM_USERDIR}/tdxmodmap --get-orig-modmap
tdxmodmap --basedir=${HOME}/.fvwm/PROF_default/tdxmodmap --set-modmap=DE_de

tdxset --basedir=${FVWM_USERDIR} --dpms-active=no --scr-active=no
tdxset --basedir=${FVWM_USERDIR} --deactivate


ulimit -c unlimited

####################################################################
#  
#  Finaly start fvwm
#  
####################################################################
echo "TMPDIR:        ${TMPDIR}"
echo "FVWM_USERDIR:  ${FVWM_USERDIR}"
echo 
"###############################################################################"
env
echo 
"###############################################################################"
fvwm
export        LANG=de_DE.UTF-8
export LC_MESSAGES=de_DE.UTF-8
export    LANGUAGE=de

Attachment: signature.pgp
Description: Digital signature

Reply via email to