Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-27-2009, 07:52 PM   #1
Lawrence ynt
LQ Newbie
Registered: Sep 2009
Posts: 2

Rep: Reputation: Disabled
Cannot empty trash

Dear all,

I am having troubles deleting the contents of my trash folder: I cannot delete everything, and I cannot delete any single file either.

I have checked to see if there are any files that I did not have permission to write, and there was one so I took it out, but still not joy.

When I right click the trash icon bottom right of screen and click on the empty trash option, it shows the File Operations thing as though it were deleting all the files, then when that File operations thing disappears, all the files are still in the trash.

When I open trash, and click on empty trash, the File Operations box comes up, says preparing and then disappears and nothing happens.

When I right click on a file in the trash, say an mp3 file, and click on delete permanently, a notice comes up saying:

(this might not be exactly as they phrase it in English as I am translating from Spanish):
Failure to delete
There was an error when deleting song.mp3
Show Details:
Failed to delete the item from the trash

Please help! I am new to Ubuntu command lines and things like that, have some very very basic ideas under my belt but no more. By the way I think Ubuntu is great!


Old 09-27-2009, 09:28 PM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
delete the contents of the .trash folder as superuser

#locate .trash

#cd /whatever/.trash
#sudo rm -rf *
#sudo rm -rf *.*
Old 09-28-2009, 06:49 AM   #3
Registered: Jan 2009
Location: India
Distribution: Fedora, Arch, OpenSolaris
Posts: 112

Rep: Reputation: 20
^The location of Trash is
Old 09-28-2009, 07:00 AM   #4
Registered: Sep 2009
Posts: 110

Rep: Reputation: 24
The location and management of trash folders depends on the window manager. Using or trying out two or more different window managers for the same account can lead to multiple trash cans. Anyway, you should check the docs for your window manager to find the proper location and delete the content on the commandline. This still leaves the question unanswered as to what caused this behaviour, because it is certainly not normal.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open the trash folder and empty the trash in command line cmx08 Linux - Newbie 5 08-29-2008 09:15 AM
Can't empty the trash. MooseMagnet Linux - Newbie 29 12-21-2007 09:49 AM
Move to trash works beautifully, but empty trash .. different story. kd5eax Mandriva 2 12-04-2007 02:52 PM
trying to empty trash jasonmcneil0 Linux - Software 4 10-26-2003 03:03 AM
empty trash Moleman Linux - Software 1 05-16-2003 12:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration