bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF8)
michi@here ~ $

Das Setzen der Keymap ueber setxkbmap funktioniert nur als root. Es kommt aber kein Fehler:

here /home/michi # su michi
michi@here ~ $ setxkbmap de
michi@here ~ $ 

michi@here ~ $ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE@euro
michi@here ~ $

here /home/michi # nano -w /etc/locale.gen
here /home/michi # locale-gen
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.UTF8)

  • Generating 4 locales (this might take a while) with 6 jobs
  • (1/4) Generating de_DE.ISO-8859-1 … [ ok ]
  • (3/4) Generating de_DE.ISO-8859-15@euro … [ ok ]
  • (4/4) Generating C.UTF-8 … [ ok ]
  • (2/4) Generating de_DE.UTF-8 … [ ok ]
  • Generation complete
  • Adding locales to archive … [ ok ]
    here /home/michi #

here /home/michi # eselect locale list
Available targets for the LANG variable:
[1] C
[2] C.utf8
[3] de_DE
[4] de_DE@euro *
[5] de_DE.iso88591
[6] de_DE.iso885915@euro
[7] de_DE.utf8
[8] POSIX
[ ] (free form)
here /home/michi # eselect locale set 7
Setting LANG to de_DE.utf8 …
Run „. /etc/profile“ to update the variable in your shell.

Die Einstellung über Fluxbox funktioniert im grafischen Modus: