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.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

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

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

1 thought on “How to Change Console Fonts in Ubuntu Server”

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

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

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