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, that we will learn in this article.
We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system
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:
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:
2. Right-click in the Terminal window and then select Preferences from the menu as follows:
The Preferences view opens in the following view.
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:
This dialog lets you search for a font, scroll through a list of fonts, and gives you the 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:
Click on the Close button and you will see the newly selected font and font size enabled in your Terminal:
Through this easy method, you can customize your Terminal text and font size right according to what is comfortable and pleasing to your eyes.