Arch,Manjaro系統中Atom不能刪除文件.提示gvfs-trash...

archlinux或者是manjaro中,atom刪除文件提示 gvfs_trash not install ?linux

解決方案:git

#在環境變量中,增長
export ELECTRON_TRASH=gio

重啓Atomgithub


參考:
https://github.com/electron/e...
官方解釋:app

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

$ 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.
相關文章
相關標籤/搜索