Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing scrcpy in Ubuntu to complete the screen casting and control of mobile phone

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to install Ubuntu and scrcpy to complete the screen casting and control of mobile phones. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Scrcpy installation

Snap install scrcpy

Adb service installation

Sudo apt-get install android-tools-adb

Adb configuration

Check the phone's USB identification number.

The phone connects to the computer through USB.

Lsusb

Look for the identification number to call your cell phone. This is 04e8:6860.

Create a device file

All the following 04e8 are changed to their own identification numbers, and the android.rules file name can be customized.

Mkdir ~ / .androidecho 0x04e8 > ~ / .android/adb_usb.inisudo touch / etc/udev/rules.d/android.rulessudo gedit / etc/udev/rules.d/android.rules

Enter in the file:

SUBSYSTEM== "usb", SYSFS {idVendor} = = "04e8", MODE= "0666"

Modify file permissions after saving

Sudo chmod 777 / etc/udev/rules.d/android.rules

Start the adb service

Service udev restartadb start-servertadb devices

Having a device means success. If you don't check whether the developer mode of your phone is turned on, the developer mode location of different phones is different, and Baidu is your own.

Use scrcpy

Command line input

Scrcpy

It will pop up the interface.

Scrcpy usage left mouse button click, slide, long press the middle mouse button back to the main screen right mouse button back to copy the text computer to the mobile phone: after copying on the computer, press Ctrl+Shift+V on the phone screen interface to copy to the phone clipboard, and then paste the phone to the computer: copy the phone to the clipboard on the phone, press the Ctrl+C key on the screen screen Then paste the transfer file on the normal computer: copy and paste directly in the file manager

Finally, you can use QQ and Wechat on Ubuntu. You don't have to switch between keyboards and mobile phones frequently.

This is the end of this article on "how to complete the screen casting and control of mobile phones by installing scrcpy in Ubuntu". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 226

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report