Permanently delete deletion delay

I tend to permanently delete files instead of move them to trash, and sometimes I delete stuff and then regret doing it. Would it be possible to add a delay before the file is actually deleted?

You could remove the “immediately delete” shortcut to re-train yourself to use the trash :^)

It seems like you effectively want the trash anyway. The trash is the delay. I have mine set to clean out files older than 30 days.

3 Likes

I used to be that way, very much badly so, even. But I moved to only having a ‘trash’ option, so I need to use shift-delete to permanently delete, and made sure that I have the confirmation option for this enabled. That adds a delay. :smiley:

I guess what I really need then is a way to clear the trash after x seconds and not move the files to another folder…

Or you can use btrfs with snapshots with autocleanup.
As long as a file is more than 1 day old it would be recuperable for at least 1 day, depending on your snapshot settings.

We lack ui-integration for this in dolphin, but that’s a interesting improvement area, I think I will look into.