Do all DEs store the trash in the same place?

DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml – 61 points –

On Cinnamon and LxQt, the trash is in ~/.local/share/Trash. Is it the same for all desktop environments?

9

You are viewing a single comment

${XDG_DATA_HOME}/Trash is fairly common and afaik the default in Gnome and KDE

FreeDesktop.org trash spec

OK, got it

Also fyi there's trash-cli

I have rm aliased to trash-rm (not in sudo tho, so I can still force true deletion), so that if I remove something in terminal it also goes to trash.

You can empty the trash via trash-empty

It also uses ${XDG_DATA_HOME}/Trash (usually ~/.local/share/Trash)