I followed the Gentoo Localization Guide to get a Swedish keyboard layout and a Swedish console font. The guide doesn't specify which consolefont to use so I searched google and found KEYMAP="sv-latin1" and CONSOLEFONT="lat0-16", I edited rc.conf, rebooted the system and allthough I now have the Swedish special characters (
I followed the Gentoo Localization Guide to get a Swedish keyboard layout and a Swedish console font. The guide doesn't specify which consolefont to use so I searched google and found KEYMAP="sv-latin1" and CONSOLEFONT="lat0-16", I edited rc.conf, rebooted the system and allthough I now have the Swedish special characters (å, ä and ö) I don't have the upper-case version of those characters (Å, Ä, and Ö). I asked on #gentoo and it turned out the person who tried to help me noticed he had the same problem. It would be nice if the guide contained a chart detailing what KEYMAP and CONSOLEFONT values to use. Maybe the files in /usr/share/keymaps and /usr/share/consolefonts could be named after country instead, much like /usr/share/zoneinfo Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 9 2005, 16:35:04)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.4_p6, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo ftp://mirror.pudas.net/gentoo http://mirror.pudas.net/gentoo" LC_ALL="sv_SE" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt curl emboss encode fam flac foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 imagemagick imlib java jpeg junit kde ldap libg++ libwww mad mikmod mmx mmx2 mmxext motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib png qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS Failed to write to mtimedb: [Errno 13] Permission denied: '/var/cache/edb/mtimedb' bash-2.05b$ sudo su bash-2.05b# emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r4 i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 9 2005, 16:35:04)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.4_p6, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -pipe -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo ftp://mirror.pudas.net/gentoo http://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt curl emboss encode fam flac foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 imagemagick imlib java jpeg junit kde ldap libg++ libwww mad mikmod mmx mmx2 mmxext motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib png qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
If you are using Latin-1 enconding, you should probably use Latin-1 consolefont as well. Does CONSOLEFONT="lat1-16" work correctly for you?
No, the lat1-16 font is unusable. Also the top three hits on Google for "swedish" and "consolefont" recommend lat0-16. Is there any way I can change the consolefont without rebooting? That way I can try all the lat1-XX fonts quickly.
man setfont ;-)
Thank you, I tried a few and lat9-16 seems to do the trick.