I have a fedora machine, I am used to working on CLI since I had CRT monitor, after switching to TFT - the experience is not the same I had with CRT, the font is smaller now.

How to change it?

  • 5
    Do you mean the font size of a TTY, or of a terminal within X? If the latter, which terminal emulator? Oct 23, 2010 at 6:13

1 Answer 1


updated answer

Since you're using Fedora, the variable that you need to play with is SYSFONT in the file /etc/sysconfig/i18n. Play with the font-sizes ( 8, 12, 16, 32, etc ).

The avialable fonts are listed in /lib/kbd/consolefonts/.

You should be able to test the fonts by using setfont from your TTY:

$ setfont  /lib/kbd/consolefonts/iso07u-16.psfu.gz

Note: run setfont without any arguments to restore to default font, you might need to do this "blind" if one of the fonts messes up your display.

Refer to Change console font in Fedora.

old answer

Changing the fontsize of your CLI depends on a lot of things.

Firstly, as Michael mentioned in his comment, what CLI are we talking about? A CLI within Xorg or a TTY?

If this is a emulator within Xorg, you will need to specify wich emulator. I will assume that you meant the TTY font size.

Before we started using KMS in our boot procedures, you could have changed the TTY font by adding vga=blah to grub's boot line and then playing arround with the values of blah. See this link on that.

If you are using KMS, things get more tricky. You will need to configure things withing your distro, and each distro has its own way of configuring things. Take a look at these two forum posts:

  • oh damm.. i see u said that in your question already... my bad
    – Stefan
    Oct 23, 2010 at 10:32
  • ok, I've updated my question to what I think the sollution would be. I've also deleted my comments here, to clear things up a bit. Please do the same.
    – Stefan
    Oct 23, 2010 at 10:43
  • 1
    I use Debian, so I thought the Ubuntu Forum link could help me - but it seems it gets me to a login page? Aug 14, 2012 at 17:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .