Ask Your Question

Adjust laptop brightness/backlight via terminal.

asked 2015-08-15 05:23:25 -0500

dokterw gravatar image

updated 2015-08-21 20:46:15 -0500

mether gravatar image

I have been trying to search for a way to adjust the brightness/backlight on my laptop's screen in the terminal. So far I have come across a wide variety of suggested possibilities, but is there a standard way to do it?

I am hoping for a similar solution like you can do with your volume: amixer -q sset 'Master' 50%

I'm running Fedora 22 with GNOME.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-15 11:31:35 -0500

slartibartfas gravatar image

The most common way is to use "xbacklight". Type

xbacklight -inc  / -dec / -set <percentage>

to increase / decrease / set the brightness. For multiple displays:

 xbacklight -display <display> -inc  / -dec / -set <percentage>

The package xbacklight must be installed.

edit flag offensive delete link more


Works! Unfortunately the slider in GNOME does not move, until I move it, unlike the volume indicator, but that's just a minor thing. As long as I can change the backlight I'm happy with this solution, as it's the best I've come across so far. Thanks for the help! Much appreciated!

dokterw gravatar imagedokterw ( 2015-08-16 05:49:55 -0500 )edit

Question Tools

1 follower


Asked: 2015-08-15 05:23:25 -0500

Seen: 3,053 times

Last updated: Aug 15 '15