DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml · 2 years agoDo all DEs store the trash in the same place?message-squaremessage-square5fedilinkarrow-up11file-text
arrow-up11message-squareDo all DEs store the trash in the same place?DeltaWingDragon@sh.itjust.works to Linux@lemmy.ml · 2 years agomessage-square5fedilinkfile-text
On Cinnamon and LxQt, the trash is in ~/.local/share/Trash. Is it the same for all desktop environments?
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-22 years ago${XDG_DATA_HOME}/Trash is fairly common and afaik the default in Gnome and KDE FreeDesktop.org trash spec
minus-squareKindaABigDyl@programming.devlinkfedilinkarrow-up1·edit-22 years 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)
${XDG_DATA_HOME}/Trashis fairly common and afaik the default in Gnome and KDEFreeDesktop.org trash spec
OK, got it
Also fyi there’s
trash-cliI have
rmaliased 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-emptyIt also uses
${XDG_DATA_HOME}/Trash(usually ~/.local/share/Trash)