If you use the Linux console, the best way I found is:
in
/etc/default/console-setup
put, for example
CHARMAP="UTF-8"
CODESET="Lat7"
FONTFACE="Terminus"
FONTSIZE="28x14"
Another way is to use setfont
from the kbd
package:
setfont /usr/share/consolefonts/Lat7-Terminus28x14.psf
This works for my Debian; it may be different for you.
In Debian, you can also run dpkg-reconfigure -plow console-setup
to be prompted for the various console settings and pick them from menus.
Edit - I put together a small page how to setup the font colors. The section that is relevant for this post has the header "the Linux VTs" (= ttys, or "console").57 bronze badges
dpkg-configure console-setup
are: 6x12, 8x14, 8x16, 10x20, 11x22, 12x24, 14x28, and 16x32. – Casey Watson Apr 8 '15 at 5:17dpkg-reconfigure console-setup
solution, and after i made my selections of font options, it modified/etc/default/console-setup
and ranupdate-initramfs
(i suppose with-u
option). However, your answer does not mention runningupdate-initramfs
. Is it necessary? – Alexey Jul 28 '18 at 13:33setupcon
to apply the changes. It is part of theconsole-setup
package. – Jangid Mar 3 at 6:22/usr/share/kbd/consolefonts
. I will add a separate answer to highlight thesetfont
solution. – Leif Arne Storset Mar 5 at 12:23