Re: Re: Setting variables?

2007-04-23 Thread Schelkens Annemie
 



Setting variables?

2003-09-11 Thread Steve Lamb
How does one set a shell variable when logging in with kdm?  IE I want to
set LANG=en_US to work around the gtk font bug.  Works fine in a shell but
menu items and the Application Launcher appear not to run a shell first.

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


pgpQTVTkU7lSP.pgp
Description: PGP signature


Re: Setting variables?

2003-09-11 Thread Chris Cheney
On Thu, Sep 11, 2003 at 08:49:48AM -0700, Steve Lamb wrote:
 How does one set a shell variable when logging in with kdm?  IE I want to
 set LANG=en_US to work around the gtk font bug.  Works fine in a shell but
 menu items and the Application Launcher appear not to run a shell first.

I am not sure if there are other ways but kdm does set LANG via pam_env
/etc/environment if you have one. If you are missing that file run
dpkg-reconfigure locales.

Chris




Re: Setting variables?

2003-09-11 Thread Steve Lamb
On Thu, 11 Sep 2003 12:34:35 -0500
Chris Cheney [EMAIL PROTECTED] wrote:
 I am not sure if there are other ways but kdm does set LANG via pam_env
 /etc/environment if you have one. If you are missing that file run
 dpkg-reconfigure locales.

That worked but it isn't what I'd consider ideal.  I saw some archived
messages about putting LANG exports into .xsession or .Xsession but that
hasn't worked for me.  Forcing all users into English is bad as one of 'em is
from Germany.  :)

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


pgpdmTacnMEQ1.pgp
Description: PGP signature


Re: Setting variables?

2003-09-11 Thread Oswald Buddenhagen
On Thu, Sep 11, 2003 at 11:06:22AM -0700, Steve Lamb wrote:
 On Thu, 11 Sep 2003 12:34:35 -0500
 Chris Cheney [EMAIL PROTECTED] wrote:
  I am not sure if there are other ways but kdm does set LANG via pam_env
  /etc/environment if you have one. If you are missing that file run
  dpkg-reconfigure locales.
 
 That worked but it isn't what I'd consider ideal.  I saw some archived
 messages about putting LANG exports into .xsession or .Xsession but that
 hasn't worked for me.

you have to make sure these files are executed at all ... in kdm's
default install this means choosing the default session type.

 Forcing all users into English is bad as one of 'em is
 from Germany.  :)
 
fwiw, i'm positive to have real per-user language selection in kdm for
kde 3.2.

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.