Hi, On Tue, Jul 21, 2020 at 04:51:13PM +0100, s...@debian.org wrote: > On Tue, 21 Jul 2020 at 14:27:43 +0000, Henry-Nicolas Tourneur wrote: > > Description : Utility to manage outputs of a Wayland compositor > > > > Command line interface which allows setting the size, scale, orientation > > of the > > output for a screen. This is the wayland equivalent to xrandr under X11. > > How generically does this work? Do all major Wayland compositors > (GNOME Shell, KDE KWin, Weston, the Sway/wlroots family, ...) implement > the interfaces that it uses? > > If it only works on wlroots-based compositors, or some limitation like > that, then it's still useful for users of those compositors, but the > quoted description seems misleading; saying what the requirements are > would help to set expectations. > > As far as I'm aware, some Wayland compositors (including GNOME Shell, > I think) have it as a design goal that unprivileged clients *can't* > make disruptive changes like switching between display modes.
The compositor needs to implement https://github.com/emersion/wlr-randr/blob/master/protocol/wlr-output-management-unstable-v1.xml which (afaik) only applies to wlroots based compositors atm. Cheers, -- Guido