scrcpy - Display And Control Android Devices Connected Via USB On Linux

English

scrcpy is a free application which provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and MacOS.

License: Apache V2.0

Requirements:

  • The Android part requires at least API 21 (Android 5.0)
  • Make sure you enabled adb debugging on your device(s).
  • Also USB Debugging ( Security Settings ). Allow granting permissions and simulating input via USB Debugging.
    NOTE: If Mouse clicks and keyboard doesn't work.

Under Developers Settings on your Android phone activate:


How to install on Debian or Ubuntu:

Install the required packages from your package manager:

# runtime dependencies

sudo apt install ffmpeg libsdl2-2.0.0

Press Enter, then continue with...

# client build dependencies

sudo apt install make gcc pkg-config meson ninja-build \

libavcodec-dev libavformat-dev libavutil-dev \

libsdl2-dev

# server build dependencies

sudo apt install openjdk-8-jdk

Press Enter,

Next, two options if meson is too old, run the second command:

sudo apt install python3-pip

Press Enter,

Wait to see if it is working. If not run the second command via pip3:

pip3 install meson

Press Enter.

Usage:

Action Shortcut
switch fullscreen mode Ctrl+f
resize window to 1:1 (pixel-perfect) Ctrl+g
resize window to remove black borders Ctrl+x | Double-click¹
click on HOME Ctrl+h | Middle-click
click on BACK Ctrl+b | Right-click²
click on APP_SWITCH Ctrl+s
click on MENU Ctrl+m
click on VOLUME_UP Ctrl+ (up) (Cmd+ on MacOS)
click on VOLUME_DOWN Ctrl+ (down) (Cmd+ on MacOS)
click on POWER Ctrl+p
turn screen on Right-click²
expand notification panel Ctrl+n
collapse notification panel Ctrl+Shift+n
paste computer clipboard to device Ctrl+v
enable/disable FPS counter (on stdout) Ctrl+i

Developers website

Featured Sponsors

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.