By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

Unable to empty trash in ubuntu

How to fix the problem where files get stuck in the trash due to faults in Ubuntu.

Edited: 2015-02-19 10:21

Files and folders can sometimes get stuck in the trash can in Ubuntu. To easily fix this problem, you can open up nautilus with sudo permissions, move to the trash location and selecting the files and hitting shift+delete - Simply right-clicking and clicking move to trash will not work, and will just re-create the files in the trash can.

You can type the following to run nautilus with root permissions:

sodu nautilus

Now navigate to the following location from within nautilus.


Alternatively you can just type the whole thing in the terminal.

sodu nautilus /home/your_username/.local/share/Trash