Settings

Every setting, explained.

Each one as the Settings tab shows it, with its default, its choices, when it applies, and the command that changes it. This page is made from the app itself.

Profiles

A profile is a list of settings to switch to in one go: one for games, one for films, one for battery. Applying one changes only the settings in it.

In fullscreen use

Default
None
Choices
None · Lowest latency (preset) · Best picture (preset) · Battery saver (preset) · Presentation (preset) · Gaming (preset) · Quiet (preset)
Applies
At once
In config.json
Profiles.WhenFullscreen

rex config set Profiles.WhenFullscreen Lowest latency

On battery use

Default
None
Choices
None · Lowest latency (preset) · Best picture (preset) · Battery saver (preset) · Presentation (preset) · Gaming (preset) · Quiet (preset)
Applies
At once
In config.json
Profiles.WhenOnBattery

rex config set Profiles.WhenOnBattery Lowest latency

Use each phone's own profile when it connects

Default
On
Choices
On or off
Applies
At once
In config.json
Profiles.PerPhone

rex config set Profiles.PerPhone false

Put back what an automatic profile changed when it ends

Default
On
Choices
On or off
Applies
At once
In config.json
Profiles.PutBack

rex config set Profiles.PutBack false

Say when a profile switches by itself

Default
On
Choices
On or off
Applies
At once
In config.json
Profiles.Announce

rex config set Profiles.Announce false

When a profile changes how the mirror starts

Default
Offer a restart
Choices
Offer a restart · Restart the mirror at once
Applies
At once
In config.json
Profiles.AfterApplying

rex config set Profiles.AfterApplying restart

Ctrl+Alt+F1 to F9 apply profiles 1 to 9

Default
On
Choices
On or off
Applies
At once
In config.json
Profiles.Keys

rex config set Profiles.Keys false

Profiles in the tray menu

Default
On
Choices
On or off
Applies
At once
In config.json
Profiles.InTray

rex config set Profiles.InTray false

Picture

Everything up to Show taps on the phone applies the next time the mirror starts. The soft background previews as you change it.

Resolution

Default
1920 px
Choices
Native · 2560 px · 1920 px · 1600 px · 1280 px · 1024 px
Applies
The next time the mirror starts
In config.json
Mirror.MaxSize

rex config set Mirror.MaxSize 0

Frame rate

Default
60 fps
Choices
Phone default · 30 fps · 60 fps · 90 fps · 120 fps
Applies
The next time the mirror starts
In config.json
Mirror.MaxFps

rex config set Mirror.MaxFps 0

Bit rate

Default
12 Mbps
Choices
4 Mbps · 8 Mbps · 12 Mbps · 16 Mbps · 24 Mbps
Applies
The next time the mirror starts
In config.json
Mirror.VideoBitRate

rex config set Mirror.VideoBitRate 4M

Video codec

Default
H.264 (lowest latency)
Choices
H.264 (lowest latency) · H.265 · AV1
Applies
The next time the mirror starts
In config.json
Mirror.VideoCodec

rex config set Mirror.VideoCodec h265

Video encoder

The part of the phone that makes the video. Its own choice suits almost every phone.

Default
Empty
Choices
Text
Applies
The next time the mirror starts
In config.json
Mirror.VideoEncoder

Show only part of the screen

Width:height:x:y in the phone's pixels. Empty shows the whole screen.

Default
Empty
Choices
Text
Applies
The next time the mirror starts
In config.json
Mirror.Crop

When the phone turns

Keep the picture one way, however the phone is held.

Default
The picture turns with it
Choices
The picture turns with it · It stays as it started · It stays upright · It stays turned right · It stays upside down · It stays turned left
Applies
The next time the mirror starts
In config.json
Mirror.CaptureOrientation

rex config set Mirror.CaptureOrientation @

Start the view turned

Only on this PC. Ctrl+Alt+Left and Ctrl+Alt+Right still turn it.

Default
Upright
Choices
Upright · Turned right · Upside down · Turned left · Mirrored · Mirrored and turned right · Mirrored and upside down · Mirrored and turned left
Applies
The next time the mirror starts
In config.json
Mirror.StartOrientation

rex config set Mirror.StartOrientation 90

Tilt the picture

Degrees clockwise, for a phone in a stand that is not quite straight.

Default
0
Choices
From 0 to 359, in steps of 1
Applies
The next time the mirror starts
In config.json
Mirror.Angle

rex config set Mirror.Angle 359

Smooth the picture when it is shown smaller

Off can make small text look a little sharper.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.SmoothScaling

rex config set Mirror.SmoothScaling false

Show taps on the phone

The phone draws a dot where it is touched, for recordings and for showing others. Put back when the mirror ends.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.ShowTouches

rex config set Mirror.ShowTouches true

Soft background around the phone

A blurred copy of the phone screen fills the empty space around the mirror. Changes preview instantly.

Default
On
Choices
On or off
Applies
At once
In config.json
Ambient.Enabled

rex config set Ambient.Enabled false

Where it shows

Default
All around the phone
Choices
All around the phone · Left of the phone · Right of the phone · Above the phone · Below the phone
Applies
At once
In config.json
Ambient.Placement

rex config set Ambient.Placement left

How it scales

Default
Fill the window (crops)
Choices
Fill the window (crops) · Show the whole screen · Stretch to the window
Applies
At once
In config.json
Ambient.Scaling

rex config set Ambient.Scaling fit

Opacity

Default
0.42
Choices
From 0.05 to 1
Applies
At once
In config.json
Ambient.Opacity

rex config set Ambient.Opacity 1

Blur

0 shows the capture sharp

Default
24
Choices
From 0 to 80
Applies
At once
In config.json
Ambient.Blur

rex config set Ambient.Blur 80

Size

Default
1
Choices
From 0.5 to 3
Applies
At once
In config.json
Ambient.Size

rex config set Ambient.Size 3

Horizontal position

Default
0
Choices
From -1 to 1
Applies
At once
In config.json
Ambient.OffsetX

rex config set Ambient.OffsetX 1

Vertical position

Default
0
Choices
From -1 to 1
Applies
At once
In config.json
Ambient.OffsetY

rex config set Ambient.OffsetY 1

Fade towards the edges

Default
0
Choices
From 0 to 1
Applies
At once
In config.json
Ambient.EdgeFade

rex config set Ambient.EdgeFade 1

Colour wash

Default
0
Choices
From 0 to 1
Applies
At once
In config.json
Ambient.TintStrength

rex config set Ambient.TintStrength 1

Wash colour

Default
75
Choices
From 0 to 360
Applies
At once
In config.json
Ambient.TintHue

rex config set Ambient.TintHue 360

Background refresh rate

How closely the background follows the video. Lower uses less power.

Default
15
Choices
From 1 to 60, in steps of 1
Applies
At once
In config.json
Ambient.FrameRate

rex config set Ambient.FrameRate 60

Flip horizontally

Default
Off
Choices
On or off
Applies
At once
In config.json
Ambient.FlipHorizontal

rex config set Ambient.FlipHorizontal true

While zoomed in

Default
Keep it
Choices
Keep it · Hide it
Applies
At once
In config.json
Ambient.WhenZoomed

rex config set Ambient.WhenZoomed hide

Audio

These apply the next time the mirror starts.

Phone audio on this PC

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.Audio

rex config set Mirror.Audio false

Keep audio playing on the phone too

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.AudioDup

rex config set Mirror.AudioDup true

What to capture

Default
Everything the phone plays
Choices
Everything the phone plays · The whole output (mutes the phone) · App playback (apps may opt out) · Microphone · Microphone, unprocessed · Microphone, tuned for video · Microphone, tuned for speech · Microphone, tuned for calls · Voice call, both sides · Voice call, your side · Voice call, the other side · Karaoke (microphone and playback)
Applies
The next time the mirror starts
In config.json
Mirror.AudioSource

rex config set Mirror.AudioSource output

Audio quality

Default
128 kbps
Choices
64 kbps · 96 kbps · 128 kbps · 192 kbps · 256 kbps · 320 kbps
Applies
The next time the mirror starts
In config.json
Mirror.AudioBitRate

rex config set Mirror.AudioBitRate 64K

Sound format

Default
Opus (smallest)
Choices
Opus (smallest) · AAC · FLAC (lossless) · Raw (heaviest on Wi-Fi)
Applies
The next time the mirror starts
In config.json
Mirror.AudioCodec

rex config set Mirror.AudioCodec aac

Sound buffer

Evens out a shaky connection; 0 is the lowest delay.

Default
50
Choices
From 0 to 500, in steps of 10
Applies
The next time the mirror starts
In config.json
Mirror.AudioBufferMs

rex config set Mirror.AudioBufferMs 500

Playback buffer

Raise it if the sound crackles or breaks up on this PC.

Default
0
Choices
From 0 to 200, in steps of 5
Applies
The next time the mirror starts
In config.json
Mirror.AudioOutputBufferMs

rex config set Mirror.AudioOutputBufferMs 200

Only mirror with sound

When the phone cannot send its sound, the mirror stops and says why instead of going on silent.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.RequireAudio

rex config set Mirror.RequireAudio true

Sound on this PC

How the phone's sound plays here. Only this PC is changed; the phone's own volume stays where it is. The sound button in the top bar does the same at a click.

Volume on this PC

Where a phone starts. With each phone remembered, the sound button in the top bar sets the one you are using.

Default
1
Choices
From 0 to 1, in steps of 0.01
Applies
At once
In config.json
Sound.Volume

rex config set Sound.Volume 1

Muted on this PC

Default
Off
Choices
On or off
Applies
At once
In config.json
Sound.Muted

rex config set Sound.Muted true

One key press or wheel notch changes it by

Default
0.05
Choices
From 0.01 to 0.25, in steps of 0.01
Applies
At once
In config.json
Sound.Step

rex config set Sound.Step 0.25

Remember the volume for each phone

Off, every phone plays at the volume above.

Default
On
Choices
On or off
Applies
At once
In config.json
Sound.RememberPerPhone

rex config set Sound.RememberPerPhone false

Start every mirror muted

From the next mirror on.

Default
Off
Choices
On or off
Applies
At once
In config.json
Sound.StartMuted

rex config set Sound.StartMuted true

Mute while the window is hidden or minimised

Default
Off
Choices
On or off
Applies
At once
In config.json
Sound.MuteWhenHidden

rex config set Sound.MuteWhenHidden true

Mute while another window is in front

Default
Off
Choices
On or off
Applies
At once
In config.json
Sound.MuteWhenBehind

rex config set Sound.MuteWhenBehind true

Mute while this PC is locked

Default
Off
Choices
On or off
Applies
At once
In config.json
Sound.MuteWhenLocked

rex config set Sound.MuteWhenLocked true

Lower it while you type into the phone

Default
Off
Choices
On or off
Applies
At once
In config.json
Sound.LowerWhileTyping

rex config set Sound.LowerWhileTyping true

Lower it to

Default
0.3
Choices
From 0 to 1, in steps of 0.05
Applies
At once
In config.json
Sound.LowerTo

rex config set Sound.LowerTo 1

Back up after

Default
800
Choices
From 200 to 5000, in steps of 100
Applies
At once
In config.json
Sound.LowerForMs

rex config set Sound.LowerForMs 5000

Fade changes over

Default
150
Choices
From 0 to 1000, in steps of 50
Applies
At once
In config.json
Sound.FadeMs

rex config set Sound.FadeMs 1000

Balance

Default
0
Choices
From -1 to 1, in steps of 0.05
Applies
At once
In config.json
Sound.Balance

rex config set Sound.Balance 1

Follow changes made in the Windows volume mixer

Default
On
Choices
On or off
Applies
At once
In config.json
Sound.FollowMixer

rex config set Sound.FollowMixer false

Show the sound level in the sound panel

Default
On
Choices
On or off
Applies
At once
In config.json
Sound.ShowLevel

rex config set Sound.ShowLevel false

The wheel over the sound button changes the volume

Default
On
Choices
On or off
Applies
At once
In config.json
Sound.WheelOnButton

rex config set Sound.WheelOnButton false

Phone screen & session

Phone screen off while mirroring

Saves battery and blocks touches on the handset.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Session.TurnScreenOff

rex config set Session.TurnScreenOff false

Keep the phone awake while mirroring

Over USB; a phone on Wi-Fi keeps its own timeout.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Session.StayAwake

rex config set Session.StayAwake false

Turn the phone screen off when the mirror closes

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Session.PowerOffOnClose

rex config set Session.PowerOffOnClose true

Restart the mirror if it crashes

Default
On
Choices
On or off
Applies
At once
In config.json
Session.RestartOnUnexpectedExit

rex config set Session.RestartOnUnexpectedExit false

Times in a row before it stops trying

A mirror that ran for a minute counts as working again.

Default
4
Choices
From 1 to 20, in steps of 1
Applies
At once
In config.json
Session.RestartLimit

rex config set Session.RestartLimit 20

Stop the mirror after

For a time limit on a shared PC, or a recording of a set length.

Default
Never
Choices
Never · 15 minutes · 30 minutes · 1 hour · 2 hours · 4 hours · 8 hours
Applies
The next time the mirror starts
In config.json
Mirror.TimeLimitMinutes

rex config set Mirror.TimeLimitMinutes 15

Keep the phone from sleeping while mirrored

Even on Wi-Fi, while the mirror is open.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Session.KeepActive

rex config set Session.KeepActive false

Wake the phone when the mirror starts

Default
On
Choices
On or off
Applies
At once
In config.json
Session.WakeBeforeMirror

rex config set Session.WakeBeforeMirror false

Dismiss a lock screen that has no PIN or pattern

A swipe-only lock screen gets out of the way by itself.

Default
On
Choices
On or off
Applies
At once
In config.json
Session.DismissKeyguard

rex config set Session.DismissKeyguard false

Phone screen timeout while mirrored

The phone's own comes back when the mirror ends.

Default
The phone's own
Choices
The phone's own · 15 seconds · 30 seconds · 1 minute · 2 minutes · 5 minutes · 10 minutes · 30 minutes · 1 hour
Applies
The next time the mirror starts
In config.json
Session.ScreenOffTimeoutSeconds

rex config set Session.ScreenOffTimeoutSeconds 15

Keep this PC awake while mirroring

No screen saver or sleep while the phone is on screen.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Session.KeepPcAwake

rex config set Session.KeepPcAwake true

Open an app when the mirror starts

Leave empty to open nothing

Default
Empty
Choices
Text
Applies
The next time the mirror starts
In config.json
Session.StartApp

Zoom & navigator

Alt + pinch / Alt + wheel zooms the PC view

Default
On
Choices
On or off
Applies
At once
In config.json
Zoom.Enabled

rex config set Zoom.Enabled false

Alt + wheel zooms

Default
On
Choices
On or off
Applies
At once
In config.json
Zoom.WheelZoom

rex config set Zoom.WheelZoom false

Alt + pinch on the touchpad zooms

Default
On
Choices
On or off
Applies
At once
In config.json
Zoom.PinchZoom

rex config set Zoom.PinchZoom false

Zoom in on

Default
The pointer
Choices
The pointer · The middle
Applies
At once
In config.json
Zoom.ZoomAtPointer

rex config set Zoom.ZoomAtPointer false

Turn the wheel the other way to zoom in

Default
Off
Choices
On or off
Applies
At once
In config.json
Zoom.InvertWheel

rex config set Zoom.InvertWheel true

Zoom back out when the phone turns

Default
Off
Choices
On or off
Applies
At once
In config.json
Zoom.ResetOnRotate

rex config set Zoom.ResetOnRotate true

Show the navigator while zoomed

Default
On
Choices
On or off
Applies
At once
In config.json
Zoom.ShowNavigator

rex config set Zoom.ShowNavigator false

Live picture in the navigator

The whole phone screen, small, with the part you are looking at framed.

Default
On
Choices
On or off
Applies
At once
In config.json
Zoom.NavigatorPicture

rex config set Zoom.NavigatorPicture false

Keep the navigator on screen at 100% too

Default
Off
Choices
On or off
Applies
At once
In config.json
Zoom.NavigatorAlways

rex config set Zoom.NavigatorAlways true

Navigator corner

Default
Bottom right
Choices
Bottom right · Bottom left · Top right · Top left
Applies
At once
In config.json
Zoom.NavigatorCorner

rex config set Zoom.NavigatorCorner bottom-left

Navigator size

Default
150
Choices
From 100 to 360
Applies
At once
In config.json
Zoom.NavigatorWidth

rex config set Zoom.NavigatorWidth 360

Navigator opacity

Default
0.92
Choices
From 0.2 to 1
Applies
At once
In config.json
Zoom.NavigatorOpacity

rex config set Zoom.NavigatorOpacity 1

Navigator frame rate

How closely the navigator picture follows the video.

Default
30
Choices
From 1 to 60, in steps of 1
Applies
At once
In config.json
Zoom.NavigatorFrameRate

rex config set Zoom.NavigatorFrameRate 60

Maximum zoom

Default
4
Choices
From 1.5 to 8, in steps of 0.5
Applies
At once
In config.json
Zoom.MaxZoom

rex config set Zoom.MaxZoom 8

Wheel zoom speed

Default
0.1
Choices
From 0.05 to 0.5
Applies
At once
In config.json
Zoom.WheelStep

rex config set Zoom.WheelStep 0.5

Zoom keys and buttons step by

How far Ctrl+Alt+Plus, Ctrl+Alt+Minus and the zoom buttons go each time.

Default
0.25
Choices
From 0.1 to 1, in steps of 0.05
Applies
At once
In config.json
Zoom.KeyStep

rex config set Zoom.KeyStep 1

Mouse, touchpad & keyboard

How the touchpad, the mouse buttons, the keys and the clipboard reach the phone, on every copy too. Buttons, keys and the clipboard apply the next time the mirror starts; the rest change at once.

Touchpad gestures

Off, the touchpad only moves the pointer over the phone.

Default
On
Choices
On or off
Applies
At once
In config.json
Touchpad.Enabled

rex config set Touchpad.Enabled false

Two-finger gestures go to the phone

Pinch, rotate and pan like on the phone screen.

Default
On
Choices
On or off
Applies
At once
In config.json
Touchpad.TwoFingerToAndroid

rex config set Touchpad.TwoFingerToAndroid false

Gesture sensitivity

Default
1
Choices
From 0.25 to 3
Applies
At once
In config.json
Touchpad.Sensitivity

rex config set Touchpad.Sensitivity 3

Compatibility keyboard

Sends raw keys instead of acting as a plugged-in keyboard. Only if typing misbehaves; applies when the mirror restarts.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.CompatibilityKeyboard

rex config set Mirror.CompatibilityKeyboard true

Right click

Default
Back
Choices
Back · Home · Recent apps · Notifications · Click on the phone · Nothing
Applies
The next time the mirror starts
In config.json
Input.RightClick

rex config set Input.RightClick home

Middle click

Default
Home
Choices
Back · Home · Recent apps · Notifications · Click on the phone · Nothing
Applies
The next time the mirror starts
In config.json
Input.MiddleClick

rex config set Input.MiddleClick back

Back button

Default
Recent apps
Choices
Back · Home · Recent apps · Notifications · Click on the phone · Nothing
Applies
The next time the mirror starts
In config.json
Input.BackButton

rex config set Input.BackButton back

Forward button

Default
Notifications
Choices
Back · Home · Recent apps · Notifications · Click on the phone · Nothing
Applies
The next time the mirror starts
In config.json
Input.ForwardButton

rex config set Input.ForwardButton back

Shift + click always clicks on the phone

Whatever the button is set to do above.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Input.ShiftClicks

rex config set Input.ShiftClicks false

Repeat a held key

With the compatibility keyboard. The phone repeats keys itself otherwise.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Input.KeyRepeat

rex config set Input.KeyRepeat false

Send the pointer's movement without a click

For apps and games that react to hovering.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Input.MouseHover

rex config set Input.MouseHover false

Keep the clipboards in step

Copying on the phone copies on the PC too, and pasting sends the PC's clipboard first.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Input.ClipboardAutosync

rex config set Input.ClipboardAutosync false

Paste by typing the text out

For phones that ignore a pasted clipboard.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Input.LegacyPaste

rex config set Input.LegacyPaste true

Hand game controllers to the phone

Through the main view only: every copy would add another controller.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Input.Gamepad

rex config set Input.Gamepad uhid

How far they go

Default
1
Choices
From 0.5 to 1.5, in steps of 0.05
Applies
At once
In config.json
Input.SwipeLength

rex config set Input.SwipeLength 1.5

How long they take

Quicker swipes fling further, as they do under a finger.

Default
200
Choices
From 80 to 800, in steps of 10
Applies
At once
In config.json
Input.SwipeMilliseconds

rex config set Input.SwipeMilliseconds 800

Copies of the phone

Extra live views of an upright phone, side by side, added from the Controls tab. Each copy is a session of its own, so each one asks the phone for another video encoder.

Most copies

Only as many as fit the window at full height can be open, whatever this says.

Default
3
Choices
From 1 to 5, in steps of 1
Applies
At once
In config.json
Copies.Most

rex config set Copies.Most 5

Space between copies

Default
12
Choices
From 0 to 48, in steps of 1
Applies
At once
In config.json
Copies.Gap

rex config set Copies.Gap 48

Copy resolution

A lower one is lighter on the phone and the PC. Open copies restart with it.

Default
Same as the mirror
Choices
Same as the mirror · 1920 px · 1600 px · 1280 px · 1024 px · 800 px · 480 px
Applies
At once
In config.json
Copies.MaxSize

rex config set Copies.MaxSize 1920

Copy frame rate

A lower one is lighter on the phone and the PC. Open copies restart with it.

Default
Same as the mirror
Choices
Same as the mirror · 60 fps · 45 fps · 30 fps · 24 fps · 15 fps
Applies
At once
In config.json
Copies.MaxFps

rex config set Copies.MaxFps 60

Open the same copies next time

Default
On
Choices
On or off
Applies
At once
In config.json
Copies.Remember

rex config set Copies.Remember false

Second screen & views

One app on a display of its own, beside the phone or instead of it. Changes here open it again with the same app. Needs Android 10 or later.

Show it

Default
Beside the phone
Choices
Beside the phone · Instead of the phone
Applies
At once
In config.json
SecondScreen.Placement

rex config set SecondScreen.Placement instead

On which side

Default
Right of the phone
Choices
Right of the phone · Left of the phone
Applies
At once
In config.json
SecondScreen.Side

rex config set SecondScreen.Side left

Never narrower than

Below this, the phone's view shrinks first; then the second screen shows alone until there is room.

Default
360
Choices
From 240 to 1200, in steps of 20
Applies
At once
In config.json
SecondScreen.MinWidth

rex config set SecondScreen.MinWidth 1200

Size

Default
Fits the window exactly
Choices
Fits the window exactly · Same as the phone · 1280 x 720 · 1920 x 1080 · 2560 x 1440 · Your own
Applies
At once
In config.json
SecondScreen.Size

rex config set SecondScreen.Size phone

Width in pixels

320 to 3840 pixels

Default
1920
Choices
Text
Applies
At once
In config.json
SecondScreen.CustomWidth

Height in pixels

320 to 3840 pixels

Default
1080
Choices
Text
Applies
At once
In config.json
SecondScreen.CustomHeight

Upright

Off, a named size lies on its side, as a PC screen does. The phone's own size always keeps the phone's shape.

Default
Off
Choices
On or off
Applies
At once
In config.json
SecondScreen.Portrait

rex config set SecondScreen.Portrait true

Resize it while the window is being resized

Off, it takes the new size once the drag ends.

Default
Off
Choices
On or off
Applies
At once
In config.json
SecondScreen.ResizeWhileDragging

rex config set SecondScreen.ResizeWhileDragging true

Text and buttons

Smaller to the left, larger to the right; all the way left is the phone's own.

Default
0
Choices
From 80 to 640, in steps of 20
Applies
At once
In config.json
SecondScreen.Dpi

rex config set SecondScreen.Dpi 640

Video resolution limit

Default
No limit
Choices
No limit · 480 px · 720 px · 1024 px · 1280 px · 1600 px · 1920 px · 2560 px · 3840 px
Applies
At once
In config.json
SecondScreen.MaxSize

rex config set SecondScreen.MaxSize 480

Android's navigation bar on it

Default
On
Choices
On or off
Applies
At once
In config.json
SecondScreen.Decorations

rex config set SecondScreen.Decorations false

Closing it moves its app to the phone

Off, closing it closes the app too.

Default
On
Choices
On or off
Applies
At once
In config.json
SecondScreen.KeepAppsOnClose

rex config set SecondScreen.KeepAppsOnClose false

Android's on-screen keyboard appears

Default
On the second screen
Choices
On the second screen · On the phone's own screen · Never: type on this PC
Applies
At once
In config.json
SecondScreen.Keyboard

rex config set SecondScreen.Keyboard phone

Open it again with the last app when the mirror starts

Default
Off
Choices
On or off
Applies
At once
In config.json
SecondScreen.ReopenOnStart

rex config set SecondScreen.ReopenOnStart true

Arrange the views

Default
Whatever fits best
Choices
Whatever fits best · Side by side · One above the other
Applies
At once
In config.json
Views.Arrangement

rex config set Views.Arrangement side

Outline the view that has the keyboard

Default
When there is more than one
Choices
When there is more than one · Always · Never
Applies
At once
In config.json
Views.Outline

rex config set Views.Outline always

Name each view

Default
For a few seconds, when they show different things
Choices
For a few seconds, when they show different things · Always · Never
Applies
At once
In config.json
Views.Captions

rex config set Views.Captions always

A splitter between the phone and the second screen

Default
On
Choices
On or off
Applies
At once
In config.json
Views.Splitter

rex config set Views.Splitter false

Second phone

A second, different phone beside the first, each in a view of its own. The side panel, keys and buttons act on the one you click. Copies wait while two phones show.

Show a second phone beside the first

Default
On
Choices
On or off
Applies
At once
In config.json
SecondPhone.Enabled

rex config set SecondPhone.Enabled false

When a second phone connects

Default
Ask in the notice bar
Choices
Ask in the notice bar · Show it beside at once · Only from the phone menu
Applies
At once
In config.json
SecondPhone.WhenConnected

rex config set SecondPhone.WhenConnected always

Show the same second phone again next time

The one shown beside comes back by itself when it connects again.

Default
On
Choices
On or off
Applies
At once
In config.json
SecondPhone.Remember

rex config set SecondPhone.Remember false

On which side

Default
Right of the main phone
Choices
Right of the main phone · Left of the main phone
Applies
At once
In config.json
SecondPhone.Side

rex config set SecondPhone.Side left

Sound on this PC from

Default
The main phone
Choices
The main phone · The phone you are using · Both phones
Applies
At once
In config.json
SecondPhone.Sound

rex config set SecondPhone.Sound active

Its own screen while shown

Default
Like the main phone
Choices
Like the main phone · Off · On
Applies
At once
In config.json
SecondPhone.ScreenOff

rex config set SecondPhone.ScreenOff off

Its resolution limit

Default
Like the main phone
Choices
Like the main phone · 480 px · 720 px · 1024 px · 1280 px · 1600 px · 1920 px · 2560 px · 3840 px
Applies
At once
In config.json
SecondPhone.MaxSize

rex config set SecondPhone.MaxSize 480

Its bit rate

Default
Like the main phone
Choices
Like the main phone · 4 Mbps · 8 Mbps · 12 Mbps · 16 Mbps · 24 Mbps
Applies
At once
In config.json
SecondPhone.BitRate

rex config set SecondPhone.BitRate 4M

Pause it while the window is hidden

It stops after five seconds out of sight and starts again when the window shows.

Default
Off
Choices
On or off
Applies
At once
In config.json
SecondPhone.PauseWhenHidden

rex config set SecondPhone.PauseWhenHidden true

Its own profile applies while you use it

The profile chosen for that phone, put back when you go back to the main one.

Default
Off
Choices
On or off
Applies
At once
In config.json
SecondPhone.FollowsProfile

rex config set SecondPhone.FollowsProfile true

Apps

The Apps tab, and where favourite apps show up. Each phone keeps its own list, favourites and recent apps.

Show system apps

The apps that came with the phone, in a group of their own. A search finds them either way.

Default
Off
Choices
On or off
Applies
At once
In config.json
Apps.ShowSystem

rex config set Apps.ShowSystem true

Show package names

Default
On
Choices
On or off
Applies
At once
In config.json
Apps.ShowPackages

rex config set Apps.ShowPackages false

Clicking an app opens it

Default
On the phone
Choices
On the phone · On a second screen · Ask each time
Applies
At once
In config.json
Apps.OpenOn

rex config set Apps.OpenOn second-screen

Sort apps by

Default
Name
Choices
Name · Opened last first · Opened most first
Applies
At once
In config.json
Apps.SortBy

rex config set Apps.SortBy recent

Show apps as

Default
A list
Choices
A list · Tiles
Applies
At once
In config.json
Apps.Layout

rex config set Apps.Layout grid

Show recently opened apps first

While sorting by name.

Default
On
Choices
On or off
Applies
At once
In config.json
Apps.ShowRecent

rex config set Apps.ShowRecent false

Remember this many recent apps

Default
20
Choices
From 0 to 50, in steps of 1
Applies
At once
In config.json
Apps.RecentCount

rex config set Apps.RecentCount 50

Favourites on the Controls tab

Default
On
Choices
On or off
Applies
At once
In config.json
Apps.FavouritesOnControls

rex config set Apps.FavouritesOnControls false

Up to

Default
6
Choices
From 1 to 12, in steps of 1
Applies
At once
In config.json
Apps.FavouritesOnControlsMost

rex config set Apps.FavouritesOnControlsMost 12

Favourites on the fullscreen controls

Default
Off
Choices
On or off
Applies
At once
In config.json
Apps.FavouritesInHud

rex config set Apps.FavouritesInHud true

Ctrl+Alt+Shift+1 to 9 open favourites

In the order they are in. Off, those keys go to the phone.

Default
On
Choices
On or off
Applies
At once
In config.json
Apps.FavouriteKeys

rex config set Apps.FavouriteKeys false

Read the list again whenever the phone connects

Once the mirror is up. Off, it is read once and then with Read again.

Default
On
Choices
On or off
Applies
At once
In config.json
Apps.ReadOnConnect

rex config set Apps.ReadOnConnect false

Open apps fresh

Closes an app before opening it, so it starts from the beginning. Shift does it for one click.

Default
Off
Choices
On or off
Applies
At once
In config.json
Apps.OpenFresh

rex config set Apps.OpenFresh true

Close the apps opened from here when the mirror stops

Default
Off
Choices
On or off
Applies
At once
In config.json
Apps.CloseWhenMirrorStops

rex config set Apps.CloseWhenMirrorStops true

Show every hidden app again

Default
None
Choices
A list, chosen in the window
Applies
At once
In config.json
Apps.Hidden

Sending files

Drop, choose or paste files to copy them into the phone's shared storage. APK files may be installed instead.

Accept files from this PC

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Transfer.Enabled

rex config set Transfer.Enabled false

Send files to

Default
/sdcard/Download/
Choices
Text
Applies
At once
In config.json
Transfer.Folder

Put photos, videos and music in their own folders

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.SortMedia

rex config set Transfer.SortMedia true

Dropped folders

Default
Send the whole folder
Choices
Send the whole folder · Refuse folders
Applies
At once
In config.json
Transfer.Folders

rex config set Transfer.Folders refuse

Install apps (.apk) instead of copying them

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.InstallApks

rex config set Transfer.InstallApks false

Update an app that is already installed

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.Replace

rex config set Transfer.Replace false

Allow installing an older version

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.AllowDowngrade

rex config set Transfer.AllowDowngrade true

Grant every permission the app asks for

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.GrantPermissions

rex config set Transfer.GrantPermissions true

Allow test builds

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.AllowTestApps

rex config set Transfer.AllowTestApps true

Ask before installing

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.ConfirmInstall

rex config set Transfer.ConfirmInstall false

Open an app once it is installed

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.OpenAfterInstall

rex config set Transfer.OpenAfterInstall true

Ask before sending anything dropped

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.ConfirmDrops

rex config set Transfer.ConfirmDrops true

Ask before sending more than

Default
1 GB
Choices
Never · 100 MB · 500 MB · 1 GB · 4 GB · 10 GB
Applies
At once
In config.json
Transfer.ConfirmOverMb

rex config set Transfer.ConfirmOverMb 0

When the phone already has a file with that name

Default
Keep both
Choices
Ask · Keep both · Replace · Skip
Applies
At once
In config.json
Transfer.WhenNameExists

rex config set Transfer.WhenNameExists ask

Show new photos and videos in the Gallery at once

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.ScanMedia

rex config set Transfer.ScanMedia false

Open the folder on the phone afterwards

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.ShowFolderAfter

rex config set Transfer.ShowFolderAfter true

Send this many files at once

Default
1
Choices
From 1 to 4, in steps of 1
Applies
At once
In config.json
Transfer.AtOnce

rex config set Transfer.AtOnce 4

Show progress on the taskbar button

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.TaskbarProgress

rex config set Transfer.TaskbarProgress false

Say when it is done while the window is hidden

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.NotifyWhenHidden

rex config set Transfer.NotifyWhenHidden false

Cancel what is waiting when the phone disconnects

Default
On
Choices
On or off
Applies
At once
In config.json
Transfer.CancelWhenPhoneLeaves

rex config set Transfer.CancelWhenPhoneLeaves false

Keep this many finished transfers in the list

Default
20
Choices
From 0 to 100, in steps of 1
Applies
At once
In config.json
Transfer.History

rex config set Transfer.History 100

Add Send to › Android phone to File Explorer

Appears in File Explorer's Send to menu.

Default
Off
Choices
On or off
Applies
At once
In config.json
Transfer.SendToMenu

rex config set Transfer.SendToMenu true

Fullscreen controls

In fullscreen the controls hide themselves. Move the pointer to where you put them and they come back. Drag them anywhere by the dotted grip on their left.

Show the floating controls

Default
On
Choices
On or off
Applies
At once
In config.json
Hud.Enabled

rex config set Hud.Enabled false

In the window too

The same bar over the top of the mirror, out of fullscreen. Handy with the top bar hidden.

Default
Off
Choices
On or off
Applies
At once
In config.json
Hud.ShowInWindow

rex config set Hud.ShowInWindow true

Keep the order I pick them in

Off puts the buttons in the order the actions are listed in.

Default
Off
Choices
On or off
Applies
At once
In config.json
Hud.KeepOrder

rex config set Hud.KeepOrder true

Hide them by themselves

Default
On
Choices
On or off
Applies
At once
In config.json
Hud.AutoHide

rex config set Hud.AutoHide false

Where they sit

Default
Top
Choices
Top · Bottom · Left · Right · Top left · Top right · Bottom left · Bottom right
Applies
At once
In config.json
Hud.Position

rex config set Hud.Position bottom

Show the status line under them

Default
On
Choices
On or off
Applies
At once
In config.json
Hud.ShowMessages

rex config set Hud.ShowMessages false

Size

Default
1
Choices
From 0.75 to 1.75
Applies
At once
In config.json
Hud.Scale

rex config set Hud.Scale 1.75

Opacity

Default
1
Choices
From 0.3 to 1
Applies
At once
In config.json
Hud.Opacity

rex config set Hud.Opacity 1

Hides after

Default
3
Choices
From 1 to 15, in steps of 1
Applies
At once
In config.json
Hud.HideSeconds

rex config set Hud.HideSeconds 15

Buttons

Default
home, back, recents, rotation-portrait, rotation-landscape, rotation-auto, screenshot, zoom-reset, fullscreen
Choices
A list, chosen in the window
Applies
At once
In config.json
Hud.Buttons

Lock screen

Nine-dot guide for pattern locks

For phones whose secure lock screen mirrors as black.

Default
On
Choices
On or off
Applies
At once
In config.json
PatternGuide.Enabled

rex config set PatternGuide.Enabled false

Show automatically when locked

Default
On
Choices
On or off
Applies
At once
In config.json
PatternGuide.AutoShowOnKeyguard

rex config set PatternGuide.AutoShowOnKeyguard false

Use the phone's real pattern position

Asks Android where the dots are each time the lock screen shows. Off keeps your calibration.

Default
On
Choices
On or off
Applies
At once
In config.json
PatternGuide.AutoDiscoverGeometry

rex config set PatternGuide.AutoDiscoverGeometry false

Ask how each new phone unlocks

Default
On
Choices
On or off
Applies
At once
In config.json
PatternGuide.AskPerDevice

rex config set PatternGuide.AskPerDevice false

Allow lining the guide up by hand

Ctrl+Alt+C, then the arrow keys.

Default
On
Choices
On or off
Applies
At once
In config.json
PatternGuide.CalibrationEnabled

rex config set PatternGuide.CalibrationEnabled false

Draw a trail while you drag the pattern

Default
On
Choices
On or off
Applies
At once
In config.json
PatternGuide.ShowCursorTrail

rex config set PatternGuide.ShowCursorTrail false

Guide opacity

Default
0.9
Choices
From 0.2 to 1, in steps of 0.05
Applies
At once
In config.json
PatternGuide.Opacity

rex config set PatternGuide.Opacity 1

Dot size

Larger dots are easier to hit while dragging the pattern.

Default
1
Choices
From 0.6 to 1.6, in steps of 0.05
Applies
At once
In config.json
PatternGuide.DotSize

rex config set PatternGuide.DotSize 1.6

Screenshots & recording

Save screenshots to

Default
captures/screenshots
Choices
Text
Applies
At once
In config.json
App.ScreenshotDirectory

Record every session

Starts recording with the next mirror, into captures\recordings in the app's folder.

Default
Off
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.RecordOnStart

rex config set Mirror.RecordOnStart true

Choose the folder for recordings

Default
captures/recordings
Choices
Text
Applies
The next time the mirror starts
In config.json
Mirror.RecordDirectory

Screenshot format

PNG is exactly what the phone showed; JPG is much smaller.

Default
PNG
Choices
PNG · JPG
Applies
At once
In config.json
App.ScreenshotFormat

rex config set App.ScreenshotFormat jpg

Copy each screenshot to the clipboard

Default
Off
Choices
On or off
Applies
At once
In config.json
App.CopyScreenshots

rex config set App.CopyScreenshots true

Flash the view as a screenshot is taken

Default
Off
Choices
On or off
Applies
At once
In config.json
App.ScreenshotFlash

rex config set App.ScreenshotFlash true

Open each screenshot once it is saved

In the app Windows opens pictures with.

Default
Off
Choices
On or off
Applies
At once
In config.json
App.OpenScreenshots

rex config set App.OpenScreenshots true

Name screenshots and recordings

Like android-{date}-{time}. A name already taken is never overwritten.

Default
android-{date}-{time}
Choices
Text
Applies
At once
In config.json
App.CaptureNames

Recording format

MP4 plays anywhere; MKV survives a recording cut short.

Default
MP4
Choices
MP4 · MKV
Applies
The next time the mirror starts
In config.json
Mirror.RecordFormat

rex config set Mirror.RecordFormat mkv

Window

How the window looks and where it opens. Everything here applies at once.

Keep the window on top

Default
Off
Choices
On or off
Applies
At once
In config.json
App.AlwaysOnTop

rex config set App.AlwaysOnTop true

Side panel

Default
On the right
Choices
On the right · On the left
Applies
At once
In config.json
App.SidebarSide

rex config set App.SidebarSide left

Side panel size

Its text and controls larger or smaller; the panel keeps its width.

Default
1
Choices
From 0.8 to 1.5, in steps of 0.05
Applies
At once
In config.json
App.PanelScale

rex config set App.PanelScale 1.5

Around the picture

The mirror area changes at once; the edges scrcpy draws itself, at the mirror's next start.

Default
The app's own dark
Choices
The app's own dark · Black, for an OLED screen
Applies
The next time the mirror starts
In config.json
Mirror.Backdrop

rex config set Mirror.Backdrop black

Live pictures without a graphics card

The soft background and the navigator's picture, over Remote Desktop or in a virtual machine, where each frame is the processor's work.

Default
Slower, a few times a second
Choices
Slower, a few times a second · As often as set · Off
Applies
At once
In config.json
App.WithoutGraphicsCard

rex config set App.WithoutGraphicsCard same

Top bar

The phone's name and its buttons. Without it, Ctrl+Alt+B still shows the side panel.

Default
On
Choices
On or off
Applies
At once
In config.json
App.ShowTopBar

rex config set App.ShowTopBar false

Phone buttons in the top bar

Tap to show or hide each one.

Default
home, back, recents, sleep, screenshot, sound
Choices
A list, chosen in the window
Applies
At once
In config.json
App.TopBarButtons

Status bar

What the app is doing, under the mirror.

Default
On
Choices
On or off
Applies
At once
In config.json
App.ShowStatusBar

rex config set App.ShowStatusBar false

Shortcut hints in the status bar

Default
On
Choices
On or off
Applies
At once
In config.json
App.ShowHints

rex config set App.ShowHints false

Frame rate in the status bar

Live, from scrcpy's own counter.

Default
Off
Choices
On or off
Applies
At once
In config.json
App.ShowFrameRate

rex config set App.ShowFrameRate true

Open where it was last time

Off opens it in the middle of the screen at its usual size.

Default
On
Choices
On or off
Applies
At once
In config.json
App.RememberPlacement

rex config set App.RememberPlacement false

Fit the window to the phone as the mirror starts

Default
Off
Choices
On or off
Applies
At once
In config.json
App.FitWindowOnStart

rex config set App.FitWindowOnStart true

Ask before quitting while a phone is mirrored

From the tray's Quit, or closing the window when nothing stays in the tray.

Default
Off
Choices
On or off
Applies
At once
In config.json
App.ConfirmQuit

rex config set App.ConfirmQuit true

Startup & tray

Keep running in the tray when closed

Default
On
Choices
On or off
Applies
At once
In config.json
App.RunInBackground

rex config set App.RunInBackground false

Open the window when a phone connects

Default
On
Choices
On or off
Applies
At once
In config.json
App.OpenOnConnect

rex config set App.OpenOnConnect false

Say what is new after an update

Once per version, in the bar above the mirror.

Default
On
Choices
On or off
Applies
At once
In config.json
App.ShowWhatsNew

rex config set App.ShowWhatsNew false

Say when a phone connects or leaves

From the tray, while the window is closed or minimised.

Default
Off
Choices
On or off
Applies
At once
In config.json
App.NotifyConnections

rex config set App.NotifyConnections true

Say when the mirror stops by itself

From the tray, while the window is closed or minimised.

Default
Off
Choices
On or off
Applies
At once
In config.json
App.NotifyMirrorStops

rex config set App.NotifyMirrorStops true

Check for a newer version once a day

Asks GitHub which version is newest; nothing else is sent. Off unless you turn it on.

Default
Off
Choices
On or off
Applies
At once
In config.json
App.CheckForUpdates

rex config set App.CheckForUpdates true

Shortcuts from anywhere

Keys that work while the window is hidden in the tray or behind other windows. To set one, click its box and press the keys; Backspace turns it off and Esc puts back what was there.

Shortcuts work while the window is hidden or behind others

They take the key from every other app while this one runs. Not while an app running as administrator is in front.

Default
On
Choices
On or off
Applies
At once
In config.json
GlobalKeys.Enabled

rex config set GlobalKeys.Enabled false

Show or hide the window

Default
Ctrl+Alt+M
Choices
A key with Ctrl, such as Ctrl+Shift+F9, or F13 to F24 on their own; empty turns it off
Applies
At once
In config.json
GlobalKeys.ShowHide

rex config set GlobalKeys.ShowHide Ctrl+Shift+F9

When the window is behind others

Default
Bring it to the front
Choices
Bring it to the front · Hide it
Applies
At once
In config.json
GlobalKeys.WhenBehind

rex config set GlobalKeys.WhenBehind hide

When the window is in front

Default
Hide it
Choices
Hide it · Do nothing
Applies
At once
In config.json
GlobalKeys.WhenInFront

rex config set GlobalKeys.WhenInFront nothing

Hide it to

Default
The tray
Choices
The tray · The taskbar
Applies
At once
In config.json
GlobalKeys.HideTo

rex config set GlobalKeys.HideTo taskbar

Open straight to fullscreen

Default
Off
Choices
On or off
Applies
At once
In config.json
GlobalKeys.ShowFullscreen

rex config set GlobalKeys.ShowFullscreen true

Type into the phone as soon as it shows

The phone has the keyboard the moment the window comes up.

Default
On
Choices
On or off
Applies
At once
In config.json
GlobalKeys.TypeIntoPhone

rex config set GlobalKeys.TypeIntoPhone false

Say what a shortcut did, from the tray

Only while the window is hidden or minimised.

Default
Off
Choices
On or off
Applies
At once
In config.json
GlobalKeys.Announce

rex config set GlobalKeys.Announce true

More shortcuts from anywhere

Any action, on a key of its own: a screenshot, the next video, muting.

Default
None
Choices
A list, chosen in the window
Applies
At once
In config.json
GlobalKeys.Actions

Keyboard shortcuts

Click a box and press the keys. Backspace takes a key away; Esc keeps the one it had. Find one with the search above.

Keys in the window

Default
None
Choices
A list, chosen in the window
Applies
At once
In config.json
Keys.Window

Keys in browse mode

Default
None
Choices
A list, chosen in the window
Applies
At once
In config.json
Keys.Browse

Controls tab

Which sections the Controls tab shows and in what order, and the tiles in its grids. Everything here applies at once.

Sections of the Controls tab

Default
apps, screen, phone, orientation, view, keyboard, zoom, copies, files, clipboard, pattern
Choices
A list, chosen in the window
Applies
At once
In config.json
Controls.Sections

Tiles in the Phone grid

Default
home, back, recents, power, wake, sleep, volume-up, volume-down, mute, notifications, quick-settings, collapse
Choices
A list, chosen in the window
Applies
At once
In config.json
Controls.PhoneTiles

Tiles in the View grid

Default
rotate-left, rotate-right, pause, reset-capture, screenshot, fullscreen
Choices
A list, chosen in the window
Applies
At once
In config.json
Controls.ViewTiles

Tiles under browse mode

Default
swipe-down, swipe-up, tap, swipe-right, swipe-left, like
Choices
A list, chosen in the window
Applies
At once
In config.json
Controls.GestureTiles

Tiles in a row

Default
3
Choices
From 2 to 4, in steps of 1
Applies
At once
In config.json
Controls.Columns

rex config set Controls.Columns 4

Names under the tiles

Off shows the icons alone; each name stays in its tooltip.

Default
On
Choices
On or off
Applies
At once
In config.json
Controls.TileLabels

rex config set Controls.TileLabels false

Connection & logs

How the app finds phones and what it writes down while it works.

Prefer USB when a phone is on USB and Wi-Fi

USB is faster and steadier; Wi-Fi is used only when there is no cable.

Default
On
Choices
On or off
Applies
At once
In config.json
Session.PreferUsb

rex config set Session.PreferUsb false

Look for phones every

Shorter finds a phone sooner; longer asks ADB less often.

Default
1
Choices
From 1 to 30, in steps of 1
Applies
At once
In config.json
Session.PollSeconds

rex config set Session.PollSeconds 30

Wait before trying again

After the mirror closes by itself, before it starts again.

Default
4
Choices
From 1 to 60, in steps of 1
Applies
At once
In config.json
Session.RetrySeconds

rex config set Session.RetrySeconds 60

Wi-Fi debugging port

1 to 65535; Android's own is 5555

Default
5555
Choices
Text
Applies
At once
In config.json
Wireless.Port

Address to add

Like 192.168.1.20, or 192.168.1.20:5555

Default
None
Choices
Text
Applies
At once
In config.json
Wireless.ManualHosts

Keep a log

What happened, for when something goes wrong. It never holds what you type or see.

Default
On
Choices
On or off
Applies
At once
In config.json
Logging.Enabled

rex config set Logging.Enabled false

Start a new log file at

Default
2 MB
Choices
1 MB · 2 MB · 5 MB · 10 MB · 50 MB
Applies
At once
In config.json
Logging.MaxBytes

rex config set Logging.MaxBytes 1048576

Old log files to keep

Default
5
Choices
From 1 to 20, in steps of 1
Applies
At once
In config.json
Logging.KeepFiles

rex config set Logging.KeepFiles 20

Write every phone command in the log

For a bug report. Where the screen was touched is left out.

Default
Off
Choices
On or off
Applies
At once
In config.json
Logging.Verbose

rex config set Logging.Verbose true

Connection & advanced

Confirm risky Android setting writes

Default
On
Choices
On or off
Applies
At once
In config.json
App.ConfirmSensitiveWrites

rex config set App.ConfirmSensitiveWrites false

Reconnect over Wi-Fi if USB drops

Off keeps the mirror on USB only.

Default
Off
Choices
On or off
Applies
At once
In config.json
Wireless.Enabled

rex config set Wireless.Enabled true

Turn on the phone's Wi-Fi debugging from USB

While the phone is plugged in, open its wireless port and remember its address, so the reconnect has somewhere to go.

Default
Off
Choices
On or off
Applies
At once
In config.json
Wireless.EnableTcpipWhenUsbAvailable

rex config set Wireless.EnableTcpipWhenUsbAvailable true

Fix USB by itself when Windows can't read the phone

Default
On
Choices
On or off
Applies
At once
In config.json
App.AutoRepairUsb

rex config set App.AutoRepairUsb false

Smoothing buffer

Holds each frame a moment to even out a shaky connection, such as wireless. Off is the lowest latency.

Default
Off
Choices
Off · 50 ms · 100 ms · 200 ms · 500 ms
Applies
The next time the mirror starts
In config.json
Mirror.VideoBufferMs

rex config set Mirror.VideoBufferMs 50

Try a lower resolution if the encoder fails

Off stops the mirror instead and says why.

Default
On
Choices
On or off
Applies
The next time the mirror starts
In config.json
Mirror.DownsizeOnError

rex config set Mirror.DownsizeOnError false

Renderer

How scrcpy draws the picture here. Change it only if the picture flickers or stays black; software is slowest but always works.

Default
Automatic
Choices
Automatic · Direct3D · OpenGL · OpenGL ES 2 · Software
Applies
The next time the mirror starts
In config.json
Mirror.RenderDriver

rex config set Mirror.RenderDriver direct3d

Extra scrcpy arguments

Passed to scrcpy at launch, for options this app does not expose

Default
Empty
Choices
Text
Applies
The next time the mirror starts
In config.json
Mirror.ExtraArgs

Set somewhere else

These are in config.json, but the app sets them for you where it makes sense to.

Hud.X

Set by dragging the fullscreen controls.

Default
Not set
Choices
Text
Applies
At once
In config.json
Hud.X

Hud.Y

Set by dragging the fullscreen controls.

Default
Not set
Choices
Text
Applies
At once
In config.json
Hud.Y

Session.PreferredSerial

Set by the phone picker.

Default
Empty
Choices
Text
Applies
At once
In config.json
Session.PreferredSerial

Version

Managed by the app.

Default
2
Choices
A number
Applies
At once
In config.json
Version