Deleting Items in X

Jayem

The All Seeing
I have about 5000 files in my trash that i can't delete because of one folder/file. I dont have the "privilages". How do i override this?
 
In terminal enter in your home dir: cd .Trash
Then enter: ls to see what the name of the file/folder is.
Last enter: sudo rm file/foldername
You will be asked for your password, press enter and you will newer see that file again.
Then try to empty the trash.
 
Or if you want to empty the trash, just:

rm -rf ~/.Trash/*

Poof. :) I noticed that to get the trash icon to change to empty, I have to tell it to empty. :-/
 
Back
Top