Access the MTP device via USB (ubuntu12.04) (reproduced)

Source: Internet
Author: User

From: 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-mtpPress [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:

sudo apt-get upgrade

   It should show something like this:

Reading package lists... DoneBuilding dependency treeReading state information... DoneThe 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 libmtp912 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 4,193 kB of archives.After this operation, 4,157 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.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.