Skip to content

[Feature Request] A way to set a default monitor for WSLg apps to open on #783

@fahim2690

Description

@fahim2690

Is your feature request related to a problem? Please describe.

Hi, I'm wondering if there's a way to force Weston to open WSLg windows on a specific monitor by default (e.g. my second monitor). I can see from xrandr that the two monitors that I have here are getting recognized as separate output options but if I say override it with DISPLAY=XWAYLAND1:0 for an XWayland app it seems to ignore keypresses or just not be able to launch and I haven't figured out a way to override this for native Wayland apps yet. I'd prefer not to set my second monitor as my primary monitor as that seems to make some native Windows apps like HWInfo launch out of bounds (my main monitor is 4K, my secondary is 1080p).

Describe the solution you'd like

As the title says, I'd like to be able to configure which monitor GUI apps launch on by default, maybe this is already possible with one of the WESTON environment variables but I've not seen one documented yet.

Describe alternatives you've considered

Not much really, I'd prefer not to go back to the days of using VcXsrv so here I am.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions