转自:http://robert.penz.name/658/howto-access-mtp-devices-via-usb-on-ubuntu-12-04/

A friend asked me how he can access his Nexus 7 device via USB on his Ubuntu 12.04 notebook. With Android versions below 4.0 that was simple as the device registered as mass storage device. The problem now is the stock Ubuntu 12.04 does not support MTP via GVFS (the virtual filesystem of the GNOME desktop). Newer Ubuntu versions e.g. 13.04 have already a GVFS version which support MTP. But these are no LTS versions of Ubuntu, which I recommend for the average user. But it is quite easy to install a newer version of GVFS on Ubuntu 12.04 (and 12.10) that does support it.

First you need to start a terminal. For this click on the dash home icon (1) and than type “terminal” (2) and you’ll the terminal icon – click on it (3.)

Now copy and paste following into the Terminal (the PC needs to be connected to the Internet while going through these steps):

sudo add-apt-repository ppa:langdalepl/gvfs-mtp

Enter your user password and than you’ll be shown following text:

You are about to add the following PPA to your system:
These builds of gvfs have my native mtp backend backported from gvfs master. Use this to easily access MTP based devices with Nautilus.
More info: https://launchpad.net/~langdalepl/+archive/gvfs-mtp
Press [ENTER] to continue or ctrl-c to cancel adding it

Hit the Enter Key. After this is done you need to type following command, which updates the package list:

sudo apt-get update

After this was successful you need to upgrade the installed packages with:

sudo apt-get upgrade

   It should show something like this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
gvfs gvfs:i386 gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse gvfs-libs gvfs-libs:i386 libmtp-common libmtp-runtime libmtp9
upgraded, newly installed, to remove and not upgraded.
Need to get , kB of archives.
After this operation, , kB of additional disk space will be used.
Do you want to continue [Y/n]?

Just press Enter here (the Y is the default section) to install the packages.

Now you just need to restart your PC and after login just connect your Android device to the PC and the file manager Nautilus will launch with your USB device.

最新文章

  1. js学习
  2. javascript面试题(一)
  3. 查询Sqlserver数据库死锁的一个存储过程(转)
  4. Hashtable和Dictionary<T,K>的使用
  5. Essential Documents to Manage Your Projects
  6. codeforces 192 c
  7. 含有特殊字符的JSON串解析方法
  8. 虚拟机重复创建系统去除SID
  9. 用Org-Mode和Jekll写博客
  10. 【C#基础】 读取json某个键值
  11. leetcode 3Sum python
  12. for惠普2013实习生
  13. [2012-05-31]awk去重复项
  14. 极化码的matlab仿真(2)——编码
  15. java实现excel和数据的交互
  16. Android PopupWindows
  17. 怎样Debug Dynamics 365 CRM Plugin
  18. 面试HashMap之追命5连问
  19. JS截取URL地址参数
  20. BZOJ1041 HAOI2008圆上的整点(数论)

热门文章

  1. 节点回来shard仍然delayed原因
  2. c语音 dll断点调试方法
  3. 创建Javaweb项目及MyEclipse视图的配置
  4. Leetcode 204计数质数
  5. 【树状数组+离线查询】HDU 3333 Turing Tree
  6. NOIP2018普及游记
  7. POJ 1182_食物链
  8. Strongly connected-HDU4635
  9. openOffice word转pdf,pdf转图片优化版
  10. tsdb import 相关