Sharing our technical trials in terms of Ubuntu software installs, Blogger hacks, Android and Kotlin learning.
How to easily install Scrcpy on Ubuntu machines
How to easily install Scrcpy on Ubuntu machines

How to easily install Scrcpy on Ubuntu machines

Scrcpy is an application used for mirroring android screen onto desktop, and interact with apps from desktop using desktop keyboard, mouse or touchpad. This post focuses on how to install scrcpy on Ubuntu machines and settings involved to launch it.

I. From Terminal

Open terminal and run the following commands

a. For Installation

sudo snap install scrcpy

b. For Launching

Ensure your phone is connected via USB and USB debugging is on, and then open terminal and type

scrcpy

Note:

To enable developer options on your phone

  • go to Settings > System > About Phone
  • Look for “build/version number” and then continually tap on it until a notification appears that developer option is enabled.

c. For Uninstallation

sudo snap remove scrcpy
  • While installing and uninstalling, once you type the command and hit enter, you would be asked to enter the password, provide password and the process continues.

II. From Ubuntu Softwares

“Ubuntu software” is another way, how you can install scrcpy on ubuntu machines

  1. Search for Ubuntu Software on you machine and launch it
Show Applications icon

Ubuntu software

2. Click on the “search” icon provided on the top right corner and type in “scrcpy”

search for the software by name

You will be presented with the list of options, from different sources

Note:

  • When searched for scrcpy, there were two listed, both are from snap store, you can check for the features and install either of them .

3. Choose the source of your choice and click on it to open the install window

click on install button to start installation

when you click on the install button you will be prompted for password, enter password and the installation starts.

4. After the installation completes the same window will have options “Launch” and “Remove”, clicking on “Launch” launches the software and clicking on “Remove” uninstalls the software from your machine.

buttons to launch and uninstall scrcpy

Additional Info:

I. Requirements for running Scrcpy

1. Your phone or tablet must be running android 5.0 or later.   

2. You must have developer options enabled > USB debugging enabled.    

3. Your smartphone should be connected to your machine via USB cable.


II. Benefits of using Scrcpy
       

1. You don’t need to root your phone, no need to install extra apps on your phone, and no extra extensions to install on your desktop.    

2. Scrcpy is available for Windows, macOS and Linux computers and is 100% free.    

3. Lets you interact with your phone from desktop using your desktop keyboard, mouse or touchpad.


III. Useful links

  1. Official page for scrcpy

https://github.com/Genymobile/scrcpy


2. For wireless connection see scripy docs

https://github.com/Genymobile/scrcpy/tree/v1.9#wireless

3. You can also checkout a YouTube video on the same