Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When connecting Android 3.0+ devices to Ubuntu 13.04 file transfers usually work fine in Nautilus but using the command line is not at all obvious. No filesystem mount point is apparent and Nautilus displays the "location" (usually the mount point) as something like mtp://[usb:002,003]/ if it displays at all. You can also see the location by executing gvfs-mount -l. Under the covers, Ubuntu uses gvfs for mounting the mtp filesystem that Android exposes. A gvfs mounted mtp share should be accessible from /run/user/<username>/mtp:host=<encoded string>. However, a gvfs bug in 13.04 (and likely earlier versions) will display indecipherable numbers instead of file objects at that location. A newer version of gvfs fixes this problem. Execute

sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
sudo apt-get dist-upgrade

In Nautilus unmount and remount your mtp share. The listing under /run/user/<username>/ should now list with proper filenames.

Hat tip to bessman for Where are MTP mounted devices located in the filesystem?. I filled in some steps that beginners may not know about.

share|improve this question

closed as off-topic by Richard, Eric Carvalho, Sneetsher, Glutanimate, Avinash Raj May 12 at 6:30

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
Not sure I went about this correctly since it was really an answer to an unasked question. –  roman999 Oct 16 '13 at 20:22
    
I'm facing the same issue with my ASUS FonePad7 tablet & Ubuntu13.04 laptop. Your post is a solution to that. I will try & hope it works. Thank you! –  Ravi Apr 20 at 20:00
    
I ran the 3 commands you listed on my Ubuntu1 3.04 but to no avail. I unmounted & remounted but still showing numbers rather than names for the files. –  Ravi Apr 26 at 7:24
    
I wish I could help you with this but I really did not know what I was doing. I assume you rebooted. 13.10 is out now so if you can upgrade it may be a better solution. –  roman999 Apr 27 at 8:07
    
No I didn't reboot. I simply unmounted & remounted. O.K. I will again check. I'm shortly upgrading my O.S. to either 13.10 or 14.04 –  Ravi Apr 27 at 9:14

Browse other questions tagged or ask your own question.