software to change intensity of light of computer screen linux ubuntu code example
Example: lower brightness of a ubunut pc
$ xrandr --output [monitor-name] --brightness [brightness-level]
$ xrandr --output LVDS-1 --brightness 0.75
$ xrandr --output [monitor-name] --brightness [brightness-level]
$ xrandr --output LVDS-1 --brightness 0.75