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

124
votes
5answers
164k 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 ?
50
votes
3answers
16k 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 ...
24
votes
4answers
7k 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 ...
22
votes
3answers
15k 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?
16
votes
1answer
7k 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. ...
15
votes
2answers
2k 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 ...
14
votes
1answer
23k 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 ...
14
votes
2answers
6k 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 ...
14
votes
1answer
1k 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 ...
14
votes
2answers
5k 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 ~/.local/...
13
votes
2answers
42k views

How to open “Trash” through terminal?

i tried opening Trash by the command nautilus, but it gives me an error!
13
votes
2answers
2k 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: ...
12
votes
1answer
889 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 ...
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
2k views

What happens if you Trash the Trash?

I was just wondering what would happen if I went and moved the Trash located here: /home/neo/.local/share/Trash To my Trash? I mean if I go to that folder and right-click on the contents and tell ...
10
votes
6answers
7k 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?
10
votes
2answers
897 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
2answers
5k 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
4k 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 /...
9
votes
2answers
3k 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 ...
9
votes
1answer
285 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 ...
8
votes
3answers
22k 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?
7
votes
4answers
11k 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
4answers
11k 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 ...
7
votes
5answers
669 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
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
3answers
1k 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
4answers
3k 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 ...
6
votes
1answer
2k 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 ...
6
votes
2answers
917 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 ...
6
votes
1answer
2k views

“Empy Trash” opens Nautilus (Files) window

When trying to empty the Trash (right-clicking on the Trash icon in the launcher and then selecting "Empty Trash"), a new window of Nautilus opens (working directory ~). Is this a bug? Are there any ...
5
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 ...
5
votes
2answers
432 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:
5
votes
1answer
631 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 ...
5
votes
1answer
162 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
3answers
8k 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 ...
5
votes
1answer
17k views

What is the “.Trash-1000” folder and how to delete it?

Can someone tell me what the .Trash-1000 folder is and how can I remove/delete it It taking up 275-Gig of disk space.
5
votes
1answer
330 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
2k 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
3answers
5k 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 ...
4
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 ...
4
votes
1answer
4k 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 ...
4
votes
1answer
539 views

can't move files to trash without any permission issues

This is not like one of the cases addressed before - I've checked them all. I've suddenly begun getting that message "... can't be put in the trash. Do you want to delete it immediately?" this ...
4
votes
1answer
380 views

Unity Trash icon error /home/trash no such file or directory after upgrd to 14.10

I have a minor buggy problem after I upgraded from Ubuntu 14.04 LTS to 14.10. When I click on the Trash icon, on Unity side bar I get the following error: " /home/trash:: No such file or directory" I ...
4
votes
1answer
249 views

Deleted Items not appearing in Trash folder. Stuck in .TRASH-1000

I have a three 3TB discs in a BTRFS RAID 1 configuration mounted at /mnt/btrfs on my machine. There is a symlink at /btrfs. There are a number of subvols within this, /archive /backups /games /home /...
4
votes
0answers
45 views

Network Trash showing on my desktop

I'm using Ubuntu 14.04 LTS on my company PC. After installing some software to test out I decided to uninstall them. The problem I have is that every time I start my computer my trash bin shows as ...
4
votes
0answers
118 views

Enable Trash usage on external NTFS partition

So I am dual-booting Windows 7 and Ubuntu 14.04 with a separate ntfs partition for my music and general data. I noticed that when deleting something from this shared partition, Ubuntu tells me that ...
4
votes
0answers
613 views

Impossible to trash files from a folder which is a symbolic link to a NTFS partition folder

Since a few days and the upgrade of my Ubuntu from 14.10 to 15.04, I cannot send files to trash anymore from some folders. When deleting from Nautilus, I now get a popup saying: “aaa.png” can't be ...
3
votes
1answer
931 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 ...