RSS
 

Customize your Linux Terminal (Bash)

05 Dec 2015

So the terminal is something that a program uses all the time but the default terminals on Unix distros looks very plain and boring in my opinion.

While I really like the Kali Linux terminal style I use my Xubuntu distro much more often, its my personal favourite. So I decided to customize it and make it look more interesting.

Before

Original Terminal Xubuntu

After

Customized Terminal

The customized terminal when opened prints:

How to get the above terminal style

To replicate the colours and style, simply copy the preferences from the image below. These settings should be pretty similar on all graphics based Linux distributions.
Xubuntu Terminal Style Preferences

You can download the Aperture Laboratories background image by Download Aperture Laboratories Terminal Wallpaper.

 

You will have to modify your bash preference files to get the terminal welcome message printed at the top of the terminal when you spawn a new shell (bash prompt).

Navigate to your home directory and add the following to the end of your .bash_profile  file:

Next, append the following to .bashrc file:

Now restart your terminal or spawn a new shell to see the results!

Note:  The function which determines the CPU usage is a little slow so you may notice a slight delay (~150ms) every time you spawn a new shell. If this is a massive problem for you, simply remove the CPU usage line from the terminal welcome message.

 
No Comments

Posted in Linux

 

Leave a Reply