How to create a nifty terminal theme inside a Linux terminal

Many of you Linux junkies will probably spend most of your time in terminals. So you may be wondering how to spice up the plain old boring-looking terminal environment. If you are looking to enhance the look of your terminal window, one way is screenFetch.

According to its creator, screenFetch is a "bash screenshot information tool". This tool can show inside a bash terminal various pieces of system information, as well as nifty ASCII arts such as your Linux distribution logo. screenFetch can auto detect your Linux distribution and display its logo. Currently it supports Arch Linux, Mint, LMDE, Ubuntu, Debian, Fedora, SuSe/Opensuse, Mandriva/Mandrake, Crunchbang, Gentoo, Red Hat Linux, and Tiny Core distributions.

Install screenFetch on Linux

To install screenFetch, follow the steps below.

For Arch Linux:

Install screenFetch application (screenfetch-git or screenfetch) from Arch User Repository (AUR).

For Mageia:

# urpmi screenfetch

For Gentoo:

# emerge screenfetch

For Sabayon:

# equo install screenfetch

For other distributions, download the archive from github, then extract it into whatever directory you want. Make sure to change screenfetch-dev file executable as follows.

$ wget
$ sudo cp screenfetch-dev /usr/local/bin/screenfetch
$ sudo chmod 755 /usr/local/bin/screenfetch

screenFetch in Action

If you want to execute screenFetch each time you open a terminal or login in to console, add "screenfetch" command at the end of your .bashrc file.

Optionally, you can define your Linux distro with a command line option "-D".

screenfetch -D 'Fedora'

If you want, you can have screenFetch run any custom screenshot command.

screenfetch -c '/path/to/'

Remember, when screenFetch auto-starts in your terminal, it will make your terminal response slower at its first appearance because screenFetch needs to gather information.

Here is my terminal with screenFetch running.

Subscribe to Xmodulo

Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.

Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

The following two tabs change content below.
Kristophorus Hadiono is a Linux enthusiast and a teacher in private higher educations in Indonesia. He uses Linux for his daily computing, also when he teaches his students. He is currently continuing his education with government scholarship at a private university in Bangkok, Thailand.

Latest posts by Kristophorus Hadiono (see all)

7 thoughts on “How to create a nifty terminal theme inside a Linux terminal

  1. Actually you don't have to make it global executable by putting it in /usr/local/bin. You can create a local ~/bin directory in your home and put it there with the +x flag on it. Then just restart the terminal and you're ready to run it by your user. Putting something that don't required root privileges to execute in a system wide directory is a bad habit. :)

    • Nonsense!

      The majority of global commands do not require root privileges (ls, cp, rm, mv, grep, sed, ...).

      /usr/local/bin is the right place for any command you want to be available to all users.

  2. How do I install in Fedora or Ubuntu? apt-get install screenfetch or yum install screenfetch does not work.

    Thank you for you attention.

Leave a comment

Your email address will not be published. Required fields are marked *