0

I use to increase or decrease the brightness of the monitor using xrandr command from this in Ubuntu 20.04. It gives the liberty of giving custom brightness that can vary from 0 to 1 irrespective of the brightness range provided by the system UI.

After upgrading my OS to Ubuntu 22.04, it no longer seems to be working. Although there are commands to stepdown the brightness

gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepDown

(0, 'eDP-1')

The zero brightness it is showing is the same as the 0 brightness of the UI, and I cannot decrease it further. I don't have liberty as I did on the previous version.

What can I do to run xrandr or its alternatives so I can give a number from the terminal that works?

hanugm
  • 351

1 Answers1

2

Ubuntu 20.04 used Xorg as a display manager by default, and Ubuntu 22.04 uses Wayland by default. xrandr does not work under Wayland, so it will not work by default on Ubuntu 22.04 unless you switch to using Xorg.

This can be done by either:

  1. Using the gear icon in the bottom-right of the login screen. It may not appear until you move your mouse close to there.
  2. Using the method described here to change the config file.
Esther
  • 3,932