nx-libs icon indicating copy to clipboard operation
nx-libs copied to clipboard

How to make VcXsrv restrict applications to the active monitor?

Open minhtk1 opened this issue 11 months ago • 2 comments

I am using VcXsrv in multiwindow mode, and I want applications to only be displayed on the monitor they are launched on.

Currently, when running an X application, it can be moved freely between monitors, but I would like it to be restricted to a specific monitor based on where it was opened.

Is there any option or configuration in VcXsrv that allows this behavior? If not, are there any workarounds to achieve this?

Display monitor

Thank you!

minhtk1 avatar Feb 18 '25 01:02 minhtk1

Hi,

you can try playing around with the vcxsrv parameters in the x2goclient configuration menu. I have these settings:

[image: image.png]

Beware that finding the right settings is cumbersome. Also note that (for me) it is not really intuitive what mode x2goclient will select. I heavily depends on your session configuration.

Uli

On Tue, Feb 18, 2025 at 2:31 AM minhtk1 @.***> wrote:

I am using VcXsrv in multiwindow mode, and I want applications to only be displayed on the monitor they are launched on.

Currently, when running an X application, it can be moved freely between monitors, but I would like it to be restricted to a specific monitor based on where it was opened.

Is there any option or configuration in VcXsrv that allows this behavior? If not, are there any workarounds to achieve this?

Display monitor https://sourceforge.net/p/vcxsrv/bugs/169/attachment/Screenshot%202025-02-12%20154811.png

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/nx-libs/issues/1089, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZHYLX26OSQO3QYJX4L2QKEQJAVCNFSM6AAAAABXKO27OKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2TSMBZGA3TENY . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: minhtk1]minhtk1 created an issue (ArcticaProject/nx-libs#1089) https://github.com/ArcticaProject/nx-libs/issues/1089

I am using VcXsrv in multiwindow mode, and I want applications to only be displayed on the monitor they are launched on.

Currently, when running an X application, it can be moved freely between monitors, but I would like it to be restricted to a specific monitor based on where it was opened.

Is there any option or configuration in VcXsrv that allows this behavior? If not, are there any workarounds to achieve this?

Display monitor https://sourceforge.net/p/vcxsrv/bugs/169/attachment/Screenshot%202025-02-12%20154811.png

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/nx-libs/issues/1089, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZHYLX26OSQO3QYJX4L2QKEQJAVCNFSM6AAAAABXKO27OKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2TSMBZGA3TENY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

uli42 avatar Feb 18 '25 10:02 uli42

Please also note that this is an x2go issue. This issue tracker is about nx-libs only.

On Tue, Feb 18, 2025 at 11:15 AM Ulrich Sibiller @.***> wrote:

Hi,

you can try playing around with the vcxsrv parameters in the x2goclient configuration menu. I have these settings:

[image: image.png]

Beware that finding the right settings is cumbersome. Also note that (for me) it is not really intuitive what mode x2goclient will select. I heavily depends on your session configuration.

Uli

On Tue, Feb 18, 2025 at 2:31 AM minhtk1 @.***> wrote:

I am using VcXsrv in multiwindow mode, and I want applications to only be displayed on the monitor they are launched on.

Currently, when running an X application, it can be moved freely between monitors, but I would like it to be restricted to a specific monitor based on where it was opened.

Is there any option or configuration in VcXsrv that allows this behavior? If not, are there any workarounds to achieve this?

Display monitor https://sourceforge.net/p/vcxsrv/bugs/169/attachment/Screenshot%202025-02-12%20154811.png

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/nx-libs/issues/1089, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZHYLX26OSQO3QYJX4L2QKEQJAVCNFSM6AAAAABXKO27OKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2TSMBZGA3TENY . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: minhtk1]minhtk1 created an issue (ArcticaProject/nx-libs#1089) https://github.com/ArcticaProject/nx-libs/issues/1089

I am using VcXsrv in multiwindow mode, and I want applications to only be displayed on the monitor they are launched on.

Currently, when running an X application, it can be moved freely between monitors, but I would like it to be restricted to a specific monitor based on where it was opened.

Is there any option or configuration in VcXsrv that allows this behavior? If not, are there any workarounds to achieve this?

Display monitor https://sourceforge.net/p/vcxsrv/bugs/169/attachment/Screenshot%202025-02-12%20154811.png

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/nx-libs/issues/1089, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZHYLX26OSQO3QYJX4L2QKEQJAVCNFSM6AAAAABXKO27OKVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2TSMBZGA3TENY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

uli42 avatar Feb 18 '25 10:02 uli42