Hi Huy, On Sat, 8 Jul 2023 at 08:39, huy nguyen <huykhacnguyen1...@gmail.com> wrote:
> I have a Linux system based on weston wayland and I need to get the > current setting of the display resolution. > Unfortunately, xrandr command does not work on Wayland. > After much searching, I came to this information which is about adding > weston-randr support for Weston compositor: > > https://lists.freedesktop.org/archives/wayland-devel/2014-February/013480.html > > However, I could not find a link to download the patch to apply in order > to have weston-randr command > Please advise if the patch is available for the community to use. > The current resolution is provided as an event on the wl_output interfaces. >From the command line, you can get this from wayland-info. Cheers, Daniel