How to change brightness on Linux desktop through the command line?

How to change brightness on linux desktop through the command line?

  • I have a Debian Linux desktop. I want to change the screen's brightness without pressing the brightness button of my monitor. How can I do this? is this possible in command line or is there an application to be installed?

  • Answer:

    You could give http://www.linuxscrew.com/2007/10/25/ajust-lcd-brightness-from-command-line-works-at-dell-1501/ a try: echo -n 100 > /proc/acpi/video/VGA/LCD/brightness Also, in the comments, there are some hints what to do alternatively if it doesn't work (f.e. using GLX0 instead of VGA. EDIT: As this doesn't seem to help, another user in the comments suggests to install xbacklight and calling xbacklight -set 100. EDIT2: And another one says if you don't have a video folder, try sudo modprobe video.

Neilvert Noval at Super User Visit the source

Was this solution helpful to you?

Other answers

Look under /sys/class/backlight for the appropriate files to frob. echo -n 6 > /sys/class/backlight/acpi_video0/brightness

Ignacio Vazquez-Abrams

If you don't have hardware support for changing the brightness of your monitor you could use the command xrandr together with its option flags --output and --brightness, as can be seen in my http://askubuntu.com/questions/45153/is-there-an-alternative-to-redshift-and-f-lux-which-only-dims-the-screen/48952#48952 to a similar question on askubuntu.com

Erik Sjölund

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.