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
- Host: GitHub
- URL: https://github.com/sjkingo/acpi-brightness
- Owner: sjkingo
- Created: 2012-12-03T09:20:26.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T20:51:57.000Z (over 7 years ago)
- Last Synced: 2024-12-20T13:32:40.562Z (over 1 year ago)
- Topics: acpi, acpi-brightness, backlight, brightness-level, c
- Language: C
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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