1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
CHANGING THE CONSOLE FONT
________________________________________________________________________________
The Linux console font can be changed using the setfont utility (part of busybox
and installed by default).
Available Fonts
________________________________________________________________________________
Currently packaged Linux console fonts.
- terminus-font (Community).
- spleen-font (Community).
- unifont (Community).
Changing the Console Font
________________________________________________________________________________
Use the following command to set the console font _after_ a user has logged in.
Add it to your ~/.profile or /etc/profile to make the change permanent.
+------------------------------------------------------------------------------+
| |
| [ "$DISPLAY" ] || setfont /usr/share/consolefonts/FONT_NAME |
| |
+------------------------------------------------------------------------------+
To change the console font _before_ a user has logged in, add the following to
your /etc/inittab or /etc/rc.conf.
+------------------------------------------------------------------------------+
| /etc/rc.conf |
+------------------------------------------------------------------------------+
| |
| /usr/bin/setfont /usr/share/consolefonts/FONT_NAME -C /dev/tty1 |
| |
+------------------------------------------------------------------------------+
|