1

This is an exact duplicate of this question, re-asked because in Ubuntu 19.10 none of the answers there work anymore. The gvfs directory in the terminal is always empty even though things show up in nautilus.

I have an Android phone that connects with my computer via MTP. This works fine; I can see and transfer files with Nautilus. However, I often want to use the terminal to move large numbers of files, and I cannot seem to find the device anywhere in the filesystem tree. Nautilus reports the location as mtp://[usb:003,007]/, but it's not under /media or /mnt.

Does anyone know where it is?

1

1 Answer 1

1

You have the necessary packages installed to be able to access MTP devices through Nautilus but I think you do not have the gvfs-fuse package installed.

If you install the gvfs-fuse package, when an MTP device is mounted in Nautilus you can also access it with programs not using gvfs by this path: /run/user/$UID/gvfs/mtp:host=smartphone_hostname/

Until you have the gvfs-fuse package installed, /run/user/$UID/gvfs/ will remain empty.

1
  • 1
    That's not working for me: mtp:host=smartphone_hostname does not show up as a folder
    – kynan
    Sep 26, 2021 at 5:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .