# Deleted Trash folder accidentally

**URL:** <https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359>\
**Category:** Newbie\
**Created:** [June 20, 2022, 4:16pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359 "2022-06-20T16:16:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 4:16pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/1 "2022-06-20T16:16:33Z")

</div>

I had selected the Trash folder and accidentally hit the Delete key on my keyboard.

How can I get the Trash folder back?

---

<div class="post-metadata">

**Author:** ![smokey](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/smokey/32/133678_2.png) [@smokey](https://forum.endeavouros.com/u/smokey)\
**Post date:** [June 20, 2022, 4:17pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/2 "2022-06-20T16:17:59Z")

</div>

Which desktop environment are you using? Did you delete it off the desktop or in the file manager?

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 4:22pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/3 "2022-06-20T16:22:20Z")

</div>

I am using Cinnamon, and I deleted it in Nemo.

---

<div class="post-metadata">

**Author:** ![smokey](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/smokey/32/133678_2.png) [@smokey](https://forum.endeavouros.com/u/smokey)\
**Post date:** [June 20, 2022, 4:25pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/4 "2022-06-20T16:25:13Z")

</div>

Unfortunately this is one desktop environment/file manager I have very little experience with. I will have a look around for an answer for you though

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 4:26pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/5 "2022-06-20T16:26:46Z")

</div>

Thanks smokey. As an extension to your answer, is there a reason not to use Cinnamon, and to use another DE instead?

---

<div class="post-metadata">

**Author:** ![smokey](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/smokey/32/133678_2.png) [@smokey](https://forum.endeavouros.com/u/smokey)\
**Post date:** [June 20, 2022, 4:28pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/6 "2022-06-20T16:28:08Z")

</div>

No real reason that I don’t use it. From what I have heard it is a great desktop environment to use.

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 4:28pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/7 "2022-06-20T16:28:54Z")

</div>

OK, thanks, that at least outs my mind at ease.

---

<div class="post-metadata">

**Author:** ![smokey](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/smokey/32/133678_2.png) [@smokey](https://forum.endeavouros.com/u/smokey)\
**Post date:** [June 20, 2022, 4:32pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/8 "2022-06-20T16:32:14Z")

</div>

Where abouts in nemo did you delete it? Off the side panel? I don’t seem to be able to delete it off there. Out of curiousity if you send another file (create a blank file) to the recycle bin does it reappear? I’ll keep trying to find an answer in the meantime

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 4:37pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/9 "2022-06-20T16:37:46Z")

</div>

OK, I had 2 instances of Nemo open, which I did not realize. In one of them I deleted Trash from the sidepanel. I just closed Nemo, then saw the other instance with the Trash folder still there. Just to make sure all is OK I closed that instance too and reopened Nemo. Trash is there. Phew!

My apologies for having troubled you. Thanks a lot for your help.

---

<div class="post-metadata">

**Author:** ![smokey](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/smokey/32/133678_2.png) [@smokey](https://forum.endeavouros.com/u/smokey)\
**Post date:** [June 20, 2022, 4:39pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/10 "2022-06-20T16:39:59Z")

</div>

You’re welcome, on KDE I can’t delete it for some reason from the side panel, I might have been missing something though.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 20, 2022, 4:42pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/11 "2022-06-20T16:42:35Z")

</div>

Try:

```auto
mkdir /home/$USER/.local/share/Trash

```

Or I guess you could right-click on something and choose “Move to Trash” from the menu.  
The folder should be recreated.

> [@Klaas-Vaak](#):
>
> OK, I had 2 instances of Nemo open, which I did not realize. In one of them I deleted Trash from the sidepanel. I just closed Nemo, then saw the other instance with the Trash folder still there. Just to make sure all is OK I closed that instance too and reopened Nemo. Trash is there. Phew!

Ah, I missed this 😊

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 4:56pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/12 "2022-06-20T16:56:13Z")

</div>

> [@pebcak](#):
>
> Or I guess you could right-click on something and choose “Move to Trash” from the menu.  
> The folder should be recreated.

I did not realize I could recreate the folder this way, so you made a good suggestion if it ever happens again. Mind you, this is the 1st time ever since I started using a computer (36 years ago) that I do this.

Thank you and also thanks to @pebcak for your help.

---

<div class="post-metadata">

**Author:** ![anon11595408](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f1d935/32.png) [@anon11595408](https://forum.endeavouros.com/u/anon11595408)\
**Post date:** [June 20, 2022, 4:59pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/13 "2022-06-20T16:59:07Z")

</div>

Mind the trash-cans! 🤣

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [June 20, 2022, 5:20pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/14 "2022-06-20T17:20:04Z")

</div>

I wholeheartedly recommend installing `trash-cli`. It’s a wonderful, command-line trashcan interface.

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 5:25pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/15 "2022-06-20T17:25:30Z")

</div>

What does it do or, more precisely, how/in what situations can I use it?

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [June 20, 2022, 5:27pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/16 "2022-06-20T17:27:01Z")

</div>

It does everything you’d expect of a trashcan interface. You have commands in the terminal with which you can trash stuff, empty the trashcan, restore stuff from trash, list stuff in trash…

The only thing I dislike about it is the word “trash” – sounds very trashy, to me. I prefer the word “rubbish”… 🧐

---

<div class="post-metadata">

**Author:** ![anon11595408](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f1d935/32.png) [@anon11595408](https://forum.endeavouros.com/u/anon11595408)\
**Post date:** [June 20, 2022, 5:28pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/17 "2022-06-20T17:28:05Z")

</div>

What about your neighbour’s trash-cans though?

---

<div class="post-metadata">

**Author:** ![Klaas-Vaak](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/ccd318/32.png) [@Klaas-Vaak](https://forum.endeavouros.com/u/Klaas-Vaak)\
**Post date:** [June 20, 2022, 5:59pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/18 "2022-06-20T17:59:22Z")

</div>

That seems like a long way round: clicking on the ~~trash~~ rubbish icon is much easier and you can do those same things as through the cli. No?

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [June 20, 2022, 6:01pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/19 "2022-06-20T18:01:48Z")

</div>

> [@Klaas-Vaak](#):
>
> No?

No.

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [June 20, 2022, 6:11pm UTC](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359/20 "2022-06-20T18:11:25Z")

</div>

Install `nnn` and then you won’t be touching a GUI file manager anymore 😉

[Next page](https://forum.endeavouros.com/t/deleted-trash-folder-accidentally/28359.md?page=2)
