NOTE: Some point of this is not completly stated at LSB. This answer was build on a Debian Squeeze (Debian 6.0.6). Some filepath and filenames may change on other distrib. Editing this answer to help me locate configs file will be welcome!
To answer as your points:
1. How do I list them
(cd /usr/share/consolefonts && find . -type f -name '*.psf.gz'; ) |
sed 's/.\/\(.*\).psf.gz/\1/' |
sort |
column
For InKernel compiled fonts, things are differents. On Debian, running kernel have a copy of his configuration file in /boot:
grep '^CONFIG_FONT' /boot/config-2.6.32-5-amd64
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
2. How can I change the console fonts?
Depending on if you want changes to be permanent:
- For immediates changes (non permanents):
setfont -f Lat15-VGA28x16
- For permanents changes, have a look at
zless /usr/share/doc/console-setup/README.Debian
vi /etc/default/console-setup
3. should I use /usr/local/lib/consolefonts/?
In fact, yes. You could simply (as root) create a group consolefont, add member to this group and change group's owner of the directory:
addgroup --system consolefont
chown root:consolefont /usr/local/lib/consolefonts
chmod 775 /usr/local/lib/consolefonts
adduser toto consolefont
fc-list, at least. What Linux are you running? – htor Feb 4 '12 at 18:03setfont. – htor Feb 6 '12 at 14:23