I have a thinkpad (x301) with an external monitor connected via a DisplayPort to HDMI cable. I can control the brightness of the laptop monitor using the keys on the laptop, but I can't work out how to control the brightness of the external monitor.

$ ls /sys/class/backlight/*/brightness
/sys/class/backlight/acpi_video0/brightness
/sys/class/backlight/intel_backlight/brightness
$ cat /sys/class/backlight/acpi_video0/brightness
11
$ cat /sys/class/backlight/acpi_video0/max_brightness
15
$ cat /sys/class/backlight/intel_backlight/brightness
501804
$ cat /sys/class/backlight/intel_backlight/max_brightness
2414340

I can write values into the above and both intel_backlight and acpi_video0 changes the brightness of the laptop monitor.

Does the above mean that there is no way to change the brightness of the external monitor (other than the OSD)?

You can do this from the command line (and thus do it automatically each evening via cron) using xrandr as described at How to change LCD brightness from command line (or via script)?

E.g.

xrandr --output HDMI1 --brightness 0.5

This doesn't change the backlight or affect power usage, it just adjusts the gamma value in software. I've heard that Brightness Controller uses xrandr under its GUI skin.

Use xrandr --listactivemonitors to get the correct monitor if not you'll probably get xrandr: Need crtc to set gamma on..

ddccontrol was in Lucid 10.04 and seems to have worked well, but was orphaned by Debian due to lack of interest and hasn't been picked up by anyone since.

Update ddccontrol is back in xenial. See

  • Is there a way to tie the brightness levels of each monitor together? So if I change the brightness level on my primary screen, the secondary moves to match it? – Breedly Jan 14 '16 at 14:05
  • @Breedly I don't know. Click on "Ask Question" to ask a new question. – nealmcb Jan 14 '16 at 21:56
  • 1
    xrandr only seemed to work for me for about 2 seconds then went back to normal. ddccontrol is the way to go though, actually controls the backlight, and works well. It is back in ubuntu now, xenial and yakkety. – Gringo Suave Oct 17 '16 at 21:15

Install Brightness Controller Install brightness-controller from the Ubuntu Software Center. If it is not available then download the .deb file.

Screenshot 1

Now you can adjust the brightness using the slider.

  • This is not in the normal repos, but is in the software center at least for 12.04. It does not change the backlight brighness, but does change the overall brightness, though I'm not sure how. It says it uses a proprietary license, but also says it is "gpl-3". Very odd. And I'd like a command-line interface that I can script to gradually lower brightness in the evening. But I'm still glad to have it - thanks! – nealmcb Apr 28 '14 at 20:30
  • 1
    It's written in Python and uses xrandr. We don't know how to package it for Ubuntu so we submitted it under propritary license (so that reviwers will package it). Source is available at github. github.com/lordamit/Brightness/tree/master – Archisman Panigrahi Apr 29 '14 at 7:07
  • 1
    You can control brightness with xrandr via command line like askubuntu.com/a/457281/124466. That's what Brightness Controller does in the backend. – Archisman Panigrahi Apr 29 '14 at 7:13

Here is the latest information for the brightness controller. There are 2 versions available. Version 1 aka simple version allows support for up to 4 monitors and maintains the classic sliders. Version 2 allows for more specialized control as well as multiple monitors.

You can check them both out here Brightness Controller

For faster install use the PPA

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

Then for Version 1

sudo apt-get install brightness-controller-simple

Brightness Controller Simple

Or for Version 2

sudo apt-get install brightness-controller

Brightness Controller

Enjoy!

  • Worked like a charm. 16.10 – Mahdi Rafatjah Nov 8 '17 at 6:23
  • Remember that this software only adds a dark overlay and doesn't really reduce any power consumption. – Muhammad bin Yusrat Feb 23 at 18:54

ADditional info: I'm using CRT monitor. – Neilvert Noval Mar 11 '11 at 17:06It seems that it is not possible to control external monitors using the /sys/class/backlight. But there exists an application called ddccontrol which can control the brightness of your external monitor.

Instructions on how to use the command line interface are available here.

Basically you need to probe for available monitors and controls using ddccontrol -p and look for the address of the control you want in the output and then set the value using ddccontrol -p -r 0x10 -w 70.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.