The people who regularly have to use the Terminal want it to be more than just a black rectangle where you enter commands. They want the space to be as comfortable and customized as possible so that it is not burdensome to both the eyes and nerves. If you are afraid that the default font size may hurt your vision in the long run or if the font itself is not pleasing to your eyes, there are ways to change that. The Terminal interface is more customizable than you think. In fact, customizing the font size is just one of the many settings that you can make to your command line experience

In this article, we will explain how you can change the font size of the text in Ubuntu Terminal through the Terminal itself. This includes changing the Terminal preferences, which we will learn in this article.

We have run the commands and procedures mentioned in this article on a Ubuntu 20.04 LTS system and also on Ubuntu 18.04.

Please follow these steps in order to customize your Terminal’s text font:

Step 1: Open the Terminal

Open the Terminal application either by using the Ctrl Alt T shortcut or by accessing it through the application launcher search as follows:

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

Step 2: Access Terminal preferences

The Terminal preferences let you make several customizations to your overall Terminal experience. This also includes changing the font and font size of the Terminal text. There are two ways through which you can access the Preferences view:

1. Click on the Edit menu and then select the Preferences option as follows:

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

2. Right-click in the Terminal window and then select Preferences from the menu as follows:

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

The Preferences view opens in the following view.

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

It opens in an Unnamed profile view by default. Preferences let you create custom profiles that you can apply to your Terminal according to your needs. However, we will use this default Unnamed profile to edit the Font settings.

Step 3: Edit the Preferences

In the Preferences view, try locating the “Custom font” option that is unchecked by default. Now that you want to enable a custom font, check this option and then click on the Font type and size button against it. By default, this button will have Monospace Regular 12 as the selected font. The following “Choose a Terminal Font” dialog will open when you click on this button:

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

This dialog lets you search for a font, scroll through a list of fonts, and gives you a preview of the selected font. Select the font you want from here and then enter a text size either through the slider or through the input field.

Then click on the Select button located at the top-right corner of the dialog to confirm your selection. This will take you back to the Preferences view:

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

Click on the Close button and you will see the newly selected font and font size enabled in your Terminal:

How to Change your Ubuntu Terminal’s font and font size shell ubuntu

Through this easy method, you can customize your Terminal text and font size right according to what is comfortable and pleasing to your eyes.