setting a default font
Results 1 to 4 of 4

Thread: setting a default font

  1. #1
    Join Date
    Nov 2000
    Location
    buenos aires
    Posts
    335

    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...

  2. #2
    Join Date
    Jun 2000
    Location
    Bethlehem, PA, USA
    Posts
    646
    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.

  3. #3
    Join Date
    Nov 2000
    Location
    buenos aires
    Posts
    335
    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.

  4. #4
    Join Date
    Nov 2000
    Location
    buenos aires
    Posts
    335
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •