Retrieving monitor connection information

Simon Ser contact at
Thu Sep 1 10:26:59 UTC 2022

On Thursday, September 1st, 2022 at 12:23, Andrew Marshall <andrew at> wrote:

> > Why do you need to fetch this information? What's your use-case?
> A medical device outputs a camera display to each of four monitors,
> attached to display port connectors on the graphics card. There is a
> 1:1 relationship between camera outputs and displays, and a UI allows
> assigning a specific camera output to a specific display port output.

It seems like would be useful for this purpose.
wl_output.description contains a human-readable string which can be
included in the UI.

Note, do not assume that will have any defined format.
Some compositors will send e.g. "DP-2", some will send an arbitrary ID
such as "CD6767WZ", etc.

More information about the wayland-devel mailing list