An open API service indexing awesome lists of open source software.

https://github.com/sjkingo/acpi-brightness

Program to modify backlight brightness through ACPI
https://github.com/sjkingo/acpi-brightness

acpi acpi-brightness backlight brightness-level c

Last synced: 10 months ago
JSON representation

Program to modify backlight brightness through ACPI

Awesome Lists containing this project

README

          

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 `` (note that this value must be in
the range [`MIN`..`MAX`], which is configured in `config.h`. By default this is
`[0..10]`):

$ brightness

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