-
setting a default font
i would like to know how can i set an specific font, the `8x14thin`, for instance, as the system default one.
i know how to set it once the system is up, but i would like to know to set it as the default, the one that the system automatically loads once linux is up.
thank you very much.
btw: this question is not for x, just plain old command line...
-
This is a very interesting question. I could not find much about setting the console font other than using setfont (older systems I guess) or consolechars.
Looking around my RH 7.0 there is something about an environmental variable in /etc/rc.d/rc.sysinit. It pulls a variable from /etc/sysconfig/i18n. My i18n file has only one variable:
LANG="en_US"
So I would suspect you would put in:
SYSFONT="fontname".
On my Slack 7.0 system, there is a file in /etc/rc.d called rc.font which sets the font using setfont:
setfont -v fontname.
RH 7.0 will not let me use setfont to change the console font on the fly. It requires me to use consolechars. If I attempt to do this from an xterm (or similar terminal program in X) I get an error message:
set_kernel_font: Operation not permitted
Hope this is some help to you.
-
thank you very much danns, i´ll try your tips tonight. btw, i´m using another program to set the font, once linux is up, `fontconfig`.
thank you very very much
ps: i´m running slackware 4.o.o, stripped down to fit the `tiny linux` distro.
kernel 2.2.6.
-
thank you, i`ve used the rc.font file to set the font that i like, but the system doesn´t recognised it, even if the font does exists adn is in the proper directory.
any ideas?