Working and interacting between devices with different operating systems can sometimes be tedious. There are few proprietary tools for setting up cross-platform connections, and many of them require you to own devices from the same brand. Fortunately, third-party tools are there to save the day. A free and open source project called scrcpy allows you to mirror the screen of your Android device on a personal computer, whether it is running Windows, Mac or Linux. It does this by using Android Debug Bridge as a connection tunnel and streaming the h.264 encoded video through it. As recently as yesterday, the project developers released a new version of the tool with welcome features.
Seamless copy and paste
One of the most important of these features is the ability to seamlessly copy and paste between your phone and a computer, and vice versa. Copy and paste UTF-8 encoded text from a computer to a phone works with Android devices running Android 7 and later. Indeed, the command to inject the “paste” key event via ADB was introduced in Android 7.0. However, this new approach definitely beats the oldest which involved entering text copied from the Android clipboard.
To stay awake
Another great new feature lets you force the device to stay awake. Combined with the command to turn off the screen, you can interact with your device on your PC while the device screen is off.
scrcpy -Sw # turn screen off and stay awake
You can also use the shortcut Ctrl + Shift + O to wake up the screen.
The rest of the scrcpy 1.14 change log includes general fixes and workarounds for some bugs.
Download scrcpy 1.4
As I mentioned before, scrcpy is an open-source project. You can view and contribute to the repository on GitHub as well as download the tool. It is a command line tool, so there is no sophisticated GUI, so be sure to check the installation and configuration instructions there. Be sure to create problems and send checkout requests to the repository if you encounter a bug.
Via: OMG! Ubuntu!
Want more messages like this in your inbox? Enter your email to subscribe to our newsletter.