Skip to content
Ritesh Raj Sarraf edited this page Jan 21, 2016 · 4 revisions

Installation Instructions

First, check above if there is a package for your distribution listed on the packages page. If one exists, it is preferable to install that. If not, then do the following:

Make sure you have a kernel that supports laptop mode. Any version starting from 2.6.6 should do, or any version that includes the file /proc/sys/vm/laptop_mode.

Make sure you have acpid (preferred for PC-style laptops), apmd (for older PC-style laptops that don't support ACPI) or pbbuttonsd (for Apple hardware) installed. Note: The dependency on a power management daemon is not required anymore.

Laptop Mode Tools, since around version 1.56+, has support for kernel hotplug events. Thus Laptop Mode Tools will instantly act on the power saving measures as and when the machine has a state change.

Download the file (laptop-mode-tools_x.y.tar.gz, where x.y is the version number) further down this page, and extract it using:

tar xzf laptop-mode-tools_x.y.tar.gz

Become root and install it:
su (type your root password)

cd laptop-mode-tools_x.y ./install.sh

If you are running Slackware, add this line: /etc/rc.d/init.d/laptop-mode restart to your rc.local.

Clone this wiki locally