Fix Inability to Move Files to Trash in VSC

You need to configure an environment variable to tell Electron (what VSC is built on) how to trash things.

In ~/.profile add:

export ELECTRON_TRASH=trash-put

You'll need to install trash-put separately. "gio trash" might be a pre-installed alternative. I thought that's what I was using but apparently not.

Comments

Popular posts from this blog

Dynamically Update DNS When Your Server IP Address Changes

Use Joycons with Steam on Linux

In HTML, an Input with Zero Length is Never too Small