You are not logged in.

#1 2011-11-01 08:20:54

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[Solved] LXDM LANG=C ignored

Hi,

I used to use "LANG=C pacman" as alias for "pacman", cause I like to have pacman output in englisch (normal locale is de_DE.utf8)

Since I switched to LXDM as LoginManager this does not work anymore.

[root@sunny michi]# LANG=C
[root@sunny michi]# echo $LANG
C
[root@sunny michi]# pacman -h 
Verwendung:  pacman <Operation> [...]
Operationen:
    pacman {-h --help}
    pacman {-V --version}
    pacman {-D --database} <Optionen> <Paket(e)>
    pacman {-Q --query}    [Optionen] [Paket(e)]
    pacman {-R --remove}   [Optionen] <Paket(e)>
    pacman {-S --sync}     [Optionen] [Paket(e)]
    pacman {-T --deptest}  [Optionen] [Paket(e)]
    pacman {-U --upgrade}  [Optionen] <Datei(en)>

Benutzen Sie 'pacman {-h --help}' zusammen mit einer Operation f?r verf?gbare Optionen

with SLiM and just startx it always worked.

Last edited by SiD (2011-11-01 09:54:54)

Offline

#2 2011-11-01 09:23:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] LXDM LANG=C ignored

Post 'locale' and 'locale -a'.

Have you tried setting 'LC_MESSAGES=C'?

Last edited by karol (2011-11-01 09:23:59)

Offline

#3 2011-11-01 09:54:00

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [Solved] LXDM LANG=C ignored

karol wrote:

Have you tried setting 'LC_MESSAGES=C'?

That is the trick, thanks. smile

Offline

#4 2011-11-01 13:55:19

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: [Solved] LXDM LANG=C ignored

See 'man locale'.

LANG is only used for locale variables that are unset or null. Obviously all your locale variables were already set, hence it didn't work

Offline

Board footer

Powered by FluxBB