Johannes Rohr <[EMAIL PROTECTED]> writes: > Ole Laursen <[EMAIL PROTECTED]> writes:
[...] > > > GDM 2.4.x uses /etc/environment (not by sourcing it but through > > > pam_env.so). I don't know about older versions, though. > > > > Are you sure it works? If it worked, wouldn't GDM 2.4 speak the > > language specified in /etc/environment? > > The LANG setting from /etc/environment is used for the session, but > unfortunately not for the GDM greeter, which is a seperate programme. OK, you're sure. I didn't test it, just thought there might be a problem. > I don't know if the Greeter's inability to set the UI language could > also be cured by adding an appriopriate file to /etc/pam.d, but > possibly it doesn't even use pam as it doesn't conduct any > authentication. > > So here the easiest workaround is to add > > set -a > . /etc/environment > set +a > > to /usr/bin/gdm. > > Unfortunately this is overwritten by any upgrade, so probably Sean > should patch the file from debian/rules or better upstream should fix > this. Sean, are you reading this? :-) -- Ole Laursen http://www.cs.auc.dk/~olau/