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

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 ...
124
votes
5answers
165k 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 ?
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?
1
vote
2answers
4k views

I can not recover files from trash

I accidentally deleted some large files (10gb which is associated with Truecrypt) but I didnt empty the trash. It is inside the trash, when I run BleachBit I see them but I can't recover those files ...
3
votes
1answer
102 views

My .Trash-0 is owned by root

A folder in my home area, called .Trash-0 is owned by root: drwx------ 4 root root 4096 Apr 8 10:03 .Trash-0 Should it be? Can I fix this with chown? Is it a problem?
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
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/...
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 ...
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 ...
3
votes
3answers
4k 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
16k 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
2answers
6k views

Can I retrieve files from trash after it has been emptied?

Is it possible to find files that have been deleted and the trash is empty? My desktop was cleaned out and I am not sure why, but it had some files I would like to recover.
0
votes
1answer
375 views

After upgrading to 13.04 clicking on trash gives “Malformed URL trash://”

After upgrading to 13.04 when I click on the trash can icon in the launcher to view files in the trash gives the following error "Malformed URL trash://". I checked and the "~/.local/share/Trash/" ...
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 ...
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.
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 ...
3
votes
2answers
470 views

What is .Trash-0 and why does it act up every so often?

I noticed that despite deleting several large files from my hard drive my hard drive space wasn't opening up any, and remembered that every once in a while that .Trash-0 folder (no .Trash-1000 in my /...
3
votes
1answer
4k 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 ...
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 ...
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
1answer
150 views

Nautilus trash doesn't show deleted files on other partitions

Ubuntu 14.04 I have created several symlinks in my home folder to folders in another drive. I have changed the permissions of that mounted drive: drwxrwxrwx 6 root root 4,0K oct 13 17:30 media/ ...
1
vote
2answers
3k views

How to delete to trash via terminal (with mv command)? [duplicate]

I would like to know how can I delete a file and/or move it to trash with mv command? I know where the trash located is, then I tried with this commands to move it to trash: mv somefile /home/...
1
vote
3answers
760 views

Simple image viewer that is using trash rather than permanently deleting files?

I tried gpicview, nomacs, mirage and viewnior - all are permanently deleting images (there is a prompt) rather than using trash. I would prefer moving to trash without confirmation. Moving to trash ...
0
votes
1answer
148 views

Ubuntu's terrible trash [duplicate]

I've got 18.5 GB of trash in my trash, I've tried emptying it, but it won't work, even when I navigate to trash folder as root within nautilus.
0
votes
1answer
598 views

“Move to Trash” doesn't appear, but only “Delete” on context menu

I could not see "Move to Trash" option on context menu, but only seeing "Delete" option that make the file completely removed (Are you sure you want to permanently delete “file.txt”?). I also tried ...
0
votes
2answers
699 views

Empty Trash Sound Event?

is there any way to add a sound event every time i empty trash on my Ubuntu 12.04.2 lts i386 unity version. ?
-1
votes
1answer
70 views

Is it possible to have multiple trash cans for seperate partitions in the unity launcher?

I have a seperate drive mounted at /srv. If I create a /srv/.Trash folder files on that drive are successfully moved to a /srv/.Trash/1000 upon move to trash. If I don't have a /srv/.Trash folder I ...