Pc Brightness Slider Software Free Download Github

Pip3 install screen-brightness-control. If your display is a laptop screen and can be adjusted via a Windows brightness slider then there is no easy way to get the monitor model that I am aware of. Feel free to create a pull request or to ping me an email [email protected] When I call getbrightness. Download 24.63 Mb Download and try AnimaShooter Capture free of charge and get full access to all product functions and technical support for a 21-day trial period. Operating Systems supported: Windows 7/8/8.1/10.

Latest version


A Python tool to control monitor brightness on Windows and Linux

Project description

A Python tool for controlling the brightness of your monitor. Supports Windows and most flavours of Linux.


pip3 install screen-brightness-control



For running on Linux you will need to install one of these programs: xrandr, ddcutil, light or xbacklight.
Here is a quick outline of each program:

ProgramIs it FastWorks with laptop displaysWorks with external monitorsMulti-display supportRequires RandR support
xbacklightYesYesNoYes but not individually controllableYes

Something to be aware of is that xrandr does not change the backlight of the display, it just changes the brightness by applying a filter to the pixels to make them look dimmer/brighter.

To install:

  • Arch
    • sudo pacman -S xorg-xrandr
    • sudo pacman -S ddcutil
    • sudo pacman -S light-git
    • sudo pacman -S xorg-xbacklight
  • Debian/Ubuntu
    • sudo apt install x11-xserver-utils
    • sudo apt install ddcutil
    • sudo apt install light
    • sudo apt install xbacklight
  • Fedora
    • sudo dnf install libXrandr
    • sudo dnf install light
    • sudo dnf install xbacklight

You can call this module from your command line or use it as a python library (see the documentation section below).

You can read the full documentation for this project for more details but here are the basics.

get_brightness(verbose_error=False, **kwargs)

Returns the current screen brightness as a percentage. It may return a list of values if you have multiple, brightness adjustable monitors.
Raises ScreenBrightnessError upon failure


  • verbose_error - a boolean value to control how much detail any error messages should contain
  • kwargs - passed to the OS relevant brightness method


set_brightness(value, force=False, verbose_error=False, **kwargs)

Sets the brightness to value. If value is a string and contains '+' or '-' then that value is added to/subtracted from the current brightness.Raises ScreenBrightnessError upon failure


  • value - the level to set the brightness to. Can either be an integer or a string.
  • force (Linux only) - if set to False then the brightness is never set to less than 1 because on Linux this often turns the screen off. If set to True then it will bypass this check
  • verbose_error - a boolean value to control how much detail any error messages should contain
  • kwargs - passed to the OS relevant brightness method


fade_brightness(finish, start=None, interval=0.01, increment=1, blocking=True, **kwargs)

Fades the brightness from start to finish in steps of increment, pausing for interval seconds between each step.If it runs in the main thread it will return the final brightness upon success, ScreenBrightnessError upon failure. Otherwise it returns the list of thread objects that the process is running in


  • finish - The brightness value to fade to
  • start - The value to start from. If not specified it defaults to the current brightness
  • interval - The time interval between each step in brightness
  • increment - The amount to change the brightness by each step in percent.
  • blocking - If set to False it fades the brightness in a new thread
  • kwargs - passed to set_brightness


A Toast

To GitHub users lcharles, Ved Rathi, D.W and Melek REBAI for contributing to this project


This software is licensed under the MIT license


Why do I always get ScreenBrightnessError (Linux)?

Why this happens:
The way brightness is adjusted on Linux is the program tries to run shell commands to adjust the brightness.The programs it attempts to call are 'light', 'xrandr', 'ddcutil' and 'xbacklight'.If none of these programs can be called a ScreenBrightnessError is raised

How to fix it:
Install xrandr, ddcutil, light, or xbacklight using your system package manager. See the installation section at the top of this document for instructions on how to do so.

I call set_brightness() and nothing happens (Linux)

Why this happens:
Light requires root access to run, which is usually provided when you manually install it using you package manager.If you installed xrandr or xbacklight, it only supports graphics drivers that support RandR.If you installed ddcutil, this requires root access to run for every query.

How to fix it:
If you installed xrandr or xbacklight: make sure your graphics drivers support RandR.
If you installed ddcutil: make sure to run the script with root permissions.
If you installed light: follow these steps making sure to run the install as sudo or re-compile from source (requires autoconf to be installed):

Using the display kwarg does nothing/creates exceptions (Linux)

Why this happens:
The display kwarg is only supported by the Light, XRandr and DDCUtil classes, not by XBacklight. So if you only have xbacklight installed on your system this kwarg will not work

How to fix it:
Install xrandr or ddcutil or light using your system package manager. See the installation section at the top of this document for instructions on how to do so.

The model of my monitor/display is not what the program says it is (Windows)

If your display is a laptop screen and can be adjusted via a Windows brightness slider then there is no easy way to get the monitor model that I am aware of.If you know how this might be done, feel free to create a pull request or to ping me an email [email protected]

When I call get_brightness() the returned value isn't what I set it to (Windows)

Not all monitors can set the brightness for every value between 0 and 100. Some of them have a number of 'levels' that they can be set to.You can likely see this if you open your display settings and very slowly move the brightness slider.
You can find out your brightness 'levels' by running the following python code:

  • If you encounter any issues or bugs with this software please do not hesitate to raise an issue or to email me [email protected]
  • It is unlikely that this project will support MAC in the foreseeable future for 3 reasons.
    1. I do not own a (working) MAC.
    2. I do not intend to buy a MAC
    3. From what I have found it is even less straight-forward to adjust the screen brightness from python on MAC
  • If you own a MAC an you happen to know how to adjust the brightness in python then feel free to contribute

Release historyRelease notifications RSS feed

































Download files

Pc Brightness Slider software, free download Github For Windows

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for screen-brightness-control, version 0.8.5
Filename, sizeFile typePython versionUpload dateHashes
Filename, size screen_brightness_control-0.8.5-py3-none-any.whl (30.5 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size screen_brightness_control-0.8.5.tar.gz (30.9 kB) File type Source Python version None Upload dateHashes

Hashes for screen_brightness_control-0.8.5-py3-none-any.whl

Hashes for screen_brightness_control-0.8.5-py3-none-any.whl
AlgorithmHash digest

Hashes for screen_brightness_control-0.8.5.tar.gz

Hashes for screen_brightness_control-0.8.5.tar.gz
AlgorithmHash digest

Alter the backlight brightness of Apple displays on a Windows-based PC and automatically set its level when ambient light changes

What's new in Brightness Controller

  • Fixed a rare bug where a corrupted user configuration file caused a crash during startup.
Read the full changelog

Brightness Controller is a small software application designed specifically for helping you adjust the backlight brightness of Apple displays.

Pc Brightness Slider software, free download Github

It currently supports several displays, such as 27' Apple Thunderbolt Display, 27' Apple LED Cinema Display, 24' Apple LED Cinema Display, 23' Apple Cinema Display HD (Acrylic frame), 20' Apple Cinema Display (Aluminum frame), and 20' Apple Cinema Display (Acrylic frame).

User interface

You are welcomed by a clean and minimalistic panel that hides only a few configuration settings under its hood. It actually reveals a built-in slider that gives you the possibility to easily adjust the backlight brightness.

The tool runs quietly in the system tray without interfering with your work. Right-clicking on the program’s icon gives you the possibility to open up the main window or configuration panel.

Automatic mode and other handy features to play with

Brightness Controller allows you to automatically adjust the brightness as ambient light changes or manually alter the backlight brightness from dim to bright.

What’s more, you can make the utility run at Windows startup, open the program minimized to system tray, and automatically check for updates.

You can increase or decrease the brightness and turn off the display using custom hotkeys, specify the brightness percentage adjusted by hotkeys, as well as work with multiple profiles for brightness modifications which can be controlled with the aid of user-defined hotkeys.

Last but not least, the program can gather information from Apple HID devices, mainly details related to display and brightness controller. Data can be copied to the clipboard.

Bottom line

To sum things up, Brightness Controller comes with handy features and an intuitive layout for helping you easily alter the backlight brightness of Apple displays on a Windows PC.

Pc brightness slider software, free download github download

Filed under

Brightness ControllerPc Brightness Slider software, free download Github was reviewed by Ana Marculescu
Load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy

Brightness Controller / Beta

Pc Brightness Slider software, free download Github Latest

add to watchlistsend us an update
runs on:
Windows 8 32/64 bit
Windows 7 32/64 bit
Windows Vista
file size:
525 KB
Brightness Controller 1.4.4 Setup.exe
main category:
Desktop Enhancements
visit homepage

top alternatives FREE

top alternatives PAID