How to Change Console Fonts in Ubuntu Server

By default, Ubuntu server software is designed to run without a graphical environment. Therefore, a fresh installation of Ubuntu server can only be managed via a console (the black background and white text, and a command prompt – after successful login), but for some reason you might like to change the font on your console for better appearance.

In this article, we will show you how to change console fonts and font size on Ubuntu server.

The file console-setup specifies the encoding and the font as well as font size to be implemented by the setupcon program. This program sets up the font and keyboard on the console of the Ubuntu server.

The default font and font size on Ubuntu server console is normally VGA and 8X16 respectively, which does not really look nice (especially if you have developed a strong liking for gorgeous looking fonts on the terminal, like we have), as shown in the following screenshot.

Default Ubuntu Server Fonts

Default Ubuntu Server Fonts

To change Ubuntu server console font, run the following command to reconfigure the console-setup file, this requires root privileges, so use the sudo command as shown.

$ sudo dpkg-reconfigure console-setup

Then choose the encoding to use on the console, you may leave the default, and press [Enter].

Choose Encoding in Ubuntu

Choose Encoding in Ubuntu

Next, choose the character set to support, you may leave the default, and press [Enter] to continue.

Choose Character Set in Ubuntu

Choose Character Set in Ubuntu

In this step, choose the font you want to use, for example we will use Fixed, so we will select it and press [Enter].

Choose Console Font in Ubuntu

Choose Console Font in Ubuntu

Finally, choose the font size, and we have selected 8X18. Then press [Enter]. Your console font will now change and the system will apply the recent changes. Once everything is done, your command prompt should appear with text formated in the new font.

Choose Font Size in Ubuntu

Choose Font Size in Ubuntu

The following screenshot shows the Ubuntu server console with the Fixed font type and font size of 8×18.

New Fonts in Ubuntu Server

New Fonts in Ubuntu Server

For more information, see the console-setup and setupcon man pages.

$ man console-setup
$ man setupcon

That’s it! In this article, we have explained how to change console font and font size on Ubuntu server. To ask any questions, use the comment form below.

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

1 Response

  1. Lee Congleton says:

    What other options do you have when the text still aren’t large enough? Also can you make the console entry begin at the the top of the screen instead of the bottom?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.