-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document virtual display and "start app" features
- Loading branch information
Showing
3 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Virtual display | ||
|
||
## New display | ||
|
||
To mirror a new virtual display instead of the device screen: | ||
|
||
```bash | ||
scrcpy --new-display=1920x1080 | ||
scrcpy --new-display=1920x1080/420 # force 420 dpi | ||
scrcpy --new-display # use the main display size and density | ||
scrcpy --new-display -m1920 # ... scaled to fit a max size of 1920 | ||
scrcpy --new-display=/240 # use the main display size and 240 dpi | ||
``` | ||
|
||
## Start app | ||
|
||
On some devices, a launcher is available in the virtual display. | ||
|
||
When no launcher is available, the virtual display is empty. In that case, you | ||
must [start an Android app](device.md#start-android-app). | ||
|
||
For example: | ||
|
||
```bash | ||
scrcpy --new-display=1920x1080 --start-app=org.videolan.vlc | ||
``` |