scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Start maximized

Open lollita opened this issue 4 years ago • 5 comments

Do it is possible to start scrcpy maximized in Windows, without to have to click che window button?

the help have a tiny error:

--window-height value
    Set the initial window width.
    Default is 0 (automatic).

lollita avatar Apr 06 '21 21:04 lollita

No, but why not fullscreen instead of maximized?

rom1v avatar Apr 07 '21 02:04 rom1v

I would to switch other app from taskbar.

lollita avatar Apr 07 '21 02:04 lollita

I have the same problem, how is the feature going on? @rom1v

kyww avatar Apr 22 '22 19:04 kyww

Well, I found a workaround like this:

scrcpy --window-borderless --window-height=1080 --window-width=1880 

This makes scrcpy start with a borderless maximized window without covering the taskbar.

My taskbar is on the right of the screen with 40px width, so I set the window width to 1920 - 40 = 1880.

This solves the problem but not perfect, because we have to do some calculate.

kyww avatar Apr 22 '22 19:04 kyww

After I open a app the workaround fail. The windows resize to app size.

lollita avatar Mar 13 '23 09:03 lollita