MTP: Difference between revisions

imported>Rski
No edit summary
imported>IgorM
m Fixed link
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The Media Transfer Protocol (MTP) can be used to transfer media files to and from many mobile phones (most Windows Phone and [[Android]] adevices) and media players (e.g. Creative Zen).
The Media Transfer Protocol (MTP) can be used to transfer media files to and from many mobile phones (most Windows Phone and [[Android]] devices) and media players (e.g. Creative Zen).


MTP devices are usually mounted via [[FUSE]] and then appear as a more or less regular file system.
MTP devices are usually mounted via [[FUSE]] and then appear as a more or less regular file system.
Line 6: Line 6:




{{Tip|You usually need to unlock an Android device for it to appear as an MTP device}}
{{Tip|You usually need to unlock and change the connection mode to "File Transfer" for an Android device to appear as an MTP device}}


=== jmtpfs ===
=== jmtpfs ===
Line 29: Line 29:
<syntaxhighlight lang=nix>
<syntaxhighlight lang=nix>
{  
{  
   services.gfvs.enable = true;
   services.gvfs.enable = true;
}
}
</syntaxhighlight>
</syntaxhighlight>


The above should suffice, but there also exists a more manual method. This method apparently only works well with gtk/gnome-based desktops like [[Gnome Shell]] or [[Xfce]].
The above should suffice, but there also exists a more manual method. This method apparently only works well with gtk/gnome-based desktops like [[GNOME|Gnome Shell]] or [[Xfce]].
It relies on having <code>gvfs</code> listed in the environment variable <code>GIO_EXTRA_MODULES</code>, for example:
It relies on having <code>gvfs</code> listed in the environment variable <code>GIO_EXTRA_MODULES</code>, for example:


Line 53: Line 53:


The device will appear in your favorite file manager.
The device will appear in your favorite file manager.
[[Category:Applications]]