On Wed, 11 Nov 2009 19:43:29 +0200 Anton Zinoviev wrote: > On Wed, Sep 16, 2009 at 08:50:38PM +0200, Francesco Poli (t1000) wrote: > > > > Despite XKBLAYOUT is clearly set to "it", I still get a US keyboard > > map on the console (X is fine, instead). > > I am unable to reproduce this.
Ouch! :-( > Can you make the following tests: > > 1. What happens if you run on the console 'setupcon' as root? I login as root on the console: I get a US keymap. # setupcon Mmmh, the screen flashed a few times and now I get an IT keymap. However, console fonts changed: take into account that I have $ tail -n 6 /etc/console-tools/config SCREEN_FONT=lat1u-16 SCREEN_FONT_vc2=lat1u-16 SCREEN_FONT_vc3=lat1u-16 SCREEN_FONT_vc4=lat1u-16 SCREEN_FONT_vc5=lat1u-16 SCREEN_FONT_vc6=lat1u-16 I ended up using those fonts, since those ones are the only fonts I found that let me see the symbols produced by $ toilet -f future "hello" ╻ ╻┏━╸╻ ╻ ┏━┓ ┣━┫┣╸ ┃ ┃ ┃ ┃ ╹ ╹┗━╸┗━╸┗━╸┗━┛ If you are able to suggest better fonts, please do not hesitate to do so! After running 'setupcon' the console is no longer able to correctly show such symbols. After a reboot, the situation is back as before: fonts are as I want them to be, but keymap is US... > 2. What happens if you run on the console > /etc/init.d/keyboard-setup start I do not have any /etc/init.d/keyboard-setup on my system! That's because I do not have console-setup installed, but console-setup-mini, instead: $ aptitude search console-setup | cut -c 1-35 p console-setup i A console-setup-mini > 3. What happens if you run on the console > /etc/init.d/console-setup start I do not have any /etc/init.d/console-setup either! Same reason as above. > 4. If all this works that check that there are files > /etc/rcS.d/S06keyboard-setup and /etc/rcS.d/S49console-setup $ ls /etc/rcS.d/*keyboard-setup /etc/rcS.d/*console-setup ls: cannot access /etc/rcS.d/*keyboard-setup: No such file or directory ls: cannot access /etc/rcS.d/*console-setup: No such file or directory That's probably, once again, because I have console-setup-mini, rather than console-setup, installed on my system. > 5. If some of this doesn't work, then open /etc/default/console-setup > and put there > VERBOSE_OUTPUT=yes Done. > Then send the output of 'setupcon' Here's the stderr dump: Loading 256-chars 8x16 font from file `/usr/share/consolefonts/Lat15-TerminusBold16.psf'. Setting kernel SFM. Loading 256-chars 8x16 font from file `/usr/share/consolefonts/Lat15-TerminusBold16.psf'. Setting kernel SFM. Loading 256-chars 8x16 font from file `/usr/share/consolefonts/Lat15-TerminusBold16.psf'. Setting kernel SFM. Loading 256-chars 8x16 font from file `/usr/share/consolefonts/Lat15-TerminusBold16.psf'. Setting kernel SFM. Loading 256-chars 8x16 font from file `/usr/share/consolefonts/Lat15-TerminusBold16.psf'. Setting kernel SFM. Loading 256-chars 8x16 font from file `/usr/share/consolefonts/Lat15-TerminusBold16.psf'. Setting kernel SFM. Loading /etc/console-setup/cached.kmap.gz I hope this helps in pinpointing the problem. -- New location for my website! Update your bookmarks! http://www.inventati.org/frx ..................................................... Francesco Poli . GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpz0Qj9zUOoN.pgp
Description: PGP signature