I want to manipulate my screen brightness using cli. And the most popular solution I found so far is xbacklight.
But unfortunately it doesn't work.
I tried executing
xbacklight -dec 50 but to no avail. I even executed the same command with sudo but again there was no output and nothing changed.
After looking up online, I found that you can manipulate /sys/class/backlight/intel_backlight/brightness file. So I did the same and sudo edited the file and changed the default value from 201 to 101 and, it works. Brightness decreases. But I want it to work from CLI.
I use Ubuntu 20.04 LTS and Nvidia GPU (performance mode) Please help!
Thank you.