Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want one where it reduces the screen's brightness, either by time or on demand (I don't mind). I have onboard Intel graphics. I don't want it to be like Redshift where it changes the screen's hue.

share|improve this question

4 Answers 4

up vote 9 down vote accepted

On a computer with Ubuntu 11.04 and onboard Intel graphics this works for me:

$ xrandr | grep connected | cut -f1 -d" "
VGA1

Use the output name found (in this case "VGA1") and adjust the brightness

$ xrandr --output VGA1 --brightness 0.7

Note, that the xrandr man page has this to say about the --brightness flag:

However, this is a software only modification, if your hardware has support to actually change the brightness, you will probably prefer to use xbacklight.

share|improve this answer
    
This works brilliantly! Had to change it to HDMI1 instead of VGA1 for me (even though it's a DVI connection, I guess they've just called it HDMI1!). Thanks! –  nLinked Jun 17 '11 at 16:28
1  
Thank you so much, this has been extremely frustrating –  Drew Jul 3 '11 at 4:59
    
Noticed this does not work on battery, irony? It seems it is trying to do things to brightness when you get on battery, but all those attempts turn the brightness to 100% –  Drew Jul 3 '11 at 16:08
    
@ArchismanPanigrahi Thanks, for the tip! If the GUI app makes it into the official ubuntu repositories, I'll add a note of it in my answer. –  Erik Sjölund Jan 3 at 7:48
    
Excellent suggestion, this worked for me too. In my case, interestingly, the xrandr --output eDP1 --brightness 0.2 approach works fine while xbacklight -set 20 fails. –  landroni Apr 27 at 7:21

The development build of Redshift will alter brightness. I am not sure if it will alter based on the time but you could ask the developer to add this feature.

http://bazaar.launchpad.net/~jonls/redshift/trunk/revision/153

Here are the basic steps required and the INSTALL file has more detailed instructions about building from source.

  1. You will need to install the following packages:

    sudo apt-get install build-essential libtool automake autopoint
    
  2. From the Terminal get a copy of the latest development source code:

    bzr branch lp:redshift
    cd redshift
    
  3. Create the configure file, compile and build:

    ./bootstrap  
    ./configure 
    make
    
  4. Test the created application works as exepected:

    ./src/redshift -b 0.1
    
  5. Install the application:

    sudo make install
    
share|improve this answer
    
Thanks.I have no idea how to download this dev version or compile it, but I think it's exactly what I'm looking for. Any way I can use this version? –  nLinked May 25 '11 at 20:44
1  
Redshift from the Ubuntu 13.04 repository has this feature, so no need to compile yourself! Just install it with sudo apt-get install redshift. –  Serrano Pereira Jun 20 '13 at 0:03

This maybe https://launchpad.net/brightness ? It uses the webcam as a sensor to adjust screen's brightness. (It uses OpenCV and you have to build it by your own)

share|improve this answer

I use Cairo-Dock with the Screen Luminosity plugin. Its a very easy access to brightness control.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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