GNOME Command to increase / decrease screen brightness

asked 2016-02-14 22:35:25 -0600

amaurer gravatar image

I recently bought a chromebook that is now running Fedora. To get the brightness keys working, I installed xbacklight, and have set shortcuts to commands that run xbacklight -inc 3 and xbacklight -dec 3, and it gets the job done.*

This, I realize, actually has a couple drawbacks. First, the little GNOME overlay showing screen brightness doesn't pop up the way volume does. Second, running xbacklight seems to take more processing power than whatever the default command is. If I run the command multiple times quickly, whatever else I'm doing tends to lag.

So I'm looking for a way to implement the default behavior. An ideal answer would be:

  • A native GNOME command that replaces xbacklight -inc 3 or whatever.
  • A command that calls the usual ALT + F7 or ALT + F8 keystrokes without remapping the function keys.


*Actually, decreasing took a little more scripting since I didn't want the screen to turn off all the way when it got to 0 brightness.

edit retag flag offensive close merge delete

Comments

i'm also having the same problem

Omid gravatar imageOmid ( 2017-10-22 22:30:29 -0600 )edit