How do you change brightness, color and sharpness from command line?

Posted by YumYumYum on Ask Ubuntu See other posts from Ask Ubuntu or by YumYumYum
Published on 2011-09-20T10:30:41Z Indexed on 2012/09/16 9:50 UTC
Read the original article Hit count: 239

Filed under:
|
|
|
|

I am controlling my PC with SSH and scripting. How can i change the brightness, color and sharpness from command line?

Try 1: failed

$ sudo redshift -t 5000:5000 -g .5
Cannot list GNOME panel applets.
Initialization of gnome-clock failed.
Trying next provider...
Latitude and longitude must be set.

Try 2: failed

$ cat brightness 
20
$ cat max_brightness 
20
$ echo 1 | sudo tee /sys/class/backlight/acpi_video0/brightness 
1
$ echo 20 | sudo tee /sys/class/backlight/acpi_video0/brightness 

Any alternative way to do?

Follow up: http://jonls.dk/redshift/

[command]     [1000K to 10000K]       [effects 0.1 to 10.0]
|       |     /      /                /
^       ^     ^      ^                ^
redshift  -t  1000:1000   -l 0:0  -g .1; Dark
redshift  -t  1000:1000   -l 0.0  -g  5; Bright

© Ask Ubuntu or respective owner

Related posts about 11.04

Related posts about command-line