Is there an alternative to Redshift and F.lux which only dims the screen?

13,759

Solution 1

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.

Solution 2

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
    

Solution 3

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:
13,759

Related videos on Youtube

nLinked
Author by

nLinked

Updated on September 18, 2022

Comments

  • nLinked
    nLinked over 1 year

    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.

  • nLinked
    nLinked almost 13 years
    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
    nLinked almost 13 years
    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!
  • Drew
    Drew almost 13 years
    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%
  • Serrano Pereira
    Serrano Pereira almost 11 years
    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.
  • Erik Sjölund
    Erik Sjölund over 10 years
    @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.
  • landroni
    landroni about 10 years
    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.