Update documentation for --no-window

PR #4868 <https://github.com/Genymobile/scrcpy/pull/4868>
forward_all_clicks
Romain Vimont 4 weeks ago
parent 3ea1444a69
commit d6e001aa96

@ -28,10 +28,17 @@ To disable only the audio playback, see [no playback](video.md#no-playback).
## Audio only ## Audio only
To play audio only, disable the video: To play audio only, disable video and control:
```bash ```bash
scrcpy --no-video scrcpy --no-video --no-control
```
To play audio without a window:
```bash
# --no-video and --no-control are implied by --no-window
scrcpy --no-window
# interrupt with Ctrl+C # interrupt with Ctrl+C
``` ```

@ -15,6 +15,16 @@ scrcpy -n # short version
Read [keyboard](keyboard.md) and [mouse](mouse.md). Read [keyboard](keyboard.md) and [mouse](mouse.md).
## Control only
To control only with UHID mouse and keyboard:
```bash
scrcpy --no-video --no-audio --keyboard=uhid --mouse=uhid
scrcpy --no-video --no-audio -KM # short version
```
## Copy-paste ## Copy-paste
Any time the Android clipboard changes, it is automatically synchronized to the Any time the Android clipboard changes, it is automatically synchronized to the

@ -58,12 +58,10 @@ orientation](video.md#orientation).
## No playback ## No playback
To disable playback while recording: To disable playback and control while recording:
```bash ```bash
scrcpy --no-playback --record=file.mp4 scrcpy --no-playback --no-control --record=file.mp4
scrcpy -Nr file.mkv
# interrupt recording with Ctrl+C
``` ```
It is also possible to disable video and audio playback separately: It is also possible to disable video and audio playback separately:
@ -73,6 +71,13 @@ It is also possible to disable video and audio playback separately:
scrcpy --record=file.mkv --no-audio-playback scrcpy --record=file.mkv --no-audio-playback
``` ```
To also disable the window:
```bash
scrcpy --no-playback --no-window --record=file.mp4
# interrupt recording with Ctrl+C
```
## Time limit ## Time limit
To limit the recording time: To limit the recording time:

@ -1,5 +1,14 @@
# Window # Window
## Disable window
To disable window (may be useful for recording or for playing audio only):
```bash
scrcpy --no-window --record=file.mp4
# Ctrl+C to interrupt
```
## Title ## Title
By default, the window title is the device model. It can be changed: By default, the window title is the device model. It can be changed:

Loading…
Cancel
Save