Coder Social home page Coder Social logo

jacki36542 / brightness Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lordamit/brightness

0.0 0.0 0.0 1.32 MB

Using Brightness Controller, you can control brightness of both primary and external displays in Linux. Check it out!

License: Other

Python 100.00%

brightness's Introduction

Brightness Controller

This is version 2.4 of Brightness Controller for Linux. It supports an arbitrary number of displays and also allows changing the color temperature across displays!

If you like this, do not forget to give us a Star! That's the only way we can estimate whether people are using it or not since we do not collect any data, at all. GitHub stars People already did!

Installation via Pip

pip install brightness-controller-linux

Requires at least python3.8 or above, and PyQt5 or above. This installation method is fairly new, so will really appreciate if you let us know if everything is working as intended or not at your end. :)

Installation via package managers

Ubuntu and derivatives

Thanks to package maintainer @apandada1, we have PPA repository For Ubuntu and likewise users:

sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt update
sudo apt install brightness-controller

Arch and derivatives

Thanks to @yochananmarqos, a package for Arch and derivatives is available in the AUR.

yay -S brightness-controller-git

Dev Docs

Want to look at source code? Want to get started? Or want to download the source code and run it from there after building things yourself? Details are available right here!

Features

The following features are implemented:

  1. Brightness Control
  2. Saving color profile
  3. Loading color profile

Brightness Controller changes Red, Green and Blue color ratios in the screen through color profile at software level using xrandr.

We might implement the following features in the future:

  1. Rewriting GUI to integrate both Brightness Controller simple and normal
  2. Auto-loading of color and brightness settings based on profile
  3. Checking for update

We work on this in our spare time, so can not really promise when the v3 will be released. The current version available is stable and should work as intended.

Bugs

Please test v2.4. Reporting bugs is appreciated.

Wayland Bugs

Wayland does not provide a way to control the brightness of primary/external displays, so Brightness Controller won't work. It has been reported several times, and we are aware about it. Really, it is out of our hands.

Brightness and/or Color set by Brightness Controller keeps getting reset

This is something we keep getting notified about, but do not consider as a bug. Here is why.

Brightness is a shared property that can be accessed by any number of applications e.g., Brightness Controller, Adaptive Brightness of Ubuntu/Linux, Night Shift, f.lux, and looks like Skype too).

If any of the other, aggressive apps choose not to play nice and override existing brightness settings, Brightness Controller really can not gatekeep them away. Sure, we can think of a way that will result in Brightness Controller forcibly setting Brightness every 5 seconds or so, but that'd just result in a tug of war later on with an arbitrary number of applications trying to control Brightness (with unpredictable side effects).

The simpler solution is just to disable the brightness resetting function of the aggressive app instead.

Can I have just brightness sliders - For Controlling Four displays at the same time?

Try version 1.2.8/simpler version of Brightness Controller. It was written in Python2, which has been deprecated, and some of its dependencies (e.g. WxGTK for Python2) are not available in recent versions of Ubuntu. It is only available for Ubuntu 20.04 and previous versions.

To install, simply do this:

sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt-get update
sudo apt-get install brightness-controller-simple

Further details are available here

Please note that the simple version may not work properly in newer versions of Linux. Unfortunately we can not provide any more updates to the simple version.

brightness's People

Contributors

lordamit avatar archisman-panigrahi avatar zlatanvasovic avatar soggy-pancake avatar jahan-addison avatar sazid avatar andrewammerlaan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.