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

17
votes
3answers
4k 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
4answers
7k views

Can files/directories deleted from terminal be restored?

Is it possible to restore files/directories which are deleted from terminal using rm and rm -r?. If a file is deleted from graphical interface, it could be restored from trash, but how do you restore ...
16
votes
3answers
706 views

Is there a way I can rename Trash to Crap?

I was trying to Rename the folder Trash to Crap. I did this I first ran cd /home/username/.local/share/ Now my present working directory is /home/username/.local/share then when I typed ls I ...
13
votes
2answers
4k 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 ...
12
votes
2answers
984 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
728 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 ...
10
votes
2answers
3k 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
1answer
335 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
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 ...
9
votes
1answer
604 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: ...
9
votes
2answers
2k 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 ...
8
votes
5answers
4k 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?
8
votes
1answer
4k views

Command to move a file to Trash via Terminal [duplicate]

Possible Duplicate: Can files/directories deleted from terminal be restored? I would like to know if there is a command I can issue in a terminal so I do not classically remove (rm) the ...
8
votes
2answers
528 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?
7
votes
4answers
7k 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
597 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
16k 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?
5
votes
1answer
157 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
2k 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 ...
5
votes
1answer
277 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: ...
5
votes
2answers
681 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 ...
4
votes
1answer
4k views

Can't empty trash

I visited a lot of forums but found no answer. I have 5 files in my trash bin and i cant delete them, at first after i click on the empty trash button it would freeze, now when i do that it just says ...
4
votes
3answers
618 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 ...
4
votes
2answers
365 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
3answers
1k 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 ...
4
votes
1answer
372 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
1answer
2k views

Does Ubuntu Server have a Trash?

I'm rather new to linux. I was wondering if stuff still goes into the "trash" etc while using a server version of ubuntu. I'm been deleting stuff and i just want to make sure the stuff is not being ...
4
votes
1answer
855 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 ...
3
votes
1answer
670 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
2k 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
1k 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
3k 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
2answers
2k 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 ...
2
votes
2answers
3k views

How to open “Trash” through terminal?

i tried opening Trash by the command nautilus, but it gives me an error!
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
2answers
1k 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

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

Trash directory totally missing

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?
2
votes
4answers
10k 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 ...
2
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?
2
votes
1answer
95 views

Nautilus - bypass trash by default

The title says it all. I know I can do Shift Delete to remove files bypassing the trash. What I want, is to just hit Delete and bypass the trash by default. Shift Delete should be to remove to trash. ...
2
votes
1answer
371 views

Can not get .Trash-1000 working on NTFS auto mount?

I am using fstab to automount a NTFS dive... but I can not get the trash folder to work.... The line when I auto mount in fstab is: /dev/sdc1 /media/Data ntfs-3g defaults,uid-1000,locale=en_US.utf8 ...
2
votes
1answer
2k views

Why is a .Trash-1000 hidden folder created when I try to delete files from a mounted MicroSD card?

I have recently been mounting my Android phone via a USB cable and have been adding and deleting files to the microSD card. However I noticed that space was not being freed up when I deleted files. It ...
2
votes
1answer
459 views

How do I pin a trash bin to the GNOME Shell Activities overview?

How do I pin a trash bin to the GNOME Shell Activities overview?
2
votes
3answers
2k 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 ...
2
votes
1answer
941 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. ...
2
votes
1answer
167 views

There's a file in my trash that can't be deleted

It says "Could not delete file" every time I try to delete it. It's actually not even a file, but an empty folder. When I have this issue in Windows I usually use a program called Unlocker, but I ...
2
votes
0answers
133 views

Is there a Trash explorer to explore and restore .Trash-$uid contents?

I work with external storage and mounts a lot, and I often end up with a .Trash directory somewhere, whose contents are not shown in the File Manager trash bin, even though .Trash/files contains a lot ...