Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

There was a folder on my desktop, and I dragged and dropped it onto the trash icon on the bottom right of the screen to see if the folder would be deleted.

It got deleted.

But when I opened up the trash folder by clicking on that icon, the folder I had deleted was not there. I then clicked on the properties of the trash folder and it said that there are 113 items in the trash while at the bottom of the window it says there is 0 items in the trash.

I tried viewing hidden folders but nothing showed up. I also tried to open it as root but nothing showed up again.

So does anyone know how I can view the 113 items in the trash?

image

share|improve this question

3 Answers 3

up vote 4 down vote accepted

Sounds like you have some items in an old gnome trash folder instead of the newer xdg trash folder. Do you need to recover the files and could you specify what you're looking for?

Even if you find out what's wrong, this still should be reported as a bug:

https://help.ubuntu.com/community/ReportingBugs

share|improve this answer
    
Yeah I would like to recover the folder that I deleted, how would I be able to access the old gnome trash folder? –  nafis Nov 18 '10 at 4:35
    
go to a terminal and type in locate "Name of Folder" make sure you get the name exact with case matches and everything. If the folder still exists, that will hopefully tell you where. –  Martin Owens -doctormo- Nov 18 '10 at 16:27

There have been some changes in the trash directory location as gnome/glib have evolved. Try the following:

rm -rf ~/.Trash/*
rmdir ~/.Trash
rm -rf ~/.local/share/Trash/*
chmod 700 ~/.local/share/Trash/

Then put something in the trash. The new trash hierarchy will be created automagically. See the article how to manage trash from command-line for more examples.

share|improve this answer

I'm guessing you probably have some unreadable files in ~/.local/share/Trash. You could determine this by running chmod +r ~/.local/share/Trash/* in a terminal. If that does not work, you can open the folder directly and see if you can see anything in it.

If it all fails, then as Martin said, report a bug.

share|improve this answer
    
There were three folders in ~/.local/share/Trash. I checked all of them and there was nothing in all three folders. I then ran that chmod command but nothing happened –  nafis Nov 18 '10 at 4:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.