MTP: Difference between revisions
imported>Symphorien how to mount an mtp device with jmtpfs and gvfs |
imported>Rski No edit summary |
||
| Line 24: | Line 24: | ||
=== gvfs === | === gvfs === | ||
This method apparently only works well with gtk/gnome-based desktops like [[Gnome Shell]] or [[Xfce]]. | |||
On NixOS, file managers that support gvfs, such as PCManFM, can mount mtp devices by adding this to <code>configuration.nix</code>: | |||
<syntaxhighlight lang=nix> | |||
{ | |||
services.gfvs.enable = true; | |||
} | |||
</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]]. | |||
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: | ||