how to adjust screen brightness in ubuntu 18.04 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