On Fri, 16 Apr 2004 13:09:44 +0200 (...) > Uzywam GDM'a a zawartosc /etc/X11/gdm/Xsession jest nastepujaca: > echo "$0: Beginning session setup..." > > # First read /etc/profile and .profile > test -f /etc/profile && . /etc/profile
Tutaj jest wczytywane /etc/profile, które uruchamia /etc/profile.d/lang.sh - w tym momencie LANG=pl_PL > test -f "$HOME/.profile" && . "$HOME/.profile" > # Second read /etc/xprofile and .xprofile for X specific setup > test -f /etc/xprofile && . /etc/xprofile > test -f "$HOME/.xprofile" && . "$HOME/.xprofile" > > if [ ! -f $HOME/.profile ] && echo $SHELL |grep -q "bash"; then > test -f $HOME/.bash_profile && . $HOME/.bash_profile > fi To chyba havner dodał na podstawie mojej poprawki do Xsession kdeema - tutaj jest wczytywane ~/.bash_profile, jezeli Twoim shellem jestt bash - tak więc, w przypadku, gdyby "LANG" nie było ustawione globalnie w /etc/sysconfig/i18n - będzie honorowane ustawienie "LANG" z ~/.bash_profile. (...) > # Normalize languages, some places/distros screw us up in > # /etc/profile, so in case the user did select a language > if [ -n "$GDM_LANG" ]; then > LANG="$GDM_LANG" > export LANG No to juz są jakieś jaja - Panowie Od GNOME - nie chce Wam się wymiotować, gdy widzicie cos takiego?! Jak w ogóle mozna napisywać "LANG" uzytkownika przez jakieś GDM_LANG ?! Nie znam za bardzo gdeema ale podejrzewam, ze tutaj cos jest psute - innej mozliwosci nie widzę. Co to znaczy GDM_LANG ?? Gdzie ta zmienną się ustawia i na co ona ma wpływ? -- Adam Gorzkiewicz _________________________________________ http://pld-linux.org/ = faq, howto, newsy dostales tutaj odpowiedz na swoje pytanie? podziel sie z innymi i dopisz do FAQ! http://pld-linux.org/FAQ/