20171124 How to Install Android File Transfer for Linux.md (#6399)

* Create 20171124 How to Install Android File Transfer for Linux.md

* Delete 20171124 How to Install Android File Transfer for Linux.md
This commit is contained in:
wenwensnow 2017-11-30 22:35:30 +08:00 committed by Ezio
parent 1363123ad9
commit f1c0ef8dbd
2 changed files with 82 additions and 80 deletions

View File

@ -1,80 +0,0 @@
Translating by wenwensnow
# How to Install Android File Transfer for Linux
If youre struggling to mount your Android phone on Ubuntu you might want to give [Android File Transfer for Linux][4] a try.
Effectively its a clone of Googles [Android File Transfer][6] app for macOS. Its built with Qt, and has a super simple UI that makes it easy to transfer files and folders to and from your Android smartphone and your Ubuntu machine.
Now, chances are a few of you will be scratching your head wondering what this app does that Nautilus, the default file manager in Ubuntu, doesnt — and the answer is nothing.
When I connect my Nexus 5X (and remember to select the [MTP][7] option) to my Ubuntu machine I can browse, open and manage it using Nautilus, just like my phone was a regular USB drive thanks to [GVfs][8]:
[![Nautilus MTP integration with a Nexus 5X](http://www.omgubuntu.co.uk/wp-content/uploads/2017/11/browsing-android-mtp-nautilus.jpg)][9]
But  _some_  people experience issues with this, and other MTP implementations, such as directories not loading, directory creation that doesnt “stick”, and issues using their device inside a media player.
And its for those people whom Android File Transfer for Linux is designed. Consider it an alternative to other methods of mounting MTP devices on Linux. If what you use currently works a-ok, you probably dont need to try this out (unless you really like trying things out).
![Android File Transfer Linux App](http://www.omgubuntu.co.uk/wp-content/uploads/2017/11/android-file-transfer-for-linux-750x662.jpg)
The app features:
* A straightforward user interface
* Drag and drop support (Linux to Phone)
* Batch downloading (Phone to Linux)
* Transfer progress dialogs
* FUSE wrapper
* No file size limits
* Optional CLI tool
### Install Android File Transfer on Ubuntu
Thats enough waffle about this alternative way to mount your Android phone, on to the nitty gritty of installing it.
Helpfully theres a [PPA available][10] which provides builds for Ubuntu 14.04 LTS, 16.04 LTS and Ubuntu 17.10.
To add the PPA to your list of software sources run this command:
```
sudo add-apt-repository ppa:samoilov-lex/aftl-stable
```
Then, to install Android File Transfer for Linux on Ubuntu, run:
```
sudo apt-get update && sudo apt install android-file-transfer
```
Thats pretty much it.
Youll find a launcher for the app in your app menu.
Before launching it do make make sure that no other devices (such as Nautilus) mount your phone first. If anything is using it the app will report “no MTP device found”. To fix, unmount your device from Nautilus (or whichever app is using it) then relaunch Android File Transfer.
--------------------------------------------------------------------------------
via: http://www.omgubuntu.co.uk/2017/11/android-file-transfer-app-linux
作者:[ JOEY SNEDDON ][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://plus.google.com/117485690627814051450/?rel=author
[1]:https://plus.google.com/117485690627814051450/?rel=author
[2]:http://www.omgubuntu.co.uk/category/app
[3]:http://www.omgubuntu.co.uk/category/download
[4]:https://github.com/whoozle/android-file-transfer-linux
[5]:http://www.omgubuntu.co.uk/2017/11/android-file-transfer-app-linux
[6]:http://android.com/filetransfer?linkid=14270770
[7]:https://en.wikipedia.org/wiki/Media_Transfer_Protocol
[8]:https://en.wikipedia.org/wiki/GVfs
[9]:http://www.omgubuntu.co.uk/wp-content/uploads/2017/11/browsing-android-mtp-nautilus.jpg
[10]:https://launchpad.net/~samoilov-lex/+archive/ubuntu/aftl-stable

View File

@ -0,0 +1,82 @@
Translating by wenwensnow
# 如何在Linux下安装安卓文件传输助手
如果你尝试在Ubuntu下安装你的安卓手机你也许可以试试Linux下的安卓文件传输助手
本质上来说这个应用是谷歌mac版本的一个复制。它是用Qt编写的用户界面非常简洁使得你能轻松在Ubuntu和安卓手机之间传输文件。
现在有可能一部分人想知道有什么是这个应用可以做而Nautilus(Ubuntu默认的文件资源管理器)不能做的,答案是没有。
当我将我的 Nexus 5X(记得选择[MTP][7] 选项)连接在Ubuntu上时在[GVfs][8](Gnome桌面下的虚拟文件系统)的帮助下,我可以打开,浏览和管理我的手机, 就像它是一个普通的U盘一样。
[![Nautilus MTP integration with a Nexus 5X](http://www.omgubuntu.co.uk/wp-content/uploads/2017/11/browsing-android-mtp-nautilus.jpg)][9]
但是一些用户在使用默认的文件管理器时在MTP的某些功能上会出现问题比如文件夹没有正确加载创建新文件夹后此文件夹不存在或者无法在媒体播放器中使用自己的手机。
这就是要为Linux系统用户设计一个安卓文件传输助手应用的原因。将这个应用当做将MTP设备安装在Linux下的另一种选择。如果你使用Linux下的默认应用时一切正常你也许并不需要尝试使用它 (除非你真的很想尝试新鲜事物)。
![Android File Transfer Linux App](http://www.omgubuntu.co.uk/wp-content/uploads/2017/11/android-file-transfer-for-linux-750x662.jpg)
app特点
*   简洁直观的用户界面
*   支持文件拖放功能从Linux系统到手机
*   支持批量下载 (从手机到Linux系统)
*   显示传输进程对话框
*   FUSE模块支持
*   没有文件大小限制
*   可选命令行工具
### Ubuntu下安装安卓手机文件助手的步骤
以上就是对这个应用的介绍,下面是如何安装它的具体步骤。
这有一个[PPA]个人软件包集源为Ubuntu 14.04 LTS(长期支持版本)16.04LTS 和 Ubuntu17.10 提供可用应用
为了将这一PPA加入你的软件资源列表中执行这条命令
```
sudo add-apt-repository ppa:samoilov-lex/aftl-stable
```
接着为了在Ubuntu下安装Linux版本的安卓文件传输助手执行
```
sudo apt-get update && sudo apt install android-file-transfer
```
这样就行了。
你会在你的应用列表中发现这一应用的启动图标。
在你启动这一应用之前,要确保没有其他应用(比如Nautilus)已经加载了你的手机.如果其他应用正在使用你的手机就会显示“无法找到MTP设备”。为了解决这一问题将你的手机从Nautilus(或者任何正在使用你的手机的应用)上移除,然后再重新启动安卓文件传输助手。
--------------------------------------------------------------------------------
via: http://www.omgubuntu.co.uk/2017/11/android-file-transfer-app-linux
作者:[ JOEY SNEDDON ][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://plus.google.com/117485690627814051450/?rel=author
[1]:https://plus.google.com/117485690627814051450/?rel=author
[2]:http://www.omgubuntu.co.uk/category/app
[3]:http://www.omgubuntu.co.uk/category/download
[4]:https://github.com/whoozle/android-file-transfer-linux
[5]:http://www.omgubuntu.co.uk/2017/11/android-file-transfer-app-linux
[6]:http://android.com/filetransfer?linkid=14270770
[7]:https://en.wikipedia.org/wiki/Media_Transfer_Protocol
[8]:https://en.wikipedia.org/wiki/GVfs
[9]:http://www.omgubuntu.co.uk/wp-content/uploads/2017/11/browsing-android-mtp-nautilus.jpg
[10]:https://launchpad.net/~samoilov-lex/+archive/ubuntu/aftl-stable