PDA

View Full Version : [ubuntu] [SOLVED] I can't clean the trash



pepeugomez
May 22nd, 2008, 09:34 PM
hello I got some files in my trash that doesn't want to go away.
I was so happy of been free of windows and now this.
can anyone help me with that?

juan:guitar:

aysiu
May 22nd, 2008, 09:37 PM
Paste this command into the terminal (http://www.psychocats.net/ubuntu/terminal):
sudo rm -r ~/.Trash/* It's very important that you paste this command in the terminal. Do not retype it manually.

sudo means "Whatever I run, run with administrative privileges"

rm means "Remove"

-r means "Recursively"

~/ means "/home/username"

.Trash/ means "anything inside the trash folder"

unutbu
May 22nd, 2008, 09:40 PM
aysiu, it's a little confusing -- your advice, which is correct -- contradicts your sig, which is under most circumstances also correct... lol:)

logos34
May 22nd, 2008, 09:45 PM
Paste this command into the terminal (http://www.psychocats.net/ubuntu/terminal):
sudo rm -r ~/.Trash/*

But if your running 8.04 hardy then the command would be:

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

(they moved it, why I know not)

pepeugomez
May 22nd, 2008, 09:51 PM
Sorry it is me again
I do as you tell me to but the sistem answer me that he can't do it because the file or the directorie doesn't exist.
sistem is in spanish i don't know if it is important.
thanks.

juan:guitar:

pepeugomez
May 22nd, 2008, 09:58 PM
logos 34 you was right.
thank you very much.
I'm so happy of quitting windows as when i was a Mac user.
Thanks.


juan:guitar:

logos34
May 22nd, 2008, 10:04 PM
logos 34 you was right.
thank you very much.
I'm so happy of quitting windows as when i was a Mac user.
Thanks.

no prob. enjoy ubuntu

aysiu
May 22nd, 2008, 10:12 PM
Why did they move that? That's annoying. Good to know for the future, though.

erginemr
May 23rd, 2008, 11:28 PM
Why did they move that? That's annoying. Good to know for the future, though.

I hear you.

Not only that; they have also changed the way icon themes are loaded. This way, some icon themes in gnome-look.org that could be installed before without a hitch, can only be installed partly now.

Rekiem
February 11th, 2009, 04:15 PM
That's awful I spent like 30 mins looking for my ~/.Trash directory is unfair!!

Anyway, thanks for the note!
Let's keep linuxing =)

Regards!
Mike

nasir8891
April 4th, 2009, 09:13 PM
sudo rm -r ~/.local/share/Trash/ *

thanks . the command is working properly for ubuntu 8.04 :p