You are not logged in.
So I installed gvfs-mtp, connected my phone with usb cable and I can work with the files on the phone in Thunar fine - well, almost fine. I can browse the files, doubleclick opens them without any problem. I can copy the files back and forth.
What is not working well is drag and drop files into applications. E.g. drag-drop of media file to mpv crashes mpv, drag-drop to vlc does nothing. Drag-drop of a photo to GIMP shows "Could not open" error:
Opening 'mtp://[usb:003,006]/Internal storage/DCIM/Camera/IMG_20150513_184133.jpg' failed:
Could not open 'mtp://[usb:003,006]/Internal%20storage/DCIM/Camera/IMG_20150513_184133.jpg' for reading: No such file or directory
Drag-drop of text file to mousepad fails too (the filename is shown in the titlebar, but mousepad is empty). Again, doubleclicking the .txt file opens it up alright.
Perhaps it is the "mtp://" in file's 'URL' that is causing problems? Is there a way how to circumvent this?
If I just mount the device by clicking on "Android" in Thunar, and then go to
/var/run/user/1000/gvfs/mtp:host=%5Busb%3A003%2C006%5D/Internal storage/DCIM/Camera/IMG_20150513_184133.jpg
everything works fine.
What is the reason for "mtp://" stuff anyway? Why not just work with the filesystem, which is obviously properly mounted?
Thanks in advance for any comments.
Last edited by renergy (2015-05-31 09:28:49)
Offline
MTP stands for media transfer protocol. It's used by some devices, including Android ones. I don't know much about it but according to this thread on the Ubuntu forums discussing a similar issue, mtp is generally rather temperamental. Link: http://ubuntuforums.org/showthread.php?t=2230932
Offline