The Trash/Wastebasket/Rubbish Bin is a place for files that have been removed from their original folder, but are still available to easily restore if the user made a mistake or changes their mind.

learn more… | top users | synonyms

56
votes
5answers
53k views

How can I empty the trash using terminal?

I am not able to search trash anywhere. Can you please tell me a command or anything like that to empty the trash using terminal ?
34
votes
3answers
8k views

Command to move a file to Trash via Terminal

I would like to know if there is a command I can issue in a terminal so I do not classically remove (rm) the file, but instead move it to trash (i.e. Nautilus Move to Trash behavior). In case there ...
20
votes
3answers
8k views

How to delete files bypassing trash

When I select the file and push delete this file is automatically landing in the trash. How can I delete files bypassing trash without using a mouse?
17
votes
4answers
5k views

How can I change Unity's super-t binding to something else?

First, I've tried searching several threads to find the answer, but I couldn't find one that solved my problem, so I'm opening a new one here. I just installed Ubuntu 11.04 with the new Unity ...
14
votes
2answers
1k views

Ubuntu 10.10 trash CPU overload

I have a weird bug with Ubuntu 10.10 on one of my computer. When I empty the trash, the process - gvfsd-trash goes to 200% and does not stop until I kill it (using kill -9). Does not matter if I have ...
12
votes
1answer
808 views

Trash on NTFS for multiple users: Why does Dolphin succeed where Nautilus fails?

I am trying to set up the ability for multiple users to use the Trash on a NTFS drive. The main solution proposed on the forums consists into enabling a single user to use the Trash. That is made by ...
12
votes
2answers
3k views

Why does ~/.local/share/Trash still use lots of space even after emptying the Trash? [closed]

I delete files via Nautilus. I then empty the Trash. It shows as empty. However, ~/.local/share/Trash contains 1.5G of stuff. I have a small SSD and so this is highly annoying. Here's what ...
11
votes
2answers
2k views

How does the Trash Can work, and where can I find official documentation, reference, or specification for it?

When trying to manage trash can from mounted NTFS volumes, I ended up reading FreeDesktop.org's reference on it. Poking around and doing some tests, I realized Ubuntu/Gnome does not follow the specs ...
10
votes
2answers
18k views

How to open “Trash” through terminal?

i tried opening Trash by the command nautilus, but it gives me an error!
10
votes
2answers
5k views

What is the .Trash Folder on the NTFS partitions?

When using a dual-boot Windows and Ubuntu. I see that there is a folder created with the name .Trash-1000 in the NTFS partitions. Could someone explain to me : What does this folder mean ? For ...
10
votes
2answers
698 views

Intercepting calls to rm, and directing deleted files to trash instead

Is there a way to intercept calls to rm, and instead of permamently deleting the files, moving them to trash instead?
10
votes
1answer
788 views

Why does emptying the rubbish bin in nautilus take so long?

For the purpose of this question, "large directory" means for example a Linux kernel git repository, or the Chromium source. If I rm -rf a large directory like this from the shell, it is deleted in ...
9
votes
1answer
14k views

Can't empty trash [duplicate]

I visited a lot of forums but found no answer. I have 5 files in my trash bin and I can't delete them, at first after I clicked on the empty trash button it would freeze, now when I do that it just ...
9
votes
5answers
5k views

How to turn off trash?

I don't believe in Trash Bin and when I delete something I want it to be gone forever, how to turn off the Trash? P.S. When I delete files from the console do they also go to Trash?
9
votes
2answers
3k views

Does Ubuntu Server have a Trash?

I'm using the server version of Ubuntu. I was wondering if files still go into the "trash" etc. with this version. I'm been deleting stuff and I just want to make sure the stuff is not being put into ...
9
votes
1answer
3k views

Deleting contents of ~/.local/share/Trash/expunged …?

Is there a safe way of deleting contents of ~/.local/share/Trash/expunged ? I see It has lots of files & folders I had deleted -- from the trash as well. They are taking a lot of disc space. ...
9
votes
1answer
953 views

How to enable trash for NFS mounts?

The /home/users directory on my host is an NFS mount connected to a server which is not in my control. When deleting files in $HOME (/home/users/foo) with Nautilus I get the following message: ...
8
votes
1answer
3k views

How do I use gnome trash for files in different partition?

I have my files in a separate partition that is not mounted to /home, but only linked to it. How do I manage to be able to use the gnome trash in those files? For example: partion 2: mounted on ...
7
votes
4answers
9k views

Why is there no Recycle Bin?

Why doesn't Ubuntu have their Recycle bin/Trash function the same as Windows. In Ubuntu there is Trash folder, which functions exactly as a folder. There is no disk space difference after a file has ...
7
votes
5answers
615 views

How to restrict users on deleting files from trash folder?

I want to restrict my users on deleting files from trash. Also i dont want my users to delete files bypassing trash. Is there any way to do this?
7
votes
2answers
2k views

Trash works on NTFS when mounted by Nautilus, but not when automounted via /etc/fstab

I have 2 "data" drives. One is ntfs, the other is ext4. The Trash works for both drives when I allow Nautilus to handle the mount. I've opted to auto-mount them via entries in /etc/fstab, but ...
6
votes
3answers
882 views

How can I find the total size of the contents of my Trash folder?

Is there any way I can find out exactly how much is in my Trash folder? I can see the size column, but if I have a folder in the trash, it shows the number of items in the folder rather than the total ...
6
votes
3answers
19k views

Where is Trash Bin in Ubuntu 11.10 with Gnome Shell?

I am using Ubuntu 11.10 with Gnome Classic shell. How can I open Trash Bin?
6
votes
1answer
1k views

I accidentally removed my Trash and can longer put items into it, how can I get it back?

I did a stupid thing. I was having issues with certain files in my trash that my system was not allowing my to delete, meaning I could no longer empty my trash. These were not super important files, ...
6
votes
2answers
810 views

Why does Nautilus ask me to “… empty the trash before you unmount?”

I have a SATA hard-drive, formatted as ext4, which is detected by Nautilus each time I boot the computer. I do need to click on it, in Places, to actually mount it. That's okay, I'm happy with ...
5
votes
3answers
2k views

Trash Bin in Unity launcher shows full even when empty

I'm having a weird problem where my Trash Bin in Unity launcher is showing full when its not. Usually it wouldn't bother me but its been happening so often lately its getting annoying. Any assistance ...
5
votes
1answer
159 views

will you be able to drag unwanted files unto the trash on the unity Launcher?

When unity for Natty is finished, will there be a feature to drag and drop unwanted files into the trash that is docked on the launcher?
5
votes
1answer
299 views

Any way to consolidate multiple .Trash directories

I have a seperate data partition with a functioning .Trash directory. But ~/.local/share/Trash is the only directory seen by trash:/// in nautilus. Here's the fstab entry for the partition: ...
4
votes
4answers
507 views

How to delete all files inside subfolders, but not subfolders itselves?

I know how to recursively delete all subfolders and all files. But in this case, I need to preserve subfolders. Basically, I need to empty them all. So, I have rootdir/ subA/ ...
4
votes
2answers
389 views

Is there a way of organize file in Trash by delete-date?

In Trash I can organize files by last modified date, and others, but I want to see last deleted files. Is there a way? My "visible columns" options: My Trash folder screenshot:
4
votes
1answer
480 views

How to move my Trash into /tmp or automatically empty trash on reboot?

I rarely use Trash. (I use Shift+Delete) But recently, I found I often remove some important files by mistake. So I want to use Trash now. But as we all know, my limited disk space will be filled ...
4
votes
3answers
5k views

I cannot delete files from root's Trash

I deleted some large files from nautilus launched as sudo. They still show in /home/.Trash-0/files/<foldername> when I type sudo sh -c "du -h /home | grep -P '[0-9]G\t'" but when I type sudo rm ...
4
votes
1answer
1k views

How to I stop ubuntu making .Trash folder in each device

Well title says all. As there is no use of this feature for me I want to disable this feature whenever I delete is stays it stays in .Trash folder of a device e.g. Pendrive and with time it start to ...
4
votes
0answers
38 views

Change trash icon command in Unity

I have recently replaced my default file manger from Nautilus to Dolphin, so I would like when I click on the trash icon (in left narrow panel), Dolphin opens trash folder not Nautilus. For this I've ...
3
votes
1answer
855 views

File wont delete from trash even after sudo rm -rf ~/.local/share/Trash/

I've tried using sudo rm -rf ~/.local/share/Trash/files/ and even going myself as root doing the same, and recreating the folder its still there, it was from a pendrive at one point and I deleted it ...
3
votes
3answers
3k views

Why are my Trash items not showing?

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 ...
3
votes
2answers
2k views

Delete Files To Trash

Ubuntu 13.04 dual-booting next to Pre-installed Win 8. I can only delete files to the trash can when I am in the home directory, even for files which belong to me (usually inside /var/www). Selecting ...
3
votes
3answers
5k views

How to recover a file which was removed in nautilus when running as root?

I'm new with Ubuntu and used the command sudo -s to become root and executed nautilus to open my Nautilus Elementary as root. While managing my files, I wrongly pressed the "Delete" button on my ...
3
votes
1answer
2k views

Why is .Trash-0 using up so much space?

I want to know why it is using up so much space and why its contents are hidden?
3
votes
3answers
3k views

I can't open the trash from the Launcher's Trash Icon

I am an upgraded user from Ubuntu 11.04 to Ubuntu 11.10 On Ubuntu 11.10 when I click on the Trash icon in the Unity launcher, it does not open the Trash can. Why?
3
votes
3answers
3k views

Trash has reached maximum size?

I'm on Kubuntu 11.04, and deleting in Krusader I get "Thrash has reached maximum size" even when I have 10M in ~/.local/share/Trash/files. So my question is why is that? How do I set the allowed size ...
3
votes
1answer
2k views

help, can't empty my trash folder on external hdd

I've been searching for this problem on the webs but none of the solutions i've found worked for me. The problem is that I have an external hard drive and the trash folder won't delete. the complete ...
3
votes
3answers
13k views

Can't delete/edit files on my pendrive

I'm trying to delete the .Trash-1000 from my pen drive, but with sudo rm -rf .Trash-1000/ I got rm: cannot remove `.Trash-1000/expunged/2660089871/apps.log': Read-only file system (one line of ...
3
votes
0answers
29 views

Move to trash in nautilus doesn't work, trash folder stays empty [duplicate]

When I click "move to trash" in the right-click context menu of nautilus, I get the following error: "name of the file ” can't be put in the trash. Do you want to delete it immediately? but I don't ...
3
votes
0answers
29 views

Krusader & Xfce - Wastebin is full

I've just installed Krusader and have annoying problem. Whenever I try to delete a file (move to trash) I've got a message: The wastebin has reached its maximum size! Cleanup the wastebin ...
2
votes
2answers
2k views

Delete files from trash after x days

Is there any way to configure Ubuntu to permanently delete files from trash after a certain amount of time? I don't get why that's not the default behavior in any major OS. I don't want to think ...
2
votes
3answers
2k views

How do I restore the Trash icon on the desktop?

I accidentally removed the trash icon from the desktop, is there a way to put it back?
2
votes
3answers
2k views

After deleting files I do not get any more space on my hard drive and files are not in trash

I am deleting files from my filesystem because I am running out of space but I do not get any more free space after deleting them. I cannot locate these files and they are not in trash. I do not know ...
2
votes
3answers
2k views

Cannot remove file from trash that was put there as root

I know about the dangers of using root access so please forego the lectures. I try to be careful and will be doubly so from now on. I was using the file browser with root access in order to change ...
2
votes
2answers
3k views

Trash directory totally missing [duplicate]

I am using Ubuntu 12.04 with Unity. I just found that there is no Trash directory at: ~/.local/share/Trash like explained here. Where is the Trash dir?