是否安装了gvfs-trash?在Atom中

问题描述 投票:0回答:1

[当我尝试删除本地计算机中的文件以检查文件是否与流浪开发服务器同步时,它会弹出错误:

The following file couldn't be moved to the trash.
Is gvfs-trash installed?

为了解决这个问题,我创建了一个垃圾箱目录,可以从用户主目录的外部访问它:

# Create a Trash directory (with some subdirectories) in root
sudo mkdir -p /.Trash-1000/{expunged,files,info}

# Give ownership of this to your user:
sudo chown -R $USER /.Trash-1000

仍然无法从本地计算机删除文件。但是,如果我在无业游民的开发服务器上删除了一个文件,它将自动在本地计算机上删除,相反的情况却没有发生,并最终显示此错误“是否安装了gvfs-trash?”]

[当我尝试删除本地计算机中的文件以检查文件是否与流浪开发服务器同步时,它会弹出错误:无法将以下文件移到回收站。是否是gvfs-trash ...

vagrant atom-editor gvfs
1个回答
0
投票

[GitHub上有issue报告此问题。根据该报告,缺少.Trash-1000可能会导致此问题,因此可以按以下方式创建它。

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.