Location of trash folder in Ubuntu

Sometimes I get files stuck in my recycle bin that do not get deleted when I empty the trash. This is usually because they are owned by root and my normal user does not have sufficient privileges to delete them.

sudo rm ‘ing the .trash folders on each drive does not work and after a lot of searching I finally found the folder with the trash files lurking in it here:

~/.local/share/Trash/files/

So to get rid of these these annoying files use this command:

sudo rm -rf ~/.local/share/Trash/files/*

and then do a normal empty trash.

Leave a comment