Page MenuHomeSolus

Atom Trashing is broken because gvfs-trash is no longer supported
Closed, WontfixPublic

Description

Long story short, Atom does not correctly handle defaulting to gio (which appears to be what Solus uses), and instead just errors. Electron v3 does switch to gio as default, but Atom have no yet updated to Electron v3.

The fix right now is to set an environment variable:

export ELECTRON_TRASH=gio

By setting this in my bashrc file it makes the issue go away, but it's not an easy bug to track down, and the Atom error message (about gvfs-trash) isn't useful.

If possible, we could add to the startup scripts for Atom in the Solus package that they set that environment variable until Atom upgrades to electron v3 since right now this should be affecting ALL atom users since gvfs-trash was dropped from Solus.

Further reading:
https://github.com/atom/atom/issues/17452
https://github.com/atom/atom/pull/18916

Related Objects

Jacalz added a subscriber: Jacalz.May 17 2019, 2:28 PM
This comment was removed by Jacalz.
JoshStrobl closed this task as Wontfix.May 27 2019, 8:31 AM
JoshStrobl edited projects, added Upstream Issue; removed Lacks Project.
JoshStrobl added a subscriber: JoshStrobl.

This is an issue upstream and the PR you referenced was reverted due to causing crashes. Not our responsibility.