Changing the font and background of a terminal

In almost all the linux distributions the default terminal that opens is with black text and white back ground or when you log into the text mode it would be black background with white font.

Not everyone is fond of such simple looks and if you are one of them then here are a few ways you can change that look.

Using GUI:

Go to edit->"Profile preferences" and from the tabs, color and background you can set the color for the text as well as the backgroud.

This is possible only when you are using the terminal in the GUI, but not when you log in using the text mode.

Here are two to modify the color of the font as well as the background, even when in the text mode .


To change the font run the command


This will make the font to appear in red. There are 8 possible colors for the 8 different numbers.

Similarly for changing the background color


This will set the background to green.

To make the font bold:

To go back to the default colors run the command


This command does not work in the GUI but works in the text mode.

To change the color of the font pass the option forground to the command

Where the color could be one of the following :

black, red, green, yellow, blue,magenta, cyan, or white


Similarly to change the background of the font pass the option "background" with the color.


To make the font bold

To go back to the default settings


  1. these commands only work virtually. otherwise, GUI is the only (sad unfortunate way)

    1. tput works in the terminal while using GUI too, but setterm does not.


Follow by Email