Ubuntu – Command to change brightness level in Ubuntu 17.10

17.1018.04brightnesswayland

What are the commands to increase and decrease the brightness level in Ubuntu 17.10? It seems like xrandr and xbacklight does not work with Wayland.

I can still write the value I want on /sys/class/backlight/intel_backlight/brightness

for example:

sudo tee /sys/class/backlight/intel_backlight/brightness <<<500

But I'm trying to find the actual commands and create two keyboard shortcuts with it to increase or decrease my brightness level.

Best Answer

The utility "brightnessctl" is in the software repositories (as of Ubuntu 18.04 at least) and works with wayland.

Related Question