scrcpy-snap icon indicating copy to clipboard operation
scrcpy-snap copied to clipboard

Snap packaging for scrcpy: https://github.com/Genymobile/scrcpy

Snap Packaging for scrcpy

This is a snap for scrcpy, "Display and control your Android device". It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Screenshot of the Snapped Application

Installation

(Don't have snapd installed?)

The Graphical Way

Get it from the Snap Store

From the Terminal

The latest stable version (currently v1.20) is in the stable channel:
sudo snap install scrcpy
The latest (non stable) version built from scrcpy's master branch is in the beta channel:
sudo snap install --channel=beta scrcpy
On some systems the core snap is not installed by default but it's needed:
sudo snap install core
Usage:
scrcpy
You can also use the builtin adb tool:
scrcpy.adb [options]
For example:
scrcpy.adb devices
scrcpy.adb kill-server
In order to use the v4l2loopback feature the camera plug must be connected:
sudo snap connect scrcpy:camera
For physical keyboard simulation you need to connect the raw-usb plug:
sudo snap connect scrcpy:raw-usb

XDG Desktop Entry

The snap comes with an XDG desktop entry that can be called from your desktop environment's application menu. If you would like to customize the command line flags that are called by the desktop environment, edit the `Exec` key value at `/var/lib/snapd/desktop/applications/scrcpy_scrcpy.desktop`. For example:

Exec=scrcpy could become: Exec=scrcpy -w to enable the --stay-awake flag on scrcpy. See all flags by running scrcpy --help.

To uninstall the scrcpy snap:

sudo snap remove scrcpy