Termux Banner Customization Guide
Introduction
The Termux Banner is a popular customization that makes your terminal startup screen significantly more attractive. Instead of the default welcome message, you can display custom ASCII art, colorful system information, or even blinking effects. This guide covers both using an automated tool and manual methods to give your Termux a professional, hacker-style look.
Prerequisites
Ensure you have the following ready before starting:
- Termux App: Installed and updated.
- Storage Access: Required for editing system configuration files.
- Internet Connection: To download the necessary packages.
Installation of Styling Packages
First, install the essential tools for creating ASCII art and managing terminal colors.
1. Update and Upgrade
pkg update && pkg upgrade -y
2. Install Text Art Tools
pkg install figlet toilet nano ruby neofetch -y
3. Install lolcat for Gradients
gem install lolcat
Manual Banner Setup
To make your banner appear every time you open Termux, you need to add commands to the bash.bashrc file.
1. Open the Configuration File
nano ../usr/etc/bash.bashrc
2. Add Custom Banner Commands
Scroll to the very bottom of the file and add your desired setup. For a simple text banner with gradients, add:
clear figlet "TERMUX HUB" | lolcat
Or for a detailed system info banner:
clear neofetch | lolcat
3. Save and Exit
Press CTRL + O then Enter to save, and CTRL + X to exit the editor. Restart Termux to see your new banner in action.
Using the Automated Tool
If you prefer a menu-driven approach, you can use the termux-banner Python package.
pip install termux-banner banner
This tool provides options to add blinking effects, ASCII boxes, and easy name changes through a simple interactive menu.