我安装了kdeconnect
并indicator-kdeconnect
按照说明天哪!Ubuntu!和github:
sudo add-apt-repository ppa:varlesh-l/indicator-kdeconnect
sudo apt update
sudo apt install kdeconnect indicator-kdeconnect
一切似乎都正常,除了浏览设备功能。如果我点击指示器,然后浏览设备,nautilus
弹出但目录($HOME/.config/kdeconnect/[DEVICEID]/kdeconnect_sftp/[DEVICEID]
)是空的。
对于下一步该如何进行,您有什么建议吗?
提前致谢。
环境
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
软件包版本
总线
$ apt show dbus
Version: 1.10.6-1ubuntu3.3
连接
$ apt show kdeconnect
Version: 1.0.3ubuntu16.04
指示器-kdeconnect
$ apt show indicator-kdeconnect
Version: 0.6ubuntu16.04.1
系统日志
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Mount device: "google"
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Created mounter
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Unmount QObject(0x0)
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Starting process: "sshfs [email protected]:/ /home/ncrfgs/.config/kdeconnect/28cebede2fc57937/kdeconnect_sftp/28cebede2fc57937 -p 1739 -f -F /dev/null -o IdentityFile=/home/ncrfgs/.config/kdeconnect/privateKey.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o HostKeyAlgorithms=ssh-dss -o password_stdin"
org.kde.kdeconnect[12766]: QDBusAbstractAdaptor: Cannot relay signal SftpPlugin::packageReceived(NetworkPackage): Unregistered input type in parameter list: NetworkPackage
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Process started
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: "google" "Remote filesystem mounted at /home/[USER]/.config/kdeconnect/[DEVICEID]/kdeconnect_sftp/[DEVICEID]"
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: stdout: "fuse: bad mount point `/home/[USER]/.config/kdeconnect/[DEVICEID]/kdeconnect_sftp/[DEVICEID]': Transport endpoint is not connected\n"
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Process finished (exit code: 1 )
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: "google" Remote filesystem unmounted
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Unmount KProcess(0x1d92650)
org.kde.kdeconnect[12766]: kdeconnect.plugin.sftp: Destroy mounter
答案1
我在另一个查询中找到了答案,所以不负任何责任。当 Nautilus 找到空文件时,您需要转到地址栏,其中应该显示完整地址(您可能需要按CTRL-L以获取完整显示,而不是简短显示)。
它看上去会像这样:
/home/user/.config/kdeconnect/9e835c92cb5a86f8/kdeconnect_sftp/9e835c92cb5a86f8
只需将其附加/sdcard
到地址末尾,nautilus 便会找到手机内容。根据您的 Android 手机和版本,您可能需要尝试使用/storage
或/mnt
来代替/sdcard
。