intel_backlight_brightness_step

command module
v0.0.0-...-8942e16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2023 License: GPL-2.0 Imports: 5 Imported by: 0

README

Fix brightness control step for fn keys

Program automatically operates intel's ACPI backlight on Linux when you change backlight level with special fn buttons. It changes step from magic units to 10% of the absolute maximum value.

This will help you if

  • /sys/class/backlight/intel_backlight/max_brightness contains a large number (>100), such as 19393.
  • your fn brightness keys actually work and change the brightness, but the problem is that the step is too small, so you can't see the changes.
  • you have write access to /sys/class/backlight/intel_backlight/brightness

Build

Requires git and golang.

git clone https://github.com/coffebar/intel_backlight_brightness_step.git
cd intel_backlight_brightness_step
go build -ldflags="-s -w" intel_backlight_brightness_step.go

Usage

Run a binary file intel_backlight_brightness_step on system startup.

Install from repo

On Arch Linux install from AUR:

intel_backlight_brightness_step

Contibution

Pull Requests are welcome.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL