pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

gvfs-trash deprecation (can't delete file)

Open jboilesen opened this issue 7 months ago • 4 comments

Thanks in advance for your bug report!

  • [X] Have you reproduced issue in safe mode?
  • [X] Have you used the debugging guide to try to resolve the issue?
  • [X] Have you checked our FAQs to make sure your question isn't answered there?
  • [X] Have you checked to make sure your issue does not already exist?
  • [X] Have you checked you are on the latest release of Pulsar?

What happened?

While trying to delete a file in the project file tree panel I was getting the message "Is gvfs-trash installed?" and the file was not being deleted.

To workaround this I had to install GIO using sudo apt-get install libglib2.0-dev and then reference it as /usr/local/bin/gvfs-trash

echo '#!/usr/bin/env bash
# GVFS updated and dropped gvfs-trash to gio, but Atom didnt update.
# https://github.com/atom/tree-view/issues/1237
/usr/bin/gio trash "$@"' | sudo tee /usr/local/bin/gvfs-trash && sudo chmod +x /usr/local/bin/gvfs-trash

Pulsar version

1.119.0 x64

Which OS does this happen on?

🐧 Debian based (Linux Mint, Ubuntu, etc.)

OS details

Debian Bookworm 12 6.1.0-22-amd64

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

  1. Install pulsar
  2. Open pulsar
  3. Add a project folder "File > Add Project Folder"
  4. Right click on a file > Delete
  5. The error message "Is gvfs-trash intalled?" is displayed and the file still there

Additional Information:

No response

jboilesen avatar Jul 17 '24 14:07 jboilesen