The most current release version in both source and RH5.2 binary formats can always be found at the kcmlaptop homepage. This is at http://www.taniwha.com/laptop
This program replaces the previous 'battery' utility (v0.6 and earlier) that I had previously released.
In order to successfully compile The Laptop Contol panels, you need at least the 1.1 version of KDE. All required libraries can be found on ftp://ftp.kde.org/pub/kde. You must also have the kernel APM package installed in your kernel. Usefull information on how to do this can be found at http://www.cs.utexas.edu/users/kharker/linux-laptop/apm.html and in the Battery Powered Linux mini-HOWTO at http://metalab.unc.edu/LDP/HOWTO/mini/Battery-Powered.html.
Compiling kcmlaptop is very easy. First make sure you have KDE and the QQT libraries installed The following should do it:
% ./configure % make % make install
If you want the 'suspend' and 'standby' menu commands to work then you should install the Linux apmd package (version 2.4 or later). If you want to use them from non-root accounts you must mark the 'apm' command 'set uid root'. To do this log on as root and enter:
chown root /usr/bin/apm;chmod +s /usr/bin/apm
If you had previously installed my battery utility you should uninstall it using the following commands.
rm -f /opt/kde/share/applnk/Utilities/battery.kdelnk rm -f /opt/kde/bin/battery rm -rf /opt/kde/share/apps/battery
That should do it! Should you run into any problems, please report them to the author
To enable the laptop utilities open KDE's control panel, click on the "Laptop" icon to open the four laptop panels.