Skip to content

Three simple bash scripts that can be used to control screen brightness using xrandr. Solution to issue raised by Giorgos Saridakis and building on an answer provided by Renato Miotto.

License

Notifications You must be signed in to change notification settings

AlexBV117/BashScreenBrightnessScripts

Repository files navigation

BashScreenBrightnessScripts

Three simple bash scripts that can be used to control screen brightness using xrandr.

Stack Exchange Issue Solution

Solution to issue raised by Giorgos Saridakis:

https://askubuntu.com/questions/1230937/ubuntu-20-04-brightness-adjust-not-working

Credit to Renato Miotto their solution is the basis for these scripts.

Other

I was having this issue on my installation of Kubuntu 21.10 on my Alienware m15 laptop.

I have the Set script to run at login to set the brightness to how I had it last (mostly so if im in a dark room I am not blinded). I then have the other scripts mapped to the brightness up and down buttons on my keyboard. This fixes the broken feature of the default power management package that Kubuntu uses.

Hopefully this can save you some time having to create something similar and fix the problem to a mostly satisfactory level.

About

Three simple bash scripts that can be used to control screen brightness using xrandr. Solution to issue raised by Giorgos Saridakis and building on an answer provided by Renato Miotto.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages