Can I change the font of the text-mode console?
I have a Unix-like OS installed without a windowing environment; i.e. , just a text-mode console and no GUI.
Is it possible to change the font used by the console?
To be clear, I am not talking about the terminal emulator that comes with a desktop environment like KDE or GNOME.
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").