[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Spanisch als Locale für User festlegen



Am Samstag, 25. Februar 2006 12:53 schrieb Andreas Pakulat:

> Das hatte ich gehofft, dann startet kdm auch eine login-shell fuer die
> X11-Sitzung.

Also ist da noch was faul.

> > Witzig, da findet sich eine spanische Meldung gegen Ende, aber das dürfte
> > wohl von der span. KDE-Einstellung kommen.
>
> Moeglich die Meldung selbst kommt aber wohl nicht von KControl. Was mir
> da noch einfaellt: kde-i18n-es hast du auch installiert oder?

aptitude search kde-i18n | grep ^i
i   kde-i18n-de                     - German (de) internationalized (i18n) 
files
i   kde-i18n-es                     - Spanish (es) internationalized (i18n) 
file
i   kde-i18n-fr                     - French (fr) internationalized (i18n)

> Das ist nicht gut, was passiert beim Login ueber tty? Oder wenn du nicht
> direkt an den Rechner kommst versuch mal in nem Terminal bash -l. Ist
> die Datei dann da (aka .profile wird gelesen)?

ssh convidado@client8
Password:
Linux client8 2.6.15-1-686 #2 Sat Feb 11 00:41:45 CET 2006 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
Last login: Sat Feb 25 11:54:42 2006
convidado@client8:~$ bash -l
convidado@client8:~$

> Hmm, hab grad mal in kdm's Dateien in /etc/kde3/kdm geschaut, der
> startet immernoch keine login-shell, sondern liest eine Reihe von
> Dateien "manuell" ein, je nach dem welche Shell benutzt wird. Der Beginn
> von Xsession sieht dort so aus:
>
> #! /bin/sh
> # Xsession - run as user
>
> session=$1
>
> # Note that the respective logout scripts are not sourced.
> case $SHELL in
>   */bash)
>     [ -z "$BASH" ] && exec $SHELL $0 "$@"
>     set +o posix
>     [ -f /etc/profile ] && . /etc/profile
>     if [ -f $HOME/.bash_profile ]; then
>       . $HOME/.bash_profile
>     elif [ -f $HOME/.bash_login ]; then
>       . $HOME/.bash_login
>     elif [ -f $HOME/.profile ]; then
>       . $HOME/.profile
>     fi
>     ;;
>   */zsh)
>     [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
>     emulate -R zsh
>     [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
>     zhome=${ZDOTDIR:-$HOME}
>

Das verstehe ich nicht ganz, was du da machen willst.

> Du koenntest mit ein paar "debug-echos" in eine Datei in /tmp mal
> schauen was davon ausgefuehrt wird. Also in etwa:
>
> echo "$SHELL" >>/tmp/xsession.dbg
> echo "$BASH" >>/tmp/xsession.dbg

convidado@client8:~$ bash -l
convidado@client8:~$ echo "$SHELL" >>/tmp/xsession.dbg
convidado@client8:~$ echo "$BASH" >>/tmp/xsession.dbg
convidado@client8:~$ cat /tmp/xsession.dbg
/bin/bash
/bin/bash


> am Anfang und dann noch jeweils in jeden if/elif-Zweig ein echo um zu
> kontrollieren welche Teile ausgefuehrt werden.

?

Al



Reply to: