Is there a way to use “xrandr –brightness” on the current screen?

  Kiến thức lập trình

I am trying to set the brightness of my built in screen using “xrandr”, but it is not working.

I am using a chromebook with duel-booted linux, and I have access to a terminal.

I am currently using

xrandr --output $($STY) --brightness 0

but my computer throws up an error saying

xrandr: unrecognized option '0'
Try 'xrandr --help' for more information.

I think that bash tries to take my current screen (0) as an argument, but I want it to be passed after “–output”.

New contributor

Laszlo Pav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.