xfce4-power-manager command not found

In this troubleshooting guide we learn how to fix xfce4-power-manager command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xfce4-power-manager: command not found

or when using sudo you get the following error message

sudo: xfce4-power-manager: command not found

Solutions to xfce4-power-manager: command not found

How To Fix xfce4-power-manager: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xfce4-power-manager is provided by xfce4-power-manager package.

xfce4-power-manager is:

This power manager for the Xfce desktop enables laptop users to set up a power profile for two different modes “on battery power” and “on ac power” while still allowing desktop users to at least change the DPMS settings and CPU frequency using the settings dialogue..

It features:

  • battery monitoring
  • cpu frequency settings
  • monitor DPMS settings
  • suspend/Hibernate
  • LCD brightness control
  • Lid, sleep and power switches control

To fix this problem, we can install more using the command below.

sudo apt-get -y install xfce4-power-manager

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xfce4-power-manager.

sudo apt -y install xfce4-power-manager

Or if you have aptitude installed you can use the following command.

sudo aptitude install xfce4-power-manager

Summary

In this tutorial we learn how to fix xfce4-power-manager command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.