8

I'm using Ubuntu 16.04 and deleted a file as root to trash. Then I couldn't delete it because root nautilus won't view trash, and I installed bleachbit and used it as root but it won't clean it either.

1
  • 2
    Generally you don't want to open a file explorer as root. You can do this from a terminal sudo rm -rf /home/$username/.local/share/Trash/ – kalenpw Dec 5 '16 at 2:11
12

To delete a file as root you need to open nautilus as root by typing in terminal

sudo -H nautilus

Then inside nautilus use the shortcut CtrlH to show the hidden files. After that navigate to /home/username/.local/share/Trash/files.

And delete the files easily.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy