xrandr can be used to change the display brightness using the command line. For example,

xrandr --output VGA-1 --brightness 0.4

Wayland does not support xrandr. Is there any similar tool in Wayland that can be used to control brightness and color temperature?

Note: This is NOT a duplicate of this question because that is about changing resolution, I want to control brightness on a desktop computer that does not support sys/class/backlight, so that frontends like Brightness Controller or Redshift can be made to work with Wayland.

  • Have you tried using kernel FS tree at /sys/class/backlight or using Gnome DBus interface dbus-send --type=method_call --dest=org.gnome.SettingsDaemon /org/gnome/SettingsDaemon/Power org.freedesktop.DBus.Properties.Set string:'org.gnome.SettingsDaemon.Power.Screen' string:'Brightness' variant:int32:30 source seems old you may find updated ones here in AskUbuntu.
    – user.dz
    Oct 24, 2020 at 9:55
  • /sys/class/backlight won't work on desktop. I am not sure what GNOME DBus interface does. It probably won't work outside GNOME. xrandr works on every major DE Oct 24, 2020 at 10:44
  • Are you sure about /sys/class/backlight as here askubuntu.com/a/785335/26246 because that the basic low level control if it is not there then probably have driver issue. doc: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/… . For DBus, Yeah it is only for Gnome & Unity.
    – user.dz
    Oct 24, 2020 at 10:58
  • 1
    Check the edited question. I want to control brightness so that GUI frontends for controlling brightness (which come handy in desktops and systems with driver issues) can be made to work with Wayland Oct 24, 2020 at 11:08
  • 1
    @NicolasCordova did not find anything yet Jun 22 at 0:08

1 Answer 1


Yes, Wayland has an equivalent to xrandr. The package is called wlr-randr and is in the universe repository of Ubuntu 21.04 and later.

You can find the project's webpage here: https://sr.ht/~emersion/wlr-randr/

  • wlr-randr is for wlroots-based compositors only.
    – Tooniis
    Mar 3 at 11:06
  • From what I see, it's not possible to change the brightness of the screen with this.
    – iGEL
    Jul 18 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.