Neofetch is a command-line utility software that displays the system information and configuration settings attractively. Neofetch is a popular software among people who enjoy customizing their desktops and showcasing their configurations (often referred to as "rice"). It has been well-liked since its creation. In this article let's have a look at how we can change the ASCII logo which neofetch displays in the output.
Installation
To install Neofetch, go to the terminal and search for the Neofetch package in your preferred package manager. Neofetch is a popular tool, so it should be easily available in most repositories.
For Ubuntu/Debian
Note: Do not use
sudo
on Debian-based distros
First, update your system
sudo apt update
Install neofetch
using apt
package manager
sudo apt install neofetch
For Arch Systems
Using Pacman, type:
pacman -S neofetch
Using Yaourt, run:
yaourt -S neofetch-git
Or
yaourt -S neofetch
This command will clone the neofetch-git repository and build the package using mkepkg
Using packer run
packer -S neofetch
Or
packer -S neofetch-git
The Default Output
The default output of neofetch command is as below:
neofetch
output:
Change the Logo
As you can see we can have different ASCII logos, this can be achieved by typing the following command in the terminal:
neofetch --ascii_distro <distroname>
The following <distroname> options are vailable:
ASCII:
--ascii_colors x x x x x x
Colors to print the ascii art
--ascii_distro distro
Which Distro's ascii art to print
NOTE: AIX, Alpine, AlterLinux, Anarchy, Android, Antergos, antiX,
"AOSC OS", "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike, XFerience, Arch‐
Merge, Arch, Artix, Arya, Bedrock, Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, Bun‐
senLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, Chapeau, Chrom, Cleanjaro, ClearOS,
Clear_Linux, Clover, Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, DesaOS, Devuan, Dra‐
cOS, DragonFly, Drauger, Elementary, EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren,
FreeBSD, FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo, gNewSense, GNOME, GNU, GoboLinux,
Grombyang, Guix, Haiku, Huayra, Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora,
KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, Neptune, NetBSD, Netrunner, Nitrux, NixOS,
Nurunner, NuTyX, OBRevenge, OpenBSD, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian, Reborn_OS, Redstar,
Redcore, Redhat, Refracted_Devuan, Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS, Solus, Source_Mage, Sparky,
Star, SteamOS, SunOS, openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, Ubuntu, Venom, Void, Obarun, windows10,
Windows7, Xubuntu, Zorin, and IRIX have ascii logos
NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
NOTE: Use '{distro name}_old' to use the old logos.
NOTE: Ubuntu has flavor variants.
NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, Antrix, CentOS, Cleanjaro, Elemen‐
taryOS, GUIX, Hyperbola, Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, Slackware, SunOS, Lin‐
uxLite, OpenSUSE, Raspbian, postmarketOS, and Void have a smaller logo variant.
NOTE: Use '{distro name}_small' to use the small variants.
Set Custom Image
To set a custom image you need to first convert the image into ASCII art. To do this we need a program called jp2a
, it is a simple JPEG-to-ASCII converter.
Execute the following command to perform the conversion and store the JPEG image in ASCII text format:
jp2a ~/Pictures/photo.jpg >> ~/Downloads/photo.txt
To employ this image with neofetch, input the subsequent command:
neofetch --ascii ~/Downloads/photo.txt
output:
Final Words
In conclusion, changing the ASCII logo in Neofetch is a simple process that allows you to personalize your terminal and make it your own. By using the jp2a
and --ascii
flag and providing the path to your custom image file, you can easily set a new logo for Neofetch to display.
Remember to keep the image file in a supported format and to use the correct file path when specifying the location of the image. With a few quick commands, you can give your terminal a fresh new look with a custom Neofetch logo.
And as always, Keep Reading, Keep Exploring and Keep Learning.