nowfound

Life & fun · November 2, 2025

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.

Visit github.com ↗Alternativestop 6% of November 2025

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 →
  • f.lux2014 · justgetflux.com · ▲1,353

    Adjusts your computer's display to adapt to the time of day

  • Lunar 2.02018 · lunar.fyi · ▲142

    Sync your monitor's brightness with your in-built display 🖥💡

  • Clight, small C linux user daemon to turn webcam into light sensor2017 · github.com · ▲14

    A C daemon that turns your webcam into a light sensor. It will adjust screen backlight based on ambient brightness. - FedeDP/Clight

  • Lightpack2015 · lightpack.tv · ▲255

    Ambient backlight synced to your TV or monitor

  • Lunar XDR Brightness control2022 · lunar.fyi · ▲124

    Control monitor brightness, adapt using the ambient light sensor, adjust volume, switch inputs and turn off displays without fiddling with clunky buttons.

  • MonitorControl2020 · github.com · ▲103

    🖥 Control external monitor brightness & volume on your Mac

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, November 2025

the whole month →
  • Guideflow▲1,338

    Create 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,028

    Measure your wellness. Use data to feel great every day.

    Work · Nov 2025 · welltory.com

  • Gemini 3▲1,016

    Bring any idea to life with multimodal capabilities

    AI · Nov 2025 · blog.google

  • TrustMRR▲833

    LLM 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▲782

    Life & fun · Nov 2025 · boing.greg.technology