Re: locales broken?
On Fri, 21 Apr 2006 08:29:09 +0200, Michael Biebl wrote: > Bastian Venthur wrote: >> James Vega wrote: > > [..] > >> So should I file a bug against KDE(M) for not respecting >> /etc/default/locale? > > Known bug [1]. A corresponding bug report for gdm has been filed too > already. > > Cheers, > Michael > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361089 > > Attachment not shown: MIME type application/pgp-signature; filename > signature.asc Using pam_env breaks the expectation that /etc/default/locale be a shell script (that gets sourced at some point during login). Why not place a script in /etc/X11/Xsession.d that sources it? It can also be sourced in /etc/profile to cover text-mode logins. Maybe it's too late for this anyway, now. :( -- Sam Morris http://robots.org.uk/ PGP key id 5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: locales broken?
Michael Biebl wrote: > Bastian Venthur wrote: >> James Vega wrote: > > [..] > >> So should I file a bug against KDE(M) for not respecting >> /etc/default/locale? > > Known bug [1]. A corresponding bug report for gdm has been filed too > already. Thanks for the pointer! Best regards, Bastian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: locales broken?
Bastian Venthur wrote: > James Vega wrote: [..] > So should I file a bug against KDE(M) for not respecting > /etc/default/locale? Known bug [1]. A corresponding bug report for gdm has been filed too already. Cheers, Michael [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361089 signature.asc Description: OpenPGP digital signature
Re: locales broken?
(CC'ing Denis Barbier to get his attention, not sure he reads -devel) > Shouldn't the system take care of it when I do a dpkg-reconfigure locales? > > > $ cat /etc/default/locale > # File generated by update-locale > LANG=de_DE.UTF-8 > LANGUAGE=de_DE:de:en_GB:en > $ cat /etc/environment > #LANGUAGE="de_DE:de:en_GB:en" > > #LANG=de_DE.UTF-8 > > I'm sure I've heard that there is some transition going on to move the > content of /etc/environment to /etc/default/locale, right? If I > uncomment out the lines in /etc/environment everything works as expected > again. Which is what you should do while the transition is going on. The locales package maintainers are, IIRC, handling this transition but they actually recommend using both files signature.asc Description: Digital signature
Re: locales broken?
James Vega wrote: > On Thu, Apr 20, 2006 at 11:28:11PM +0200, Bastian Venthur wrote: >> Hi Devs, >> >> I know some weeks ago we had some major change in some package (I don't >> remember) which broke my locales. I am using UTF-8 (German) but my >> system is acting quite strange after the upgrade of the (unknown) package: >> > [snip] >> My locale is still set to UTF-8 (German) but: >> >> $ env | grep -i lang >> $ > > Are you sure that isn't being set by one of the files your shell sources > during initialization? That was the case for me. Shouldn't the system take care of it when I do a dpkg-reconfigure locales? $ cat /etc/default/locale # File generated by update-locale LANG=de_DE.UTF-8 LANGUAGE=de_DE:de:en_GB:en $ cat /etc/environment #LANGUAGE="de_DE:de:en_GB:en" #LANG=de_DE.UTF-8 I'm sure I've heard that there is some transition going on to move the content of /etc/environment to /etc/default/locale, right? If I uncomment out the lines in /etc/environment everything works as expected again. So should I file a bug against KDE(M) for not respecting /etc/default/locale? Best regards, Bastian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: locales broken?
On Thu, Apr 20, 2006 at 11:28:11PM +0200, Bastian Venthur wrote: > Hi Devs, > > I know some weeks ago we had some major change in some package (I don't > remember) which broke my locales. I am using UTF-8 (German) but my > system is acting quite strange after the upgrade of the (unknown) package: > [snip] > > My locale is still set to UTF-8 (German) but: > > $ env | grep -i lang > $ Are you sure that isn't being set by one of the files your shell sources during initialization? That was the case for me. > I don't know which package to blame, so can somebody give me a hint and > maybe a workaround? One solution is to set the proper locale in /etc/environment and ensure /etc/pam.d/*dm uses pam_env (this is what I did). Another, probably better, solution is to set the proper locale in ~/.xsession since that will affect only you instead of everyone that uses the computer. HTH, James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]> signature.asc Description: Digital signature
locales broken?
Hi Devs, I know some weeks ago we had some major change in some package (I don't remember) which broke my locales. I am using UTF-8 (German) but my system is acting quite strange after the upgrade of the (unknown) package: - amarok refuses to play files with umlauts in the filename - firefox and thunderbird start with the English locale (German locales are installed) - I'm not able to enter umlauts in KDE's Konsole - aptitude in Linux-Console (without WindowManager) looks butt-ugly - ... My locale is still set to UTF-8 (German) but: $ env | grep -i lang $ I don't know which package to blame, so can somebody give me a hint and maybe a workaround? Best regards, Bastian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]