#696 Support gvfs/MTP

1.2
closed-wont-fix
libfm (248)
4
2014-09-10
2013-01-05
Murry
No

PCManFM 1.1.0
Lubuntu 12.10

You can install a MTP support for gvfs via this ppa:

http://intr.overt.org/blog/?p=162
https://launchpad.net/~langdalepl/+archive/gvfs-mtp

I can connect the android file sytem with pcmanfm (mtp://[usb:001,005]/65537/9).
When I copy a file to the desktop or other folder from the phone, I get a wrong filename (the new filename is a number). Copy to the phone is OK.
When I use a rightclick on a file, I miss the file actions (copy, delete...)

Discussion

1 2 > >> (Page 1 of 2)
  • Murry
    Murry
    2013-01-05

    The author of gvfs/mtp says this to the problem:

    The PCmanFM problem is because PCmanFM is not reading the correct “filesystem filename” property. It needs to be fixed on their side.

     
  • I'm the gvfs mtp author. To be precise, pcmanfm needs to respect the "copy name" file attribute, which is defined to be the filename used when copying to a different file system. This is because the internal filename is the mtp file Id (a number). Nautilus respects this.

     
    • labels: 2616493 --> libfm
    • milestone: --> 1.2
    • priority: 5 --> 4
     
  • Thank you for the report. The issue requires some extra investigation since libfm uses standard GFile operations and never uses any internals and that should work always.

     
  • Murry
    Murry
    2013-01-18

    The new gvfs will land in (L)Ubuntu 13.04 raring shortly.

    gvfs (1.15.2-0ubuntu1) raring; urgency=low

    * debian/watch: Look for development releases, too.
    * New upstream release:
    - Add new MTP backend. In particular this can access Android 4.0 devices
    which do not support the USB Mass Storage interface any more.
    (LP: #903422)
    - See NEWS for other changes.
    * Bump build depends and add libmtp-dev according to upstream configure.ac.
    * debian/gvfs-backends.install: Install new MTP monitor.
    * Drop debian/tests/gvfs-test, it has been accepted upstream. Update
    debian/tests/integration to use tests/gvfs-test instead.
    * Add 00git_fix_archivemounter_tests.patch: Fix ArchiveMounter tests.
    -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 18 Jan 2013 12:42:41 +0100

     
  • Murry
    Murry
    2013-01-19

     
    Attachments
  • Murry
    Murry
    2013-01-19

     
    Attachments
  • Murry
    Murry
    2013-01-19

    I made 2 pics with the Lubuntu 13.04 daily.

    PC_to:phone: OK
    phone_to_pc: The new filename is 4102 insted of raring-desktop-amd64.iso

     
  • Murry
    Murry
    2013-03-29

    pcmanfm-qt 0.0.1

    Has the same problem.

     
1 2 > >> (Page 1 of 2)