Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Do you mean the font size of a TTY, or of a terminal within X? If the latter, which terminal emulator? – Michael Mrozek Oct 23 '10 at 6:13

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:

share|improve this answer
oh damm.. i see u said that in your question already... my bad – Stefan Oct 23 '10 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 '10 at 10:43
I use Debian, so I thought the Ubuntu Forum link could help me - but it seems it gets me to a login page? – Emanuel Berg Aug 14 '12 at 17:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.