Home > Fixing bugs, How to's, Ubuntu related > If you can’t Empty the Trash

If you can’t Empty the Trash



Ubuntu bin

I’ve had  a problem with my Trash in the last 3 days..

Deleted a file from /opt directory and when i was going in trash to delete it from the menu, I was getting the “You don’t have access” error…

Just found out that you need to go root (obviously) to clear the garbage… lol

Open the terminal and run this command to empty all files and folders stored in Trash:

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

Aaaand that’s all !

  1. ri
    August 29, 2014 at 23:03

    sudo rm -rf ~/.local/share/Trash/*
    ill type root password but nothing happens what now?

    • August 30, 2014 at 11:19

      Reboot and try again. I don’t know what else you should try… this works in 90% of the cases

  2. February 6, 2015 at 13:19

    Using Mint 17 Rebecca. Having a similar problem. If I go anywhere near Rubbish Bin laptop freezes and starts over working. Tried deleting files by clicking on delete icon in Nautilus and from terminal but nothing happens. Tried repairing from boot. No joy. Scanned with ClamAV, no virus. Any advice?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: