Overview
Files in the Appendix should simply be copied to their corresponding system directories. Make sure that all files are readable, and additionally that all scripts are executable.
The scripts are made for dash (Debian Almquist shell), so they should be quite compatible.
WARNING: The scripts in the Power Management section below need more testing. Review and adapt them before use: they change CPU and disk settings, including writeback intervals. Their behavior on physical hardware has not been retested for this edition.
Power management
/etc/acpi/events/ac_adapter# Change power mode on power source transition
event=ac_adapter
action=/etc/acpi/handlers/power-ctl %e/etc/acpi/handlers/power-ctlSee power-ctl
/etc/acpi/resources/laptop_modeSee laptop_mode
Volume and backlight
/etc/acpi/events/video-brightnessup# Increase screen brightness through dedicated script
event=video/brightnessup
action=/etc/acpi/handlers/backlight-ctl.sh up/etc/acpi/events/video-brightnessdown# Decrease screen brightness through dedicated script
event=video/brightnessdown
action=/etc/acpi/handlers/backlight-ctl.sh down/etc/acpi/handlers/backlight-ctl.shSee backlight-ctl.sh
/etc/acpi/events/button-volumeup# Raise Master volume of default ALSA device
event=button/volumeup
action=/usr/bin/amixer set Master 5%%+/etc/acpi/events/button-volumedown# Lower Master volume of default ALSA device
event=button/volumedown
action=/usr/bin/amixer set Master 5%%-/etc/acpi/events/button-volumemute# Toggle Master volume of default ALSA device
event=button/mute
action=/usr/bin/amixer set Master toggle