On Sat, 14 Nov 2009 01:03:37 +0100 Francesco Poli wrote: [...] > I will try and perform some more tests tomorrow...
Let's *really* restart from scratch: # aptitude -t unstable install console-setup console-setup-mini- This installed console-setup/1.46 and console-terminus/4.28-2, while removing console-setup-mini. However, this left configuration files for console-setup-mini around: # dpkg -l | grep ^rc | cut -c 1-60 rc console-setup-mini 1.45 # ls /etc/console-setup/ cached.kmap.gz compose.ISO-8859-11.inc compose.ISO-8859-6.inc compose.ARMSCII-8.inc compose.ISO-8859-13.inc compose.ISO-8859-7.inc compose.CP1251.inc compose.ISO-8859-14.inc compose.ISO-8859-8.inc compose.CP1255.inc compose.ISO-8859-15.inc compose.ISO-8859-9.inc compose.CP1256.inc compose.ISO-8859-16.inc compose.KOI8-R.inc compose.GEORGIAN-ACADEMY.inc compose.ISO-8859-1.inc compose.KOI8-U.inc compose.GEORGIAN-PS.inc compose.ISO-8859-2.inc compose.TIS-620.inc compose.IBM1133.inc compose.ISO-8859-3.inc compose.VISCII.inc compose.ISIRI-3342.inc compose.ISO-8859-4.inc remap.inc compose.ISO-8859-10.inc compose.ISO-8859-5.inc I think there's a problem though: if I purge console-setup-mini, I lose the /etc/console-setup/ directory!! # aptitude purge console-setup-mini # /etc/console-setup/ ls: cannot access /etc/console-setup/: No such file or directory It seems that I can (at least partially) fix things up by reinstalling console-setup: # aptitude -t unstable reinstall console-setup # ls /etc/console-setup/ cached.kmap.gz Do you want me to file a separate bug report for this problem? Let's see the generated configuration: # grep -v '^#' /etc/default/console-setup VERBOSE_OUTPUT=no ACTIVE_CONSOLES="/dev/tty[1-6]" CHARMAP="UTF-8" CODESET="Lat15" FONTFACE="TerminusBoldVGA" FONTSIZE="16" XKBMODEL="pc105" XKBLAYOUT="it" XKBVARIANT="" XKBOPTIONS="lv3:ralt_switch" Let's see how it looks like: # setupcon # invoke-rc.d hal restart Restarting Hardware abstraction layer: hald. Result: 'toilet -f future' symbols are *not* correctly shown, but the keyboard layout is Italian as desired (both on the console and in X). Let's try and tweak the configuration: # dpkg-reconfigure console-setup I answered the questions in the following way: Keyboard model? Generic 105-key (Intl) PC Keyboard layout? Italy AltGr key replacement? The default for the keyboard layout Compose key? Menu key Use Control+Alt+Backspace to terminate the X server? No Encoding to use on the console? UTF-8 Character set to support? Latin1 and Latin5 Font for the console? Fixed Font size? 16 Let's see how it worked out: # grep -v '^#' /etc/default/console-setup VERBOSE_OUTPUT=no ACTIVE_CONSOLES="/dev/tty[1-6]" CHARMAP="UTF-8" CODESET="Lat15" FONTFACE="Fixed" FONTSIZE="16" XKBMODEL="pc105" XKBLAYOUT="it" XKBVARIANT="" XKBOPTIONS="compose:menu" Let's test it out: # setupcon # invoke-rc.d hal restart Restarting Hardware abstraction layer: hald. Result: 'toilet -f future' symbols are *not* correctly shown, but the keyboard layout is Italian as desired (both on the console and in X). Let's test the other possible fonts: # vim /etc/default/console-setup After setting FONTFACE to each possible font, I issued the following commands: # setupcon # invoke-rc.d hal restart Restarting Hardware abstraction layer: hald. None of available fontfaces satisfies me. BTW, I think the reference to Goha and GohaClassic in the conffile comments is obsolete, as no such fonts seem to exist now. Do you want me to file a separate bug report for this minor issue? I added the following line to /etc/default/console-setup FONT="lat1u-16.psf.gz" and set the following variables to empty strings: FONTFACE="" FONTSIZE="" After issuing # setupcon # invoke-rc.d hal restart Restarting Hardware abstraction layer: hald. I finally get the fonts I wanted to get and an Italian layout (both on the console and in X). Thanks for the help! -- 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
pgpH7xxMy5jTX.pgp
Description: PGP signature