LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "The trash has reached its maximum size" in Ubuntu 11.04 (https://www.linuxquestions.org/questions/linux-newbie-8/the-trash-has-reached-its-maximum-size-in-ubuntu-11-04-a-932369/)

l8tr 03-02-2012 12:12 PM

"The trash has reached its maximum size" in Ubuntu 11.04
 
I am using Ubuntu 11.04. After I burned a disk in K3b, I tried to move a file to Trash from K3b, and I got the message:

"The trash has reached its maximum size!
Cleanup the trash manually."

So I opened the Trash folder on the desktop and found that it was empty.

I tried "/home/<user>/.local/share/Trash/files" in Terminal and got "bash: /home/larry/.local/share/Trash/files: Is a directory"

So where do I go from here? How can I have a full Trash file and it be empty at the same time?

And how do I resize it so this does not happen again in the future?

Thanks

jhwilliams 03-02-2012 12:59 PM

You should delete the contents of your trash:

Code:

rm -rf ~/.local/share/Trash/files/*
Maybe they weren't showing because the GNOME file icons get cached in the same directory, and since it was full, they couldn't be written? Not really sure.

Don't bother resizing it, just find a better place to put your files. Like /home/larry/uninportant_files or something.

l8tr 03-02-2012 04:19 PM

I appreciate the prompt reply jhwilliams, but when I copied and pasted "rm -rf ~/.local/share/Trash/files/* into the Terminal, a I got was the root directory again.

I wanted to delete the file I downloaded so I do not waste space on the hard drive. Don't I have to send them to Trash to delete them?

l8tr 03-02-2012 04:33 PM

After you suggested that I simply find a place to put the files, it came to me that K3b may not actually be holding the file I wanted to send to trash in it's window, but rather listed it so I could direct activity toward it in the folder it was downloaded to.

So I checked the downloads drop-down menu in Foxfire where I got it. Opening the "Open containing folder" took me to the .tmp folder. I found the offending file there and was able to send it to trash from there with no issues. As a result, the K3b folder also dropped the file off the list I wanted to remove it from.

Still the question: Why did:

"The trash has reached its maximum size!
Cleanup the trash manually."

show up in the first place if the was nothing in the Trash folder?

Cheers!

yancek 03-02-2012 06:05 PM

You need to be in your /home/user directory to run the command above so firt do? cd /home/larry, then run the command:

Quote:

rm -rf ~/.local/share/Trash/files/*
Quote:

Don't I have to send them to Trash to delete them?
Sending files to Trash does not delete them. The command suggested to you by jhwilliams deletes.

You can also delete files by navigating to the Trash folder in your file manager and when you are in the files directory, select Edit and then Select All (if you want to delete everything there) to highlight the files, then hit the Shift and Delete keys simultaneously. You will be prompted asking if you really want to Delete, click OK to delete.

t

jhwilliams 03-02-2012 06:07 PM

@l8tr, Nice location! I'm in North Portland.

Are you using KDE? That path to the trash file may only be valid for Gnome, not sure.

Knightron 03-02-2012 06:39 PM

Just gksu nautilus, navigate to the trash and then highlight them and select delete. When you delete with root, i'm pretty sure it deletes. Also have you tried right click, empty trash?

l8tr 03-02-2012 07:11 PM

Yancek, I am such a Noobie that I still cut ad paste any advice I get. When I did so with multiple variants of "firt do? cd /home/larry" (Not aware of the syntax of the root language), I just got a lot of errors telling me that what I put in was not recognised immediately and that I would have to install other packages to make any of the variants work. "cd /home/larry" resulted in:
bash: cd/home/larry: No such file or directory.

If I am missing something, please let me Know.

jhwilliams, I am running Natty, using Unity 2D. I am not sure how to check to see if it is KDE or Gnome, but I thought it was in Gnome. How do I check?

Knightron, I copied "gksu nautilus" into the root and it appears to work.

Still don't know why the message:

"The trash has reached its maximum size!
Cleanup the trash manually."

came up with an empty trash file...

To All of You:
Thanks for all the help

frankbell 03-02-2012 08:51 PM

If you're using Konqueror, you can go into Settings-->Configure Konqueror-->File Management and add a menu item for Delete which does not send a file to trash.

I justed checked my Slackware box. The trash path that jhwilliams posted is valid for KDE; both KDE and Gnome conform to the Free Desktop Specifications:

http://standards.freedesktop.org/des...ec-latest.html

yancek 03-02-2012 10:48 PM

Quote:

. "cd /home/larry" resulted in:
bash: cd/home/larry: No such file or directory
From your first post indicating your user name larry, that should work. You do need a space between cd and /home/larry like this:

Quote:

cd /home/larry

l8tr 03-02-2012 11:12 PM

Quote:

If you're using Konqueror, you can If you're using Konqueror, you can go into Settings-->Configure Konqueror-->File Management and add a menu item for Delete which does not send a file to trash.

I justed checked my Slackware box. The trash path that jhwilliams posted is valid for KDE; both KDE and Gnome conform to the Free Desktop Specifications:

[url]http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.htmlgo into Settings-->Configure Konqueror-->File Management and add a menu item for Delete which does not send a file to trash.

I justed checked my Slackware box. The trash path that jhwilliams posted is valid for KDE; both KDE and Gnome conform to the Free Desktop Specifications:

[url]http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
I believe Konqueror is in Ubuntu 11.10 which did not want to load on my older machine. (System settings does not indicate that it is in my 11.04). I don't know if it can be installed in this version.

Also, Yancek, I just copied & pasted "cd /home/larry " from your post with the same results.
Not sure how to get there from here.

Cheers


All times are GMT -5. The time now is 11:36 PM.