DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml · 3 months agoDo all DEs store the trash in the same place?message-squaremessage-square12fedilinkarrow-up162arrow-down12file-text
arrow-up160arrow-down1message-squareDo all DEs store the trash in the same place?DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml · 3 months agomessage-square12fedilinkfile-text
On Cinnamon and LxQt, the trash is in ~/.local/share/Trash. Is it the same for all desktop environments?
minus-squareKindaABigDyl@programming.devlinkfedilinkarrow-up34·edit-23 months agoAlso 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)
minus-squaredave@hal9000@lemmy.worldlinkfedilinkarrow-up1·3 months agoOh that’s neat! Thanks for the tip!
OK, got it
Also fyi there’s
trash-cli
I have
rm
aliased totrash-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)Oh that’s neat! Thanks for the tip!