Skip to content

sjkingo/acpi-brightness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acpi-brightness

This is a small program for adjusting the brightness of a backlight through ACPI (e.g. on a laptop screen). The binary is setuid root so it can be run by any user.

It may be configured by editing the config.h file and re-compiling.

Installation

  1. Modify config.h if needed.
  2. $ make to compile.
  3. # make install to install the binary to /usr/bin.

You may remove the program by running # make uninstall.

Usage

To display the current brightness level

$ brightness

To set the current brightness level to a given <value> (note that this value must be in the range [MIN..MAX], which is configured in config.h. By default this is [0..10]):

$ brightness <value>

To increase the current brightness level by 1:

$ brightness up

To decrease the current brightness level by 1:

$ brightness down

To set the brightest level:

$ brightness max

To set the dimmest level:

$ brightness min

About

Program to modify backlight brightness through ACPI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published