Skip to content

Commit 28054cd

Browse files
committed
Merge branch 'master' into dev
2 parents 38cdcdd + 334f469 commit 28054cd

File tree

4 files changed

+439
-120
lines changed

4 files changed

+439
-120
lines changed

FAQ.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Here are the common reported problems and their status.
1212

1313
In that case, it will print this error:
1414

15-
> ERROR: "adb push" returned with value 1
15+
> ERROR: "adb get-serialno" returned with value 1
1616
1717
This is typically not a bug in _scrcpy_, but a problem in your environment.
1818

@@ -32,36 +32,46 @@ in the release, so it should work out-of-the-box.
3232

3333
### Device unauthorized
3434

35-
Check [stackoverflow][device-unauthorized].
35+
36+
> error: device unauthorized.
37+
> This adb server's $ADB_VENDOR_KEYS is not set
38+
> Try 'adb kill-server' if that seems wrong.
39+
> Otherwise check for a confirmation dialog on your device.
40+
41+
When connecting, a popup should open on the device. You must authorize USB
42+
debugging.
43+
44+
If it does not open, check [stackoverflow][device-unauthorized].
3645

3746
[device-unauthorized]: https://stackoverflow.com/questions/23081263/adb-android-device-unauthorized
3847

3948

4049
### Device not detected
4150

42-
> adb: error: failed to get feature set: no devices/emulators found
51+
> error: no devices/emulators found
4352
4453
Check that you correctly enabled [adb debugging][enable-adb].
4554

46-
If your device is not detected, you may need some [drivers] (on Windows).
55+
If your device is not detected, you may need some [drivers] (on Windows). There is a separate [USB driver for Google devices][google-usb-driver].
4756

4857
[enable-adb]: https://developer.android.com/studio/command-line/adb.html#Enabling
4958
[drivers]: https://developer.android.com/studio/run/oem-usb.html
59+
[google-usb-driver]: https://developer.android.com/studio/run/win-usb
5060

5161

5262
### Several devices connected
5363

5464
If several devices are connected, you will encounter this error:
5565

56-
> adb: error: failed to get feature set: more than one device/emulator
66+
> error: more than one device/emulator
5767
5868
the identifier of the device you want to mirror must be provided:
5969

6070
```bash
6171
scrcpy -s 01234567890abcdef
6272
```
6373

64-
Note that if your device is connected over TCP/IP, you'll get this message:
74+
Note that if your device is connected over TCP/IP, you might get this message:
6575

6676
> adb: error: more than one device/emulator
6777
> ERROR: "adb reverse" returned with value 1

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ On Debian and Ubuntu:
7676
apt install scrcpy
7777
```
7878

79+
On Arch Linux:
80+
81+
```
82+
pacman -S scrcpy
83+
```
84+
7985
A [Snap] package is available: [`scrcpy`][snap-link].
8086

8187
[snap-link]: https://snapstats.org/snaps/scrcpy
@@ -87,10 +93,6 @@ For Fedora, a [COPR] package is available: [`scrcpy`][copr-link].
8793
[COPR]: https://fedoraproject.org/wiki/Category:Copr
8894
[copr-link]: https://copr.fedorainfracloud.org/coprs/zeno/scrcpy/
8995

90-
For Arch Linux, an [AUR] package is available: [`scrcpy`][aur-link].
91-
92-
[AUR]: https://wiki.archlinux.org/index.php/Arch_User_Repository
93-
[aur-link]: https://aur.archlinux.org/packages/scrcpy/
9496

9597
For Gentoo, an [Ebuild] is available: [`scrcpy/`][ebuild-link].
9698

@@ -1000,7 +1002,7 @@ _<kbd>[Super]</kbd> is typically the <kbd>Windows</kbd> or <kbd>Cmd</kbd> key._
10001002
| Click on `HOME` | <kbd>MOD</kbd>+<kbd>h</kbd> \| _Middle-click_
10011003
| Click on `BACK` | <kbd>MOD</kbd>+<kbd>b</kbd> \| _Right-click²_
10021004
| Click on `APP_SWITCH` | <kbd>MOD</kbd>+<kbd>s</kbd> \| _4th-click³_
1003-
| Click on `MENU` (unlock screen) | <kbd>MOD</kbd>+<kbd>m</kbd>
1005+
| Click on `MENU` (unlock screen) | <kbd>MOD</kbd>+<kbd>m</kbd>
10041006
| Click on `VOLUME_UP` | <kbd>MOD</kbd>+<kbd>↑</kbd> _(up)_
10051007
| Click on `VOLUME_DOWN` | <kbd>MOD</kbd>+<kbd>↓</kbd> _(down)_
10061008
| Click on `POWER` | <kbd>MOD</kbd>+<kbd>p</kbd>
@@ -1011,9 +1013,9 @@ _<kbd>[Super]</kbd> is typically the <kbd>Windows</kbd> or <kbd>Cmd</kbd> key._
10111013
| Expand notification panel | <kbd>MOD</kbd>+<kbd>n</kbd> \| _5th-click³_
10121014
| Expand settings panel | <kbd>MOD</kbd>+<kbd>n</kbd>+<kbd>n</kbd> \| _Double-5th-click³_
10131015
| Collapse panels | <kbd>MOD</kbd>+<kbd>Shift</kbd>+<kbd>n</kbd>
1014-
| Copy to clipboard | <kbd>MOD</kbd>+<kbd>c</kbd>
1015-
| Cut to clipboard | <kbd>MOD</kbd>+<kbd>x</kbd>
1016-
| Synchronize clipboards and paste | <kbd>MOD</kbd>+<kbd>v</kbd>
1016+
| Copy to clipboard | <kbd>MOD</kbd>+<kbd>c</kbd>
1017+
| Cut to clipboard | <kbd>MOD</kbd>+<kbd>x</kbd>
1018+
| Synchronize clipboards and paste | <kbd>MOD</kbd>+<kbd>v</kbd>
10171019
| Inject computer clipboard text | <kbd>MOD</kbd>+<kbd>Shift</kbd>+<kbd>v</kbd>
10181020
| Enable/disable FPS counter (on stdout) | <kbd>MOD</kbd>+<kbd>i</kbd>
10191021
| Pinch-to-zoom | <kbd>Ctrl</kbd>+_click-and-move_
@@ -1023,7 +1025,8 @@ _<kbd>[Super]</kbd> is typically the <kbd>Windows</kbd> or <kbd>Cmd</kbd> key._
10231025
_¹Double-click on black borders to remove them._
10241026
_²Right-click turns the screen on if it was off, presses BACK otherwise._
10251027
_³4th and 5th mouse buttons, if your mouse has them._
1026-
_⁴Only on Android >= 7._
1028+
_⁴For react-native apps in development, `MENU` triggers development menu._
1029+
_⁵Only on Android >= 7._
10271030

10281031
Shortcuts with repeated keys are executted by releasing and pressing the key a
10291032
second time. For example, to execute "Expand settings panel":
@@ -1112,8 +1115,8 @@ This README is available in other languages:
11121115
- [日本語 (Japanese, `jp`) - v1.19](README.jp.md)
11131116
- [한국어 (Korean, `ko`) - v1.11](README.ko.md)
11141117
- [Português Brasileiro (Brazilian Portuguese, `pt-BR`) - v1.19](README.pt-br.md)
1115-
- [Español (Spanish, `sp`) - v1.17](README.sp.md)
1116-
- [简体中文 (Simplified Chinese, `zh-Hans`) - v1.20](README.zh-Hans.md)
1118+
- [Español (Spanish, `sp`) - v1.21](README.sp.md)
1119+
- [简体中文 (Simplified Chinese, `zh-Hans`) - v1.21](README.zh-Hans.md)
11171120
- [繁體中文 (Traditional Chinese, `zh-Hant`) - v1.15](README.zh-Hant.md)
11181121
- [Turkish (Turkish, `tr`) - v1.18](README.tr.md)
11191122

0 commit comments

Comments
 (0)