You can add color to your Linux terminal using special ANSI encoding settings, either dynamically in a terminal command or in configuration files, or you can use ready-made themes in your terminal emulator.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Ubuntu related queries.
In this context, we shall look into how you can change the font type, size, and, color of the Ubuntu 20.04 LTS terminal.
How to modify font type and size on Ubuntu ?
You can follow the process given below to make these changes:
i. When you open your terminal by pressing 'Ctrl+Alt+t' from the keyboard, you will see its font type, size, and color.
ii. To modify your font type and size, right-click anywhere on your terminal window, and select Preferences.
This process takes you to the Preferences – Profile window.
You can see the Custom font field when zoomed.
iii. As you can see, my current font is Monospace Regular, and the font size is 12. The field is currently greyed out, so I can’t make any changes. To be able to make changes, check the checkbox next to Custom font.
iv. Once the box is checked, the Custom font field is enabled, and you can click it to choose a new font and font size.
v. Scroll through the list and choose your new font.
To change the font size, you have two options. We will look at both.
Drag the range slider to increase or decrease the font size.
i. Click the – or + button next to the font size at the bottom right of the window to decrease or increase the font size, respectively.
ii. You will see a preview of your new font and font size at the bottom of the window
iii. Once you have finalized the font and font size, click Select at the top of the window.
iv. This takes you to the Preferences – Profile window. The font and font size have been updated.
v. Then, if you go back to the terminal, you can see the new font type and size as allocated.
How to modify font and background color ?
i. To modify your font and background color, go to the Colors tab on Preferences – Profile window.
ii. You can see the options for Text and Background Color and Palette. By default, the colors used are from the system theme. Like the Custom font, this option is disabled at first.
iii. To make any changes, uncheck the Use color from the system theme box.
iv. Now, the rest of the Text and Background Color section is enabled.
You can change the font and terminal color by choosing from the Built-in schemes dropdown.
v. Here, you can choose any color you want, and you can see that the terminal color and font color have changed.
Now when you go to the terminal, you can see the new colors.
[Need urgent assistance to install packages on Ubuntu? We are available to help you. ]