A well-liked open-source program called Scrcpy is used to see and manage Android devices from a desktop computer. It is frequently used for many different things, such as demos and presentations, as well as for playing Android games on a bigger screen.
Download Scrcpy From this Official link: https://scrcpy.net/download/
This is How to Use It on a Linux Computer:
1. Navigate to the Terminal on your Linux computer.
2. Use the command below to update your package list:
apt-get update with sudo
3. Use the following command to install the necessary packages:
sudo apt-get install -y libsdl2-2.0-0 adb git-core
4. Use these instructions to clone the SCRCPY repository:
git clone "scrcpy.git" from `github/Genymobile`
5. Navigate to the Scratch directory:
CD scrcpy
6. Use the following command to build the project:
install -y ffmpeg libsdl2-dev pkg-config make scrcpy with sudo apt-get
7. Use a USB connection to connect your Android handset to your Linux computer.
8. Enable your Android device's USB debugging. To enable USB debugging, navigate to Settings Developer settings.
Use the following command to launch the scrcpy server:
./run.sh
9. Now that SCRCPY has started, your Linux computer should see the screen of your Android device. Your mouse and keyboard can be used to operate your device.