ArcticaProject / vcxsrv

VcXsrv Windows X Server (X2Go/Arctica Builds)
GNU General Public License v3.0
543 stars 41 forks source link

Is there a way to start `vcxsrv` at a certain window position every time? #19

Open johndebord opened 4 years ago

johndebord commented 4 years ago

I've already tried the following option, and it's not what I'm looking for:

-screen scr_num [width height [x y] | [[WxH[+X+Y]][@m]] ]
    Enable screen scr_num and optionally specify a width and
    height and initial position for that screen. Additionally
    a monitor number can be specified to start the server on,
    at which point, all coordinates become relative to that
    monitor. Examples:
     -screen 0 800x600+100+100@2 ; 2nd monitor offset 100,100 size 800x600
     -screen 0 1024x768@3        ; 3rd monitor size 1024x768
     -screen 0 @1 ; on 1st monitor using its full resolution (the default)

I'm talking about how to start the window, let's say, at the far top left corner every time. Instead, it starts up at a seemingly arbitrary location each time launch I it.

Operating System: Windows 10 Home Version 1903 WSL Version: WSL1 WSL Distro: Ubuntu-18.04

uli42 commented 4 years ago

AFAIK there's no builtin way to achieve this in windows. Maybe this helps: https://stackoverflow.com/questions/7977322/set-the-window-position-of-an-application-via-command-line

Uli

On Tue, Mar 17, 2020 at 6:37 PM John DeBord notifications@github.com wrote:

I've already tried the following option, and it's not what I'm looking for:

-screen scr_num [width height [x y] | [[WxH[+X+Y]][@m]] ] Enable screen scr_num and optionally specify a width and height and initial position for that screen. Additionally a monitor number can be specified to start the server on, at which point, all coordinates become relative to that monitor. Examples: -screen 0 800x600+100+100@2 ; 2nd monitor offset 100,100 size 800x600 -screen 0 1024x768@3 ; 3rd monitor size 1024x768 -screen 0 @1 ; on 1st monitor using its full resolution (the default)

I'm talking about how to start the window, let's say, at the far top left corner every time. Instead, it starts up at a seemingly arbitrary location each time launch it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArcticaProject/vcxsrv/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHBZA6HUM34EBFOTP7YCTRH6YO7ANCNFSM4LNVPCCQ .