This article will tell you how to change the terminal styles including terminal background color, font size for Mac, Linux, and Windows.
1. Change Terminal Style On Mac.
1.1 Set Mac Terminal Default Profile.
- Open mac terminal.
- Click the Terminal —> Preferences… menu item on the top menu bar.
- It will open the Profiles dialog window.
- Click the Profiles tab on the window, you can see a list of built-in profiles on the window left side.
- If you want to use one profile for the terminal default profile, just select it on the left and then click the Default button on the bottom to set it.
- Now when you open a new terminal, you can see the terminal window background color and font size are all derived from the selected profile definition.
- If you want to use different profiles for different terminal windows, you can click the Shell —> New Window/ New Tab menu item, then you can select the profile from the pop-up profile list.
1.2 Create Custom Mac Terminal Profile.
- If you find the default terminal profile’s style is not good for you, you can create a customized profile with specified background color and font size.
- Click the Terminal —> Preferences… menu item to open the terminal profile window.
- Select one built-in profile that you want to modify, then click the gear drop-down icon ( at the profile list bottom ) —> Duplicate Profile menu item.
- It will clone the selected built-in profile to create a new profile.
- You can give the new profile a name such as MyProfile.
- Then you can modify the profile style on the Profiles window right side.
- On the right side Text tab, you can change the terminal background color, text font size, etc.
- On the right side Window tab, you can change the terminal window’s size.
- On the right side Shell tab, you can set the command that will execute when the terminal window is started up.
- But do not forget to click the Default button on the left side bottom of the built-in profile list to save the customized profile as the terminal default profile to make it take effect.
2. Change Terminal Style On Linux.
- I just use Ubuntu Linux as an example.
- Right-click the Ubuntu desktop screen, then click the Open in Terminal menu item to open the terminal.
- Then click the Terminal —> Preferences menu item on the top menu bar to open the Preferences window.
- You can see there is a Profiles item on the window left side.
- Under the Profiles item, there is a profile with the name Unnamed that has been selected by default.
- You can click the plus icon ( + ) after the Profiles item name to create a new profile, give it a name like MyProfile.
- Then you can edit the profile’s style on the window right side.
- Click the Text tab on the right side, you can change the terminal window size, text font & size, cursor style. etc.
- On the window right side Colors tab, you can change the text color, terminal window background color, etc.
- If you want to run a command when the terminal window or tab is open, you can set the command in the Command tab.
- Click the Command tab, check the checkbox Run a custom command instead of my shell, then input the command in the Custom command input text box.
3. Change Terminal Style On Windows.
- Input keyword cmd in the Windows 10 search box ( on the bottom left corner of the Windows screen), click the Command Prompt program to open it.
- Right-click the dos window title, then click the Properties menu item in the popup menu list to open the Command Prompt‘s Properties window.
- Click the Font tab, change the text’s size in the Size scroll down list, change the text’s font in the Font scroll down list.
- Click the Colours tab, select the Screen Text radio button, then you can change the text color.
- Select the Screen Background radio button, then you can change the command prompt window’s background color.
- You can also change the command prompt window’s transparency by adjusting the Opacity scroll bar.