Scrcpy - Display and Control Your Android Device via Linux Desktop

Users can view and manage their Android device remotely from a Linux desktop using Scrcpy. Scrcpy enables smooth interaction and control by mirroring your Android screen onto your PC. Scrcpy offers a fluid and real-time display of your Android interface on the Linux desktop by connecting your device via USB or WiFi. Using the keyboard and mouse on their PC, users can easily browse their device, access programmes, play games, and manage files. For developers, gamers, and anybody else looking for a larger screen experience on their Android handset, this adaptable tool offers a practical answer. Scrcpy is a well-liked option among Linux users for easily integrating their Android device into their workflow due to its user-friendly interface and effective functionality.

Methods Used

  • Command Line Interface (CLI)

  • Graphical User Interface (GUI)

  • Package Managers

Command Line Interface (CLI)

A text-based means of managing the Linux operating framework, counting Scrcpy, is the Command Line Interface (CLI). Users of Scrcpy can run commands through the CLI to view and manage their Android smartphone on a Linux desktop. To connect an Android device to a desktop, users can open a terminal and enter specific Scrcpy commands. With the help of the CLI, users can use the keyboard and mouse on their PC to browse the interface, access apps, play games, and mirror the Android screen. Utilising Scrcpy's features and effortlessly integrating the Android smartphone into the Linux desktop environment are made possible by the CLI, which is robust and effective.


  • Launch the Scrcpy programme on your Linux desktop.

  • Establish a WiFi connection or use a USB cord to connect the Android device to the Linux desktop.

  • On the Linux desktop, open a terminal.

  • Access the directory where Scrcpy is installed using the CLI.

  • Run the command to start the Scrcpy connection, providing the window size and bit rate that you want to use for the display.

  • Make sure the Android device is identified and the connection has been made.

  • The display of the Android device ought to now be replicated on the Linux desktop.

  • To navigate the interface, launch apps, and manage files on the Android device, use the keyboard and mouse from the Linux desktop.

  • You can end the connection using the CLI or by closing the Scrcpy application to disconnect.

  • Cut the Android device's connection to the Linux computer.

Graphical User Interface (GUI)

The graphical user interface (GUI) Scrcpy provides on the Linux desktop allows users to communicate with their Android device. Windows, menus, and icons are some of the graphical components that make up the GUI. Users may simply operate and manage their Android smartphone using their PC's mouse and keyboard. Users may access programmes, play games, and manage files on their Android device without leaving their Linux desktop environment thanks to the GUI. Users may easily link their Android mobile with their Linux desktop thanks to the intuitive and familar interface, which improves the user experience.


  • Launch the Scrcpy programme on your Linux desktop.

  • Use a USB or WiFi connection to link the Android device to the Linux desktop.

  • If utilising a USB connection, enable USB debugging on the Android device.

  • Establish a link between the Android device and the Linux desktop.

  • Record the Android device's screen content and mirror it on the Linux desktop.

  • Show the mirrored Android screen on the graphical desktop of Linux.

  • Update the content of the screen in real-time to reflect any changes made to the Android smartphone.

  • Make keyboard and mouse input available on the Linux desktop.

  • Convert user activities from the Linux desktop to their equivalent Android actions.

  • Deliver the user input directives that have been translated to the Android device for execution.

  • Keep track of and update the Linux desktop screen to reflect any changes brought on by the commands that were run.

  • Repetition of steps 8 through 11 will keep the Android device and Linux desktop in real-time sync.

  • When finished, close the Scrcpy application and unplug the Android device.

Package Managers

On Linux systems, installing, updating, and removing software packages is made simpler by software programmes known as package managers. Because they make it straightforward to install and manage the prerequisite dependencies and components for Scrcpy to operate correctly, package managers are crucial in the context of Scrcpy. For instance, the apt package manager can be used in Debian-based distributions like Ubuntu to install Scrcpy and its required dependencies by running a single command. Users are able to rapidly install Scrcpy and take advantage of its features on their Linux desktop thanks to package managers, which take care of the retrieval, resolution of dependencies, and installation of the necessary software packages.


  • Start the algorithm, first.

  • Determine what Linux distribution is being used (e.g., Ubuntu, Fedora, or Arch Linux).

  • Select the distribution's preferred package manager (such as apt, yum, or pacman).

  • Start a terminal or command line programme.

  • Update the package manager's package list to make sure it contains the most recent details on the software packages that are available.

  • Look for the Scrcpy package using the package manager.

  • If Scrcpy is located, move on to the following action. If not, ask the user to manually obtain and install the software from a reliable source.

  • Using the package manager, install Scrcpy and any required dependencies.

  • After the installation is finished, establish a WiFi or USB connection between your Android device and the Linux desktop.

  • Confirm that the Android device has USB debugging enabled.

  • Use the proper command to launch Scrcpy from the terminal.

  • Control and interaction should now be possible via a mirroring of the Android device's screen on the Linux desktop.

  • Put the algorithm to bed.


Scrcpy is a strong programme that enables users to view and manage their Android smartphones from a Linux desktop, to sum up. Scrcpy gives Linux users a seamless and approachable experience by utilising techniques like the Command Line Interface (CLI), Graphical User Interface (GUI), and Package Managers. Users can enter commands into the CLI to create connections and control their Android devices with the keyboard and mouse on their PC. By providing an aesthetically pleasing interface that makes navigation and interaction easier, the GUI improves the user experience. By managing dependencies and assuring the accurate installation of the required software packages, package managers expedite the installation process. Overall, Linux users can easily incorporate their Android devices into their workflow because to Scrcpy's adaptability and effective performance, which increases their options for productivity, gaming, and content management.

Updated on: 01-Aug-2023


Kickstart Your Career

Get certified by completing the course

Get Started