I eventually found out an alternative to xbacklight that works for me. It’s called brightnessctl
You use it like this:
brightnessctl s 10%- to decrease the brightness
brightnessctl s 10%+ to increase the brightness
1 Like