[How To] Display Zorin OS Editions(Pro/Core/Lite) in neofetch output


I couldn't came up with any better solution than this. We are groing to use prin function in neofetch config.
Basically you can use prin to display anything you want. But there will be problem when displaying the right version of Zorin. So simply follow the guide to make everything displays correctly.

  1. Go to ~/.config/neofetch & open config.conf in text editor

  2. First add a # in the begining of line 7 & then add the following line

  • Lite users:

prin "$(color 6)OS$(color 7): Zorin OS Lite $(sed -n '2p' /etc/os-release | cut -b 10,11,12,13 && uname -i)"

  • Core users:

prin "$(color 6)OS$(color 7): Zorin OS Core $(sed -n '2p' /etc/os-release | cut -b 10,11,12,13 && uname -i)"

  • Pro users:

prin "$(color 6)OS$(color 7): Zorin OS Pro $(sed -n '2p' /etc/os-release | cut -b 10,11,12,13 && uname -i)"

It should look something like this:

  1. Save the changes
  2. Open terminal and run neofetch

How to know which edition you are using?

Run neofetch in terminal and mark your DE

  • GNOME = Core
  • Xfce = Lite

How to know free or pro?

Open Zorin appearance

  • Only 2 layouts = Free
  • 6 layouts = Pro
3 Likes

There is a slightly change in the code. This will update the values in neofetch automatically, when you receive a newer version of Zorin.

  • Pro users:

prin "$(color 6)OS$(color 7): Zorin OS Pro $(source /etc/os-release && echo $VERSION && uname -i)"

  • Core users:

prin "$(color 6)OS$(color 7): Zorin OS Core $(source /etc/os-release && echo $VERSION && uname -i)"

  • Lite users:

prin "$(color 6)OS$(color 7): Zorin OS Lite $(source /etc/os-release && echo $VERSION && uname -i)"

1 Like