Ambient light sensor control of keyboard and screen brightness in Linux
I have always wanted cool features in Linux because I use it day to day as my OS. I have always wanted to implement this feature and do it properly: one that automatically adjusts keyboard and LCD backlights using data from the Ambient Light Sensor. I enjoy low-level programming a lot. I delved into writing this program in C. It came out well and worked seamlessly on my device. Currently, it only works for keyboard lights. I designed it in a way that the support for LCD will come in seamlessly in the future. But, in the real world, people have different kinds of devices. And I made sure to…
Ambient light sensor control of keyboard and screen brightness in Linux launched on November 2, 2025 with 26 votes, #558 of 9,795 launches that month and more than 90% of that year's launches.
In plain words
This program automatically adjusts keyboard backlight brightness on Linux systems based on ambient light sensor data. Written in C, it reads sensor input through the kernel's iio interface to provide real-time lighting adjustments. Currently supporting keyboard backlights, the software is architected to add LCD screen brightness control in future updates. It is designed for Linux users who want automatic display adaptation and is intended to work across different device types.
written from the facts on this page · September 2026
From the sources
Auto control of keyboard and LCD backlight throught Ambient Light Sensor - donjajo/als-led-backlight
This program takes in data from the Ambient Light Sensor if found present on your laptop, and automatically adjust the light and its intensity on your keyboard if detected. make Running # ./build/als-led-backlight Installing Install the this package as a service by running with root privilege: Currently, it reads config file from /etc/als-led-backlight.conf . You can adjust the base reading threshold with thisfrom github.com
In the maker’s words, at launch
I have always wanted cool features in Linux because I use it day to day as my OS. I have always wanted to implement this feature and do it properly: one that automatically adjusts keyboard and LCD backlights using data from the Ambient Light Sensor. I enjoy low-level programming a lot. I delved into writing this…
Does a similar job
all alternatives →

Clight, small C linux user daemon to turn webcam into light sensor2017 · github.com · ▲14A C daemon that turns your webcam into a light sensor. It will adjust screen backlight based on ambient brightness. - FedeDP/Clight

Lunar XDR Brightness control2022 · lunar.fyi · ▲124Control monitor brightness, adapt using the ambient light sensor, adjust volume, switch inputs and turn off displays without fiddling with clunky buttons.

More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 3d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 10d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 14d ago · carrierexplode.com

Life & fun · 24d ago · space.bl2.net
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, November 2025
the whole month →
Guideflow▲1,338Create interactive product demos and step-by-step guides in seconds with Guideflow, the leading AI-powered demo automation tool.
AI · Nov 2025 · guideflow.com

Hardware and software projects by Ali Roberts
Life & fun · Nov 2025 · bitsnpieces.dev
Welltory▲1,028Measure your wellness. Use data to feel great every day.
Work · Nov 2025 · welltory.com

TrustMRR▲833LLM Gateway is a b2b artificial intelligence based in United States, founded in 2025. $259,539/month in verified Stripe revenue. $78,764 MRR. Ahrefs Domain Rating 52/100. growing 55% month-over-month. Track LLM Gateway's verified metrics on TrustMRR.
Growth · Nov 2025 · trustmrr.com
Boing▲782Life & fun · Nov 2025 · boing.greg.technology