can't open/modify files stored on MTP device (phone)
Posted: 2022-01-01 11:23
I have an Android phone that connects to my computer through the MTP protocol. in general it works well. using my file explorer (Thunar), I can browse folders, move, copy and delete stuff. however, opening files doesn't work. I either get an empty file (e.g. when I try to open pictures with GIMP or Nomacs), or get an error (e.g. when I try to open a PDF with Evince: "Unable to open document “file:///tmp/evince-2/document.KKDQF1-documentname.pdf”, libmtp error: Could not create file.").
this is really annoying, because I need to copy each file separately to my local drive if I want to open it, and even copy it back and overwrite it if I want to modify it.
how can I open and edit files on an MTP device?
I'm using Debian 11.1.
MTP-related packages installed:
gmtp/stable,now 1.3.11-3 amd64 [installed]
go-mtpfs/stable,unstable,testing,now 1.0.0-1+b5 amd64 [installed]
libmtp-common/stable,stable,now 1.1.17-3 all [installed]
libmtp-runtime/stable,now 1.1.17-3 amd64 [installed]
libmtp9/stable,now 1.1.17-3 amd64 [installed]
libnet-smtp-ssl-perl/stable,stable,unstable,unstable,testing,testing,now 1.04-1 all [installed,automatic]
mtp-tools/stable,now 1.1.17-3 amd64 [installed]
this is really annoying, because I need to copy each file separately to my local drive if I want to open it, and even copy it back and overwrite it if I want to modify it.
how can I open and edit files on an MTP device?
I'm using Debian 11.1.
MTP-related packages installed:
gmtp/stable,now 1.3.11-3 amd64 [installed]
go-mtpfs/stable,unstable,testing,now 1.0.0-1+b5 amd64 [installed]
libmtp-common/stable,stable,now 1.1.17-3 all [installed]
libmtp-runtime/stable,now 1.1.17-3 amd64 [installed]
libmtp9/stable,now 1.1.17-3 amd64 [installed]
libnet-smtp-ssl-perl/stable,stable,unstable,unstable,testing,testing,now 1.04-1 all [installed,automatic]
mtp-tools/stable,now 1.1.17-3 amd64 [installed]