/auto-brightness-toggle

A GNOME extension that allows you to toggle auto brightness from quick settings

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Auto Brightness Toggle

A GNOME extension that allows you to toggle auto brightness from quick settings.
Currently supports: GNOME 43.
Note: Your system needs to support auto brightness. Check the troubleshoot section below to determine.

Get it on GNOME Extensions

Usage:

Install -> Works OOB (No extra config needed)

Troubleshoot:

If you have enabled the extension but "Auto Brightness" is greyed out in your quick settings, check if your system supports auto brightness.
Goto Gnome Settings -> Power and look for Automatic Screen Brightness. If this option is not found, it means your system does not support auto brightness, hence the extension won't work.
If you believe your hardware does support auto brightness, you need to check if your GPU driver has been correctly installed/configured.

To-Do:

  • Add detection of the availability of auto brightness (check if hardware/OS supports)
  • Add custom "auto brightness" icon
  • Translation (haven't tested)

Fun Fact:

Once upon a time, I needed something to quickly turn on/off auto brightness just like on a smartphone. Then after a quick search I discovered this extension: https://github.com/diegonz/toggle-auto-brightness. It looks exactly what I needed! Until... it won't install on my Fedora 37!

Ah-ha! It has stopped updating since 2019 and hence doesn't support GNOME 43! Having forked the repo and a quick look at the code, hmmmm, GNOME 43 has changed a lot! I eventually decided to create a new extension from scratch since there was not much code I can borrow.