GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - httpsworldview/alight: tiny linux backlight utility

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
90-alight.rules
90-alight.rules
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
alight.c
alight.c
 
 

Repository files navigation

alight

alight is a tiny backlight control utility for Linux.

Usage

alight                 # show current brightness (%)
alight 40              # set brightness to 40%
alight +10             # increase by 10 percentage points
alight -10             # decrease by 10 percentage points
alight -l              # list usable devices
alight -d acpi_video0  # use a specific device

Values are percentages from 0 to 100 and are clamped. alight 0 writes raw brightness 0, which can blank some displays.

By default, alight scans /sys/class/backlight and prefers devices in order of: firmware, platform, raw, then anything else; ties are resolved in lexicographic order. Use -d DEVICE or ALIGHT_DEVICE=DEVICE to choose one.

Build

make

Install

doas make install
doas udevadm control --reload-rules
doas udevadm trigger --subsystem-match=backlight --settle

Defaults: /usr/local/bin, /etc/udev/rules.d, and /usr/local/share/licenses/alight. Override PREFIX, BINDIR, UDEVDIR, LICENSEDIR, or DESTDIR as needed.

The udev rule gives the video group read/write access to backlight brightness files using /bin/chgrp and /bin/chmod; adjust 90-alight.rules if needed. Your user must be in video.

Uninstall

doas make uninstall
make clean

License

Copyright (C) 2026 Maika Namuo.

alight is licensed under the GNU General Public License v3.0 or later. See LICENSE for the full license text.

About

tiny linux backlight utility

Topics

backlightbrightnesslinuxwaylandx11

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.