cbatticon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cbatticon: command not found
or when using sudo you get the following error message
sudo: cbatticon: command not found
Solutions to cbatticon: command not found
How To Fix cbatticon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cbatticon is provided by cbatticon package.
cbatticon is:
Utility that displays battery information as battery status, remaining percentage, remaining time, using an icon in the system tray.
Based on code from xbattbar-acpi, cbatticon sits in your system tray, reporting on battery events, like plug-in, critical, remaining, etc.
A regular user can (re)define custom system’s behaviour, like performing graceful shutdown on critical status, by user-defined thresholds and commands on low power/critical.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cbatticon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cbatticon.
sudo apt -y install cbatticon
Or if you have aptitude installed you can use the following command.
sudo aptitude install cbatticon
Summary
In this tutorial we learn how to fix cbatticon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.