在archlinux
或者是manjaro
中,atom
删除文件提示 gvfs_trash not install
?
解决方案:
#在环境变量中,增加
export ELECTRON_TRASH=gio
重启Atom
参考:
https://github.com/electron/e...
官方解释:
Unable to delete files By default, Electron apps use gvfs-trash to
delete files. For users not using GNOME the ELECTRON_TRASH
environmental variable can be used to specify which trash utility
should be used.
For example, for deleting files under Plasma:
$ ELECTRON_TRASH=kioclient5
atom At the time of writing, Electron
supports kioclient5, kioclient, trash-cli and gvfs-trash (default).
More info is available at this Github pull request page.