Scrcpy Installation adb service installation adb configuration Check the USB ID of your phone Connect your phone to your computer via USB Find your phone's ID number, mine is 04e8:6860 Creating a device file Change all mkdir ~/.android echo 0x04e8 > ~/.android/adb_usb.ini sudo touch /etc/udev/rules.d/android.rules sudo gedit /etc/udev/rules.d/android.rules In the file enter: SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666" Modify file permissions after saving sudo chmod 777 /etc/udev/rules.d/android.rules Start adb service service udev restart adb start-server adb devices If you have a device, it means it is successful. If not, check whether the developer mode of your phone is turned on. The location of the developer mode of different phones is different. You can search on Baidu Using scrcpy Command line input The interface will pop up How to use scrcpyClick, slide, and long press the middle mouse button to return to the main screenRight click to returnCopy text from computer to mobile phone: After copying on the computer, press Finally, I can use QQ and WeChat on Ubuntu without having to frequently switch between the keyboard and the phone. Summarize The above is what I introduced to you about installing scrcpy in Ubuntu to complete mobile phone screen projection and control (another way to use QQ and WeChat in Ubuntu). I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: How to optimize logic judgment code in JavaScript
>>: Detailed analysis of MySQL master-slave delay phenomenon and principle
Table of contents introduce Implementation steps ...
SQL implements addition, subtraction, multiplicat...
Today, let's introduce several common text pr...
Preface: During the project development, we encou...
closure service nginx stop systemctl stop nginx s...
I have seen a lot of MySQL-related syntax recentl...
Preface This article mainly introduces the releva...
Table of contents 1. Overview of the page 2. Infi...
There are two ways to delete data in MySQL: Trunc...
Using Javascript to implement countdown to close ...
0. New operation: mkdir abc #Create a new folder ...
Absolute length px px is the pixel value, which i...
This article mainly introduces the implementation...
Share a real-time clock effect implemented with n...
Table of contents Install tinymce, tinymce ts, ti...