vscode-fileutils
                                
                                
                                
                                    vscode-fileutils copied to clipboard
                            
                            
                            
                        Unable to delete file on Ubuntu
Describe the bug Maybe due to permissions issue, I cannot delete file on Ubuntu Linux.
To Reproduce
- Open a file in VS Code you want to delete.
 - Open command prompt using 
ctrl+shift+p - Click on 'File Utils: Delete'
 
Screenshots
Desktop (please complete the following information):
- VSCode Version: 1.81.0
 - OS Version: Ubuntu 22.04
 - FileUtils Extension Version: 3.10.3
 
This problem may be caused by that the file to delete is not on the same mount point as your $HOME.
I resolve this by starting vscode with envvar ELECTRON_TRASH=kioclient5. Full list of options are:
kioclient5kioclienttrash-cli(sudo apt install trash-cli)gvfs-trash
This problem may be caused by that the file to delete is not on the same mount point as your
$HOME.I resolve this by starting vscode with envvar
ELECTRON_TRASH=kioclient5. Full list of options are:
kioclient5kioclienttrash-cli(sudo apt install trash-cli)gvfs-trash
Can you please send here the command to run vscode with envvar set?
Make sure:
- Command 
kioclient5is available - All vscode instances are shut down. You may verify via 
ps aux | grep code 
Then run ELECTRON_TRASH=kioclient5 code /path/to/your/workspace
Make sure:
- Command
 kioclient5is available- All vscode instances are shut down. You may verify via
 ps aux | grep codeThen run
ELECTRON_TRASH=kioclient5 code /path/to/your/workspace
Okay Thanks, I will try.
You may replace "kioclient5" with other values listed above, as things could vary on different machines.