reduce screen brightness 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