Yesterday I ran into an issue with deleting files from atom editor .
When trying to delete a folder, I was presented with the message The following file couldn't be moved to trash (is gvfs-trash installed?)

Turns out, gvfs-trash is superseded by gio trash.
To solve this, you can simply create a file /usr/local/bin/gvfs-trash
with just the following contents:


/usr/bin/gio trash !*

In fact, just an alias but as I don’t want to rely on reading ~/.profile / ~/.zshrc / ~/.bashrc , the above way just works for me.

Comments are closed.