Saturday 18 May 2019

How To Customize Colour And Fonts In Termux


Hello everyone, This is an article with tutorial on how to customize termux colour and fonts and also change header banner to look more attractive, this method will remove the "Welcome To Termux" header.
First I would like to take take you through the tutorial on how to change termux colour and fonts without challenges. Terminal looks good with attractive green and other hacking colours and termux has many in-built colours and fonts. Let's start the first tutorial.

How To Change Termux Colours And Fonts

For you users, Termux is no stranger? with the theme colors that are dark even with the usual writing color, not just text or fonts may be normal, to change the theme colors and fonts ditermux it is easier to do, actually changing the color of the theme and changing fonts in the termux has a big effect on its use itself, but if you already use thermux with a different color with the default theme color has a different impression so you are much more at home using the thermux and far deeper to learn it.

To change the colour and fonts, Copy and Paste the following commands in termux:


pkg install curl

next is to install ohmyzsh,  Copy all the scripts below

sh -c "$(curl -fsSL https://github.com/Cabbagec/termux-ohmyzsh/raw/master/install.sh)"

If you have successfully installed Ohmyzsh, there will be lots of theme choices, just select the number, for example, if you want to choose number 7, just write the number then enter



To change colors and fonts again, you don't have to install the script again, just enter the script as below. 

Change the color of the theme

~/.termux/colors.sh

Change Fonts type

~/.termux/fonts.sh



Now that's how to change the color of the theme and the type of fonts built in to the termux to make it more attractive and make you more comfortable to deepen the learning of  termux application.

Let's move on to the tutorial on how to install and customize screenfetch termux header


Installing Neofetch Termux Header


Follow the steps below to install screenfetch and dependency packages in termux:

  • apt update && apt upgrade
  • pkg install vim
  • pkg install ruby
  • gem install lolcat
  • pkg install cowsay
  • pkg install toilet
  • pkg install neofetch



After all the installation is complete, you will need to edit the zshrc file in the etc directory of termux. To do that, paste the following into termux:

cd ..

cd usr/etc


At this point, you will need to remove the termux header "Welcome to termux". Copy and paste below to remove the default termux header:

rm -rf motd
Now you have successfully removed the default termux header. Now you need to edit and setup the zshrc file in order to customize the termux header with neofetch banner and few words that you want appear on header display:

nano zshrc
Now you will see the file can be edited. Copy and paste all below commands at once in the file just below the code "PS1='%# ':

clearscreenfetchecho Blog: https://jajabtech.blogspot.com | lolcat -a -d 10echo Telgram: @TechnicalManzoo | lolcat -a -d 10echo Instagram: @technicalmanzoo | lolcat -a -d 10echo Do visit my blog for more tutorials | lolcat -a -d 10

Do the editing just like below photo

Where you see my blog and social media links, you can replace with your words and links too. 

After this, Press CTRL and then X, It will ask "Save modified buffer? press Y and and then CTRL and M to close the file. You are done. Now open another termux window and check if it successful.

Check on this youtube link for the video tutorial


Hope my blog was helpful. If you have any challenges and/complements, please let me know in the comment box below. Thank you for visiting my blog. Stay tuned for more Termux tutorials


2 comments:
Write comments
  1. apt update
    apt upgrade
    pkg install git
    pkg install mc
    ls
    mc

    ReplyDelete
  2. I am incapable of reading articles online very often, but I’m happy I did today. It is very well written, and your points are well-expressed. I request you warmly, please, don’t ever stop writing. ibmseotips

    ReplyDelete