Questions tagged [trash]

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.

359 questions
380
votes
5 answers

How can I empty the trash using terminal?

I am not able to find trash anywhere. Can you please tell me a command or anything like that to empty the trash using terminal ?
hellodear
  • 4,833
171
votes
10 answers

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 is such a command, I would also be interested in…
Rasmus
  • 8,655
65
votes
4 answers

How to open "Trash" through terminal?

I tried opening Trash by running the command nautilus, but it gives me an error.
55
votes
1 answer

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. After deleting the files & clearing the trash why are the…
maan81
  • 657
  • 1
  • 8
  • 26
41
votes
6 answers

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 some file permissions. During the process I deleted…
jeop
  • 511
36
votes
7 answers

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 gigs of disk space.
zippy
  • 361
  • 1
  • 3
  • 3
34
votes
3 answers

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?
vrcmr
  • 6,397
33
votes
7 answers

How do I remove trash icon from GNOME desktop?

How do I remove the "Trash" icon from GNOME 3 desktop? I'm running Ubuntu 17.10 with GNOME shell.
joshas
  • 675
33
votes
1 answer

Can't empty trash

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 says "preparing" and displays an error while trying…
Nikobitan
  • 331
32
votes
4 answers

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 desktop, and I'm trying to change the key binding of…
Lemurman
  • 451
20
votes
2 answers

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 /data, with a folder /data/myname partion 1: mounted on…
alfC
  • 3,584
20
votes
2 answers

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

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/share/Trash shows…
mfisch
  • 3,693
19
votes
8 answers

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?
UAdapter
  • 17,967
19
votes
4 answers

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 about administrating my trash, but I don't want to…
18
votes
2 answers

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 a 1 file or 100. What can be the issue? Here's a…
1
2 3
23 24