gpt4 book ai didi

android - 文件管理器检测到 Android 设备,但 gvfs 文件夹为空。如何从终端访问 MTP 设备?

转载 作者:行者123 更新时间:2023-11-29 01:11:38 32 4
gpt4 key购买 nike

目录 /run/user/1000/gvfs~/.gvfs 分别是空的和不存在的。我的图形文件管理器 (Thunar) 能够检测和访问设备的内部和外部存储器。

命令 gvfs-mount -l 产生:

Volume(0): SAMSUNG Android
Type: GProxyVolume (GProxyVolumeMonitorMTP)
Mount(0): SAMSUNG Android -> mtp://[usb:002,003]/
Type: GProxyShadowMount (GProxyVolumeMonitorMTP)

在哪里可以找到设备的挂载点以从命令行访问它?我正在使用 Ubuntu 16.04。

最佳答案

您还需要安装 gvfs-fuse :

gvfsd-fuse maintains a fuse mount to make gvfs backends available to POSIX applications. The mount point for the fuse filesystem is provided by the [PATH] argument.

gvfsd-fuse is normally started by gvfsd(1). In this case, the mount point is $XDG_RUNTIME_DIR/gvfs or $HOME/.gvfs.

Here是一个很好的解释:

/run/user/$uid/gvfs or ~$user/.gvfs is the mount point for the FUSE interface to GVFS.

...

The GVFS-FUSE gateway makes GVFS filesystem drivers accessible to all applications, not just the ones using Gnome libraries.


执行以下命令

sudo apt install gvfs-fuse
pkill thunar
pkill gvfs

然后再次运行 Thunar。

关于android - 文件管理器检测到 Android 设备,但 gvfs 文件夹为空。如何从终端访问 MTP 设备?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42600586/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com