Guide: LINUX
HOW TO SHARE YOUR SCREEN IN LINUX WIRELESSLY
Things you need to get started with this guide:-
- A laptop or desktop, but make sure that it has Wifi as we are gonna need it
- A working internet connection for installing ADB and scrcpy
- A USB cable and an android device with USB debugging enabled
Step 1: Start by installing the required things
sudo apt install adb
After this proceed with the below command for installing scrcpy
sudo apt install scrcpy
Step 2: setting up the client device (laptop/desktop)
adb devices
After this, we have to restart ADB in TCPIP mode
adb tcpip 5555
After entering this command you can disconnect the USB cable.
Step 3: connecting to the android device
adb connect device-ip-addrs:5555
To confirm that you have connected successfully, use the below command
adb devices
Now that you have connected to the device, just start screen sharing with
scrcpy --max-size 2400 --max-fps 90 --turn-screen-off
This is the high-resolution setting, you can tweak the settings as your preference and network stability
For any kind of command help, just type
scrcpy --help
I hope that this article has helped you in successfully sharing screen with ADB, if you face any kind of error leave me a comment, I will reply ASAP or you can search your query in stack overflow
------------------------------------------------------------------------------------
0 Comments