Talk:Trash management

From ArchWiki
Latest comment: 22 April 2023 by Franklin Yu in topic Add list of software utilizing trash management

Add list of software utilizing trash management


This article left me wondering about a lot of things I couldn't find information on. Does anyone know how the graphical file managers implement Trash? Or do they outsource this to some of their dependencies? I.e. I use Nemo on the Budgie DE, and my home directory automatically got a trash can where things get deleted from the home directory, but for the other partitions, I needed to manually create the .Trash directory with the parameters described in the FreeDesktop specification, and this only works for physical partitions, when I experimented with tempfs, the .Trash directory doesn't get utilized there.

I'd add this info here or if it's implemented in the file manager, maybe this should be on the wiki page for that too?

TarsolyGer (talk) 02:54, 2 November 2019 (UTC)Reply[reply]

+1. Current page is actually Trash management in commnad line. --Fengchao (talk) 01:57, 7 February 2023 (UTC)Reply[reply]
If you are trashing a file in a partition (e.g. /boot/), you might not have the permission to create the trash directory (the implementation won’t automatically sudo for you). In this case the specification seems to expect you (or the system admin) to prepare the empty trash directory. --Franklin Yu (talk) 05:30, 22 April 2023 (UTC)Reply[reply]