How To Install xfce4-power-manager on CentOS 8

xfce4-power-manager is Power management for the Xfce desktop environment

Introduction

In this tutorial we learn how to install xfce4-power-manager on CentOS 8.

What is xfce4-power-manager

Xfce Power Manager uses the information and facilities provided by HAL to display icons and handle user callbacks in an interactive Xfce session. Xfce Power Preferences allows authorised users to set policy and change preferences.

We can use yum or dnf to install xfce4-power-manager on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xfce4-power-manager.

Install xfce4-power-manager on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install xfce4-power-manager using dnf by running the following command:

sudo dnf -y install xfce4-power-manager

Install xfce4-power-manager on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install xfce4-power-manager using yum by running the following command:

sudo yum -y install xfce4-power-manager

How To Uninstall xfce4-power-manager on CentOS 8

To uninstall only the xfce4-power-manager package we can use the following command:

sudo dnf remove xfce4-power-manager

xfce4-power-manager Package Contents on CentOS 8

/etc/xdg/autostart/xfce4-power-manager.desktop
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
/usr/bin/xfce4-power-manager
/usr/bin/xfce4-power-manager-settings
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/fd4a7d82f286ebffc2804c8dc4d629dd9ba967
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/f20848d73cc092618bc2f8893036cc8573bb58
/usr/lib/.build-id/85
/usr/lib/.build-id/85/a57ddb724e901f177f7d723752bdc3e59a5870
/usr/lib/.build-id/98
/usr/lib/.build-id/98/7a26f91ac96f3eb4d611335a16c09a47998a08
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/c40cd9be22e31ff3bbbb2901b5c899c040a4a7
/usr/lib64/xfce4/panel/plugins/libxfce4powermanager.so
/usr/sbin/xfce4-pm-helper
/usr/sbin/xfpm-power-backlight-helper
/usr/share/applications/xfce4-power-manager-settings.desktop
/usr/share/doc/xfce4-power-manager
/usr/share/doc/xfce4-power-manager/AUTHORS
/usr/share/doc/xfce4-power-manager/ChangeLog
/usr/share/doc/xfce4-power-manager/NEWS
/usr/share/doc/xfce4-power-manager/README
/usr/share/doc/xfce4-power-manager/TODO
/usr/share/icons/hicolor/32x32/status/ac-adapter.png
/usr/share/icons/hicolor/32x32/status/battery-caution-charging.png
/usr/share/icons/hicolor/32x32/status/battery-caution.png
/usr/share/icons/hicolor/32x32/status/battery-empty-charging.png
/usr/share/icons/hicolor/32x32/status/battery-empty.png
/usr/share/icons/hicolor/32x32/status/battery-full-charged.png
/usr/share/icons/hicolor/32x32/status/battery-full-charging.png
/usr/share/icons/hicolor/32x32/status/battery-full.png
/usr/share/icons/hicolor/32x32/status/battery-good-charging.png
/usr/share/icons/hicolor/32x32/status/battery-good.png
/usr/share/icons/hicolor/32x32/status/battery-low-charging.png
/usr/share/icons/hicolor/32x32/status/battery-low.png
/usr/share/icons/hicolor/32x32/status/battery-missing.png
/usr/share/icons/hicolor/32x32/status/computer.png
/usr/share/icons/hicolor/32x32/status/input-keyboard.png
/usr/share/icons/hicolor/32x32/status/input-mouse.png
/usr/share/icons/hicolor/32x32/status/multimedia-player.png
/usr/share/icons/hicolor/32x32/status/pda.png
/usr/share/icons/hicolor/32x32/status/phone.png
/usr/share/icons/hicolor/32x32/status/tablet.png
/usr/share/icons/hicolor/32x32/status/uninterruptible-power-supply.png
/usr/share/icons/hicolor/32x32/status/video-display.png
/usr/share/icons/hicolor/48x48/status/ac-adapter.png
/usr/share/icons/hicolor/48x48/status/battery-caution-charging.png
/usr/share/icons/hicolor/48x48/status/battery-caution.png
/usr/share/icons/hicolor/48x48/status/battery-empty-charging.png
/usr/share/icons/hicolor/48x48/status/battery-empty.png
/usr/share/icons/hicolor/48x48/status/battery-full-charged.png
/usr/share/icons/hicolor/48x48/status/battery-full-charging.png
/usr/share/icons/hicolor/48x48/status/battery-full.png
/usr/share/icons/hicolor/48x48/status/battery-good-charging.png
/usr/share/icons/hicolor/48x48/status/battery-good.png
/usr/share/icons/hicolor/48x48/status/battery-low-charging.png
/usr/share/icons/hicolor/48x48/status/battery-low.png
/usr/share/icons/hicolor/48x48/status/battery-missing.png
/usr/share/icons/hicolor/48x48/status/computer.png
/usr/share/icons/hicolor/48x48/status/display-brightness.png
/usr/share/icons/hicolor/48x48/status/input-keyboard.png
/usr/share/icons/hicolor/48x48/status/input-mouse.png
/usr/share/icons/hicolor/48x48/status/keyboard-brightness.png
/usr/share/icons/hicolor/48x48/status/multimedia-player.png
/usr/share/icons/hicolor/48x48/status/pda.png
/usr/share/icons/hicolor/48x48/status/phone.png
/usr/share/icons/hicolor/48x48/status/tablet.png
/usr/share/icons/hicolor/48x48/status/uninterruptible-power-supply.png
/usr/share/icons/hicolor/48x48/status/video-display.png
/usr/share/icons/hicolor/scalable/status/ac-adapter-symbolic.svg
/usr/share/icons/hicolor/scalable/status/ac-adapter.svg
/usr/share/icons/hicolor/scalable/status/battery-caution-charging-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-caution-charging.svg
/usr/share/icons/hicolor/scalable/status/battery-caution-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-caution.svg
/usr/share/icons/hicolor/scalable/status/battery-empty-charging-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-empty-charging.svg
/usr/share/icons/hicolor/scalable/status/battery-empty-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-empty.svg
/usr/share/icons/hicolor/scalable/status/battery-full-charged-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-full-charged.svg
/usr/share/icons/hicolor/scalable/status/battery-full-charging-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-full-charging.svg
/usr/share/icons/hicolor/scalable/status/battery-full-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-full.svg
/usr/share/icons/hicolor/scalable/status/battery-good-charging-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-good-charging.svg
/usr/share/icons/hicolor/scalable/status/battery-good-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-good.svg
/usr/share/icons/hicolor/scalable/status/battery-low-charging-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-low-charging.svg
/usr/share/icons/hicolor/scalable/status/battery-low-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-low.svg
/usr/share/icons/hicolor/scalable/status/battery-missing-symbolic.svg
/usr/share/icons/hicolor/scalable/status/battery-missing.svg
/usr/share/icons/hicolor/scalable/status/computer.svg
/usr/share/icons/hicolor/scalable/status/display-brightness-symbolic.svg
/usr/share/icons/hicolor/scalable/status/display-brightness.svg
/usr/share/icons/hicolor/scalable/status/keyboard-brightness-symbolic.svg
/usr/share/icons/hicolor/scalable/status/keyboard-brightness.svg
/usr/share/icons/hicolor/scalable/status/keyboard.svg
/usr/share/icons/hicolor/scalable/status/mouse.svg
/usr/share/icons/hicolor/scalable/status/multimedia-player.svg
/usr/share/icons/hicolor/scalable/status/pda.svg
/usr/share/icons/hicolor/scalable/status/phone.svg
/usr/share/icons/hicolor/scalable/status/tablet.svg
/usr/share/icons/hicolor/scalable/status/uninterruptible-power-supply.svg
/usr/share/icons/hicolor/scalable/status/video-display.svg
/usr/share/icons/hicolor/scalable/status/xfce4-power-manager-settings.svg
/usr/share/licenses/xfce4-power-manager
/usr/share/licenses/xfce4-power-manager/COPYING
/usr/share/locale/ar/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ast/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/be/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/bg/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ca/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/cs/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/da/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/de/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/el/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/en_AU/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/en_GB/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/es/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/et/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/eu/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/fi/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/fr/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/gl/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/he/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/hr/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/hu/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/hy_AM/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/id/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ie/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/is/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/it/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ja/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/kk/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/kn/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ko/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/lt/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ms/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/nb/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/nl/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/nn/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/oc/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/pa/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/pl/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/pt/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/pt_BR/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ro/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ru/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/si/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/sk/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/sl/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/sq/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/sr/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/sv/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/te/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/th/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/tr/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ug/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/uk/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ur/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/ur_PK/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/vi/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/zh_CN/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/zh_HK/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/locale/zh_TW/LC_MESSAGES/xfce4-power-manager.mo
/usr/share/man/man1/xfce4-power-manager-settings.1.gz
/usr/share/man/man1/xfce4-power-manager.1.gz
/usr/share/metainfo/xfce4-power-manager.appdata.xml
/usr/share/polkit-1/actions/org.xfce.power.policy
/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop

References

Summary

In this tutorial we learn how to install xfce4-power-manager on CentOS 8 using yum and dnf.