To disable window (may be useful for recording or for playing audio only):
scrcpy --no-window --record=file.mp4
# Ctrl+C to interrupt
By default, the window title is the device model. It can be changed:
scrcpy --window-title='My device'
The initial window position and size may be specified:
scrcpy --window-x=100 --window-y=100 --window-width=800 --window-height=600
To disable window decorations:
scrcpy --window-borderless
To keep the window always on top:
scrcpy --always-on-top
The app may be started directly in fullscreen:
scrcpy --fullscreen
scrcpy -f # short version
Fullscreen mode can then be toggled dynamically with MOD+f (see shortcuts).
By default, scrcpy does not prevent the screensaver from running on the computer. To disable it:
scrcpy --disable-screensaver