Screencasting/Mirroring an Android Device Screen onto your Desktop under Ubuntu/Linux Mint

  In this tutorial, we will see how to control any Android device remotely on your Ubuntu/Linux Mint desktop using both your mouse and keyboard. To do this, we will use the Seven Square tool which will allow you to view your Android device (smartphone, tablet, etc.) screen directly on your computer or laptop.

在本教程中,我们将了解如何使用鼠标和键盘在Ubuntu / Linux Mint桌面上远程控制任何Android设备。 为此,我们将使用Seven Square工具,该工具可让您直接在计算机或笔记本电脑上查看Android设备(智能手机,平板电脑等)的屏幕。

  With your keyboard or mouse, you will be able to control your device remotely without the need to tap on the screen of your Android device. Before we start, make sure you have ADB tools installed on your system. If not, run this command from the terminal:

使用键盘或鼠标,您无需点击Android设备的屏幕即可远程控制设备。 在开始之前,请确保您已在系统上安装ADB工具。 如果没有,请从终端运行以下命令:

sudo apt-get install android-tools-adb
  • Installation

Seven Square is based on QT, so install these dependencies:

Seven Square基于QT,因此请安装以下依赖项:

sudo apt-get install qt4-qmake libqt4-dev libqtcore4 libqtgui4

Now install the tool using these commands:

现在,使用以下命令安装该工具:

git clone https://github.com/yangh/sevensquare.git 
cd sevensquare 
make 
sudo make install

Connect your Android device to your computer via USB cable and ensure it is connected using “adb devices” command. Also, make sure USB debugging is enabled on your device:

通过USB电缆将Android设备连接到计算机,并确保使用“ adb devices”命令将其连接。另外,请确保已在设备上启用USB调试:

Then start Seven Square using this command:

扫描二维码关注公众号,回复: 9921374 查看本文章

然后使用以下命令启动Seven Square:

seven-square

Wait now until your Android device screen shows up:

立即等待,直到出现Android设备屏幕:

From
http://www.upubuntu.com/2015/09/screencastingmirroring-android-device.html

发布了244 篇原创文章 · 获赞 122 · 访问量 30万+

猜你喜欢

转载自blog.csdn.net/qwfys200/article/details/104049796