Weston: Disabling connectors at runtime

Pekka Paalanen ppaalanen at gmail.com
Thu Apr 15 14:27:46 UTC 2021


On Thu, 15 Apr 2021 13:54:28 +0000
"Sebert, Holger.ext" <Holger.Sebert.ext at karlstorz.com> wrote:

> Hi,
> 
> on my hardware (x86-based, Intel UHD Graphics 630) I have several
> connectors (DVI and DisplayPorts). I use the Weston compositor version 9.0.0.
> 
> I would like to configure the system so that precisely one output is
> active, i.e. there should not be any "extended" desktop, just one main
> desktop where my application shows up and that's all.
> 
> My first try was to clone monitor output using the "same-as" parameter
> in the Weston config, but unfortunately monitor cloning does not work
> on my hardware (see also https://gitlab.freedesktop.org/wayland/weston/-/issues/333).
> 
> As an alternative I would like to switch off all but one connector.
> More precisely:
> - If a monitor is connected to the DVI-port, disable all DisplayPorts
> - If a monitor is connected to a DisplayPort, disable the DVI-port and
>   all other DisplayPorts.
> - If there are multiple monitors connected, only enable e.g. DVI and
>   disable all others.
> 
> This should be done automatcally, e.g. in a start-up script, without user
> interaction.
> 
> On Xorg I would use xrandr to achieve this. Is there an equivalent for
> Wayland/Weston?

Hi,

sorry, no, there is nothing. Weston is not externally configurable at
this time.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20210415/f5ad5df4/attachment.sig>


More information about the wayland-devel mailing list