tags 441630 patch
kthxbye

On Wed, Mar 19, 2008 at 03:23:52PM +0100, Andreas Hübner wrote:
> Package: slim
> Version: 1.3.0-1
> Followup-For: Bug #441630
> 
> reopen 441630
> thank you
> 
> I still have some locale problem with slim.
> My /etc/default/locale looks like this:
> 
>     #  File generated by update-locale
>     LANG=de_DE.UTF-8
>     LC_MESSAGES=C
> 
> After the slim login LC_MESSAGES is unset.

Sorry for that, I just never thought about that situation.  Find an
attached patch for /etc/X11/Xsession.d/20slim_locale.  If it works for
you let us know, so far it worked for me.

mike
X-Git-Url: http://git.mmassonnet.info/cgi-bin/gitweb.cgi?p=debian.git;a=blobdiff_plain;f=slim%2Fdebian%2Flocal%2FXsession.d%2F20slim_locale;h=4c66c77790be08b564ae6a1a67244d759e763deb;hp=1349e05ad5693d4d2bbad96ff74261dfc736b013;hb=0458963f2482f3f18060003d85f8a6a9bdf4b7a2;hpb=0a46a17cf44476a7b4ee5767ec90eba345a3f108

diff --git a/slim/debian/local/Xsession.d/20slim_locale b/slim/debian/local/Xsession.d/20slim_locale
index 1349e05..4c66c77 100644
--- a/slim/debian/local/Xsession.d/20slim_locale
+++ b/slim/debian/local/Xsession.d/20slim_locale
@@ -1,2 +1,9 @@
+#!/bin/sh
 . /etc/default/locale
-export LANG
+for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+do
+	eval "if test \"\${$lt_var+set}\" = set; then
+		export $lt_var
+		fi"
+done
+

Attachment: signature.asc
Description: Digital signature

Reply via email to