Xfce can be easily installed (see Lab 5.3, 'Using Repositories'). To select your desktop environment, use the Session menu on the graphical login screen.
? Unplug any unneeded external devices, including USB devices, headphones, mice, and keyboards. Each USB device can consume up to 2.5 watts of power, increasing your power consumption by as much as 20 percent.
? Turn off your wireless network radio when it is not in use. Most laptops have a wireless kill switch (sometimes labeled
3.1.2. How Does It Work?
The ACPI specification enables a system's BIOS to supply data and program code to the operating system. The code is written in a unique, processor-independent pseudo-machine language called ACPI Machine Langauge (AML). The Linux kernel interpretively executes the AML code to access certain features of the host hardware system. You can think of the AML code as a type of device driver that is downloaded from the BIOS to the operating system.
The Linux kernel uses the ACPI data and code to collect data that is then exposed through the
Applications such as
The Fedora power-management system is in active development. To stay informed of the latest developments, subscribe to the
3.1.3. What About...
3.1.3.1. ...stopping the hard drive motors when the drives are not in use?
The
In the case of a two-drive system where the second drive is rarely used, an idle spin-down timeout is a good idea. Configure it with the
# hdparm -S
The -S option configures the amount of time that the drive must be idle before spin-down is triggered. The scheme used to encode the timeout period is a bit convoluted (it is described in detail on the manpage for
3.1.3.2. ...turning the computer on and off (or hibernating and resuming) at certain times automatically?
Some important operations are best performed when a system is not in normal use, such as backup, software updating, and data indexing. It's not necessary to keep a system running 24x7 in order to schedule nighttime tasks.
Most modern system BIOSes contain an
The BIOS configuration utility varies from system to system; consult your system or motherboard documentation.
Some BIOS versions permit the wake time to be set through ACPI. To see if this is possible on your system, enable the
$ cat /proc/acpi/alarm
2007-03-17 00:00:00
Attempt to set this to a time in the future (the date portion of the time may be ignored by your system). If your system clock is maintained in UTC, be sure to also specify this time in UTC:
# echo '
$ cat /proc/acpi/alarm
2007-03-17 16:45:00
Shut down your system and see if it turns on at the specified time.
Regardless of whether you can set the alarm time using Linux, you can use the wake-up feature in conjunction with
Configure your system to turn on at a specified time using either the BIOS or Linux ACPI methods. Create a
#!/bin/bash
#
# /usr/local/bin/nocturnal :: script for nighttime processing
# Place whatever commands you wish to execute at night here