• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

5 tips to decorate the Terminal interface on Linux

AnonyViet by AnonyViet
January 25, 2023
in Network
0

Terminal is a command line window on Linux, where you can type executable commands like CMD on Windows. Even now, Windows has its own Terminal called Windows Terminal and that. When you change the theme of the distribution, the terminal will also be changed automatically. But that doesn’t mean you can’t further customize the terminal.

Join the channel Telegram of the AnonyViet 👉 Link 👈

Many of you ask me how to customize Terminal as beautiful as me, what font do I use, etc. So, in this article, I will show you how to decorate your Terminal in the most beautiful way to celebrate Tet Please. For visualization, you can refer to the comparison image below:

5 tips to decorate the Terminal interface on Linux

Linux Terminal Decoration

This tutorial uses the GNOME Terminal on the Pop! _OS to customize and decorate the interface of Terminal. However, most customizations can also be applied to the Terminal of other distros.

For most elements like color, transparency, and fonts, you can use the GUI to adjust it without requiring any special commands to be entered.

Open Terminal in the top right corner, tap the menu icon with 3 dashes. Here, click on “Preferences” as shown below:

Linux Terminal Decoration

This is where you will find all the settings to change the look and feel of the terminal.

Note before doing: It is recommended to create a new Profile before configuring Terminal

I recommend creating a new profile to customize. Why? Because this way your changes will not affect the main terminal configuration. Suppose you make some changes wrong and can’t go back to default? At this point, separate profiles will save you.

As you can see, I have my own profiles for taking screenshots and creating videos.

It is recommended to create a new Profile before configuring Terminal

You can easily change the terminal configuration profile and open the terminal with the new profile.

create terminal profile

Tip 1: Use Dark/Light theme in Terminal

When you change the system theme, the terminal theme will also be changed. Alternatively, you can switch between dark or light theme, if you don’t want to change the system theme.

When you come in Generalyou will see options to change the theme and other settings.

Using Dark/Light theme in Terminal

Tip 2: Change the font and size

Select the Profile you want to customize. You’ll now be able to customize the look and feel of your Terminal’s text, font size, style, spacing, cursor shape, and even audio transitions.

As for the font, you can only change Font available on your system. If you want an off-system font, download and install the font on Linux first.

One more thing! Use fonts monospaced otherwise fonts may overlap and text will not be displayed clearly. I recommend using Share Tech Mono (open source) or Larabiefont (not open source).

In the Text tab, select Custom font, then change the font and size of the font (if necessary).

Change font and size

Tip 3: Change the palette and transparency

In addition to font and spacing, you can also access the “Colors” tab and change the color of the Terminal text and background. You can also adjust the transparency to make the terminal look more eye-catching.

As you can see, you can change the color scheme from the previous profile or customize it yourself.

Change palette and transparency

If you want to enable transparency like I did, you can click on the option “Use transparent background“.

You can also choose to use a color from your system theme, if you want to install a color similar to your theme.

5 tips to decorate the Terminal interface on Linux 4

Tip 4: Customize bash prompt variables

Normally you will see your username along with the hostname (your distro) as a bash command prompt when launching terminal without any changes.

For example, it would be “ankushdas@pop-os:~ $” in the case of below. However, I changed the server name to “itsfossso now it looks like:

Customize bash prompt variables

To change the hostname, you use the command:

hostname CUSTOM_NAME

However, this will only apply to current sessions. So when you reboot it will go back to default. To permanently change the hostname, you need to enter the command:

sudo hostnamectl set-hostname CUSTOM_NAME

Similarly, you can also change your username, but it requires some additional configuration including removing all existing processes associated with the active username, so It’s a bit complicated, so it won’t be covered in this article.

Tip 5: Change the font and color of the bash prompt

You can also adjust the font and color of the bash prompt (ankushdas@itsfoss:~ $) with the command. But I do not advise newbies to do this.

You will need to use an environment variable PS1 to control what is being displayed as a reminder. For example, when you type:

echo $PS1

Then the result in my case will be:

\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$

We need to focus on the first part of the result:

\[\e]0;\u@\h: \w\a\]$

Here, you need to know the following:

  • \e is a special character that denotes the beginning of a color sequence
  • \u indicates the username followed by the @ symbol
  • \H denotes the hostname of the system
  • \w denotes the base directory
  • \a indicates active directory
  • $ indicates non-root user

The results in your case may be different, but the variables will be the same, so you need to follow the commands mentioned below depending on your results.

Before you do, keep these things in mind:

  • Text formatting codes: 0 for normal text, first for bold, 3 for italics and 4 for underscores
  • Background color range: 40-47
  • Color range for text color: 30-37

You just need to enter the following command to change the color and font. Refer to the color chart here.

PS1="\e[41;3;32m[\u@\h:\w\a\$]"

And this is the result:

add linux command line console color

If you look closely at the above command, you will see /e will help us specify a color sequence.

In the above command, I specified the background color first, then the text style, then the font color, and then “m”.

Here, “m” denotes the end of the color sequence.

So all you have to fill in is this:

41;3;32

The rest of the command will stay the same, you just need to assign different numbers to change the background color, text style and text color.

Note that it’s in no particular order, you can assign text style first, background color next and text color at the end as “3; 41;32″, the command will become:

PS1="\e[3;41;32m[\u@\h:\w\a\$]"

change color terminal linux

As you may have noticed, the colors will be the same regardless of the order. So just memorize the color codes to customize and experiment until you like it.

The above command I entered will temporarily customize the bash prompt for the current session. If you close the session, it will return to default.

So to make the change permanent you need to add it to the file .bashrc (this is a configuration file that gets executed every time you log into a session).

bashrc linux

You can access the file with the command:

nano ~/.bashrc

Unless you’re sure what you’re doing, don’t change anything. And, just to rollback the settings, you should keep a backup copy of the PS1 environment variable to another file.

Even if you need the default font and color, you can still edit the file again .bashrc and restore the PS1 environment variable.

Above is how to decorate your Terminal to welcome Tet, please upload pictures of your Terminal for everyone to admire.

The article achieved: 5/5 – (100 votes)

Tags: decorateinterfaceLinuxTerminaltips
Previous Post

Why is there a Trend to remove the MacBook screen?

Next Post

Lesson 245: Combination chart in Excel

AnonyViet

AnonyViet

Related Posts

Instructions for detecting network vulnerabilities: How to check the system for data leaks (IP/DNS)
Network

Instructions for detecting network vulnerabilities: How to check the system for data leaks (IP/DNS)

October 9, 2026
Is Renting a Cheap VPS to Run Docker Really Effective?
Network

Is Renting a Cheap VPS to Run Docker Really Effective?

July 2, 2026
How to get a free domain for 1 year from Gravatar
Network

How to get a free domain for 1 year from Gravatar

June 23, 2026
Cloud Infrastructure Resilience: Mitigating Advanced Layer 7 Vulnerabilities and Securing High-Throughput Database Handshakes
Network

Cloud Infrastructure Resilience: Mitigating Advanced Layer 7 Vulnerabilities and Securing High-Throughput Database Handshakes

June 20, 2026
Save image as Type contains malicious code: Remove immediately before losing money unfairly!
Network

Save image as Type contains malicious code: Remove immediately before losing money unfairly!

March 19, 2026
Instructions on how to register a .co.uk domain name for free for 1 year
Network

Instructions on how to register a .co.uk domain name for free for 1 year

March 12, 2026
Next Post
Lesson 245: Combination chart in Excel

Lesson 245: Combination chart in Excel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

The website helps you draw beautifully like TikToker Viet My

The website helps you draw beautifully like TikToker Viet My

October 21, 2026
Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

October 21, 2026
Warning: Serious PHP RCE vulnerability and how to fix it

Warning: Serious PHP RCE vulnerability and how to fix it

October 21, 2026
Anyone can do how to increase Internet speed using CMD

Anyone can do how to increase Internet speed using CMD

October 20, 2026
The website helps you draw beautifully like TikToker Viet My

The website helps you draw beautifully like TikToker Viet My

October 21, 2026
Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

October 21, 2026
Warning: Serious PHP RCE vulnerability and how to fix it

Warning: Serious PHP RCE vulnerability and how to fix it

October 21, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

The website helps you draw beautifully like TikToker Viet My

The website helps you draw beautifully like TikToker Viet My

October 21, 2026
Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

October 21, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply