Re: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"
Le mardi 22 mars 2022 à 11:04 +, Ottavio Caruso a écrit : [...] > org.gtk.vfs.mount is not there and I don't think it should exists > ata ll. I tend to think this is a Debian bug with gvfs, but I am > running oldstable and will be moving to stable soon. There is a bug affecting Debian (Debian 10 also?) 9 with another DE than Gnome, that is very similar to your problem: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928058 I can confirm that I have no problem with Debian 11 & Gnome.
Re: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"
Le lundi 21 mars 2022 à 17:21 +, Ottavio Caruso a écrit : > On 21/03/2022 10:54, didier gaumet wrote: > > I would say that your PC does not recognize your smartphone as a > > MTP > > device because your smartphone dose not presents itself as a MTP > > device > > What makes you say that? Please see screenshot, I just tried with my smartphone (Poco X3 Pro, LineageOS 18.1 (Android 11)) (roughly translated, my device is in french) - With "default USB setup" set as "no data transfer", the smartphone is recognized as a mass storage device and that's it. - With "default USB setup" set as "file transfer", the smartphone is at first recognized as a mass storage device and then gvfsd recognizes it as a MTP device So I was wrong in thinking that a modern Android smartphone presents itself as a mass storage device and pretends to use the USB mass storage protocol: it presents itself as a mass storage device, and, depending on the setup of the device, pretends (or not) to use the MTP protocol A possibility could be that you use a GTK Desktop Environment (but not Gnome) or some GTK applications that rely on gvfsd, because your previous error message was: [...] > I always get "Could not display mtp://X" error no such interface > 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1" [...] and that seems to link to gvfsd: https://wiki.gnome.org/Projects/gvfs/doc I would verify that the gvfs-backends package is installed and if it is the case, I would verify that there is a org.gtk.vfs.mount key with a correct value in the dconf database (via dconf-cli (CLI) or dconf- editor (GUI))
Re: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"
Hello, I would say that your PC does not recognize your smartphone as a MTP device because your smartphone dose not presents itself as a MTP device Your smartphone seems to be seen (because it is set up as such in Android) as a USB mass storage device: then either: - use programs in Linux that do not rely on the MTP protocol and manage your smartphone as a USB mass storage device - or if you want to use Linux programs that rely on MTP protocol, set up your smartphone to use the PTP protocol (MTP is an extension of PTP, that should be OK) as the default mode of any USB connection: https://android.gadgethacks.com/how-to/make-usb-connection-your-android-phone-default-file-transfer-mode-0234540/
Re: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"
Ottavio Caruso wrote: > Why is it always a pain to mount my Android phone on my Laptop? Do you have mtp-tools installed? I found that mounting my phone got a lot more reliable after I installed that package. best regards, mike