After my laptop spontaneously switched off on two separate occasions, because I had failed to switch on the mains socket, I decided that something had to be done about the lack of power management in pekwm.
Hunting the ‘net for anything to do with pekwm is a frustrating business. You can’t help thinking that there are only a handful of us that use it. I may post something about why I think pekwm is great, but that is a topic for another day.
As my laptop’s primary desktop environment is KDE, I wanted to use the KDE power management with pekwm, rather than install the Gnome Power Manager, which would bring in a load of Gnome dependencies. If you already have Gnome installed, then I suspect the Gnome Power Manager is for you.
There seem to be three parts to this:
- Getting the power management daemon to run
- Adding a power meter
- Adding the configuration tool to the menu
Whilst these instructions are primarily for pekwm, I am sure that openbox, fluxbox and other *box window managers could use them with a little adjustment.