How To Install xfce4-power-manager on Debian 10
Introduction
In this tutorial we learn how to install xfce4-power-manager
on Debian 10.
What is xfce4-power-manager
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
There are three methods to install xfce4-power-manager
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xfce4-power-manager Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xfce4-power-manager
using apt-get
by running the following command:
sudo apt-get -y install xfce4-power-manager
Install xfce4-power-manager Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xfce4-power-manager
using apt
by running the following command:
sudo apt -y install xfce4-power-manager
Install xfce4-power-manager Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xfce4-power-manager
using aptitude
by running the following command:
sudo aptitude -y install xfce4-power-manager
How To Uninstall xfce4-power-manager on Debian 10
To uninstall only the xfce4-power-manager
package we can use the following command:
sudo apt-get remove xfce4-power-manager
Uninstall xfce4-power-manager And Its Dependencies
To uninstall xfce4-power-manager
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove xfce4-power-manager
Remove xfce4-power-manager Configurations and Data
To remove xfce4-power-manager
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge xfce4-power-manager
Remove xfce4-power-manager configuration, data, and all of its dependencies
We can use the following command to remove xfce4-power-manager
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xfce4-power-manager
Dependencies
xfce4-power-manager have the following dependencies:
- upower
- xfce4-power-manager-data
- libc6
- libcairo2
- libgdk-pixbuf2.0-0
- libglib2.0-0
- libgtk-3-0
- libnotify4
- libpango-1.0-0
- libpangocairo-1.0-0
- libupower-glib3
- libx11-6
- libxext6
- libxfce4ui-2-0
- libxfce4util7
- libxfconf-0-2
- libxrandr2
References
Summary
In this tutorial we learn how to install xfce4-power-manager
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.