PSA: Remember to also check hidden directories you don't even know about for waste of space
Apparently, Prism Launcher chose to adhere to the idiotic principle of the hidden "trashbin", .Trash-$(uid), invented by Ubuntu. Even though it's based on QT. This can't be disabled. It accumulated 139 GB of literal Trash, fully replaceable, over time. Just ... why?
There's even an open issue about this, for over a year, referenced multiple times.
I guess I have another point on my agenda.
There's even an open issue about this, for over a year, referenced multiple times.
I guess I have another point on my agenda.
eldavi
in reply to Lucy :3 • • •prole
in reply to eldavi • • •You can easily set it up to do this automatically with something like timeshift...
I recently switched to an Atomic distro (Bazzite), and they have made it so easy to rollback to previous commits without any additional software.
eldavi
in reply to prole • • •d_k_bo
in reply to Lucy :3 • • •This isn't some “idiotic principle invented by Ubuntu”, it just follows the freedesktop.org Trash specification. For many users, it can be really beneficial, see also the spec's introduction:
Whether an application like Prism Launcher should use the trash can or delete the files directly is an entirely different question.
Trash specification
specifications.freedesktop.orgtheshatterstone54
in reply to d_k_bo • • •cmnybo
in reply to theshatterstone54 • • •d_k_bo
in reply to cmnybo • • •rename(2) - Linux manual page
www.man7.orglurch (he/him)
in reply to d_k_bo • • •and proper trashing is actually really helpful, so you can trash files on encrypted volumes without leaking them to a unencrypted trash dir.
trashing saves time and has a more continous workflow, as you don't have to confirm each file to prevent accidents, because you can restore if you deleted too much
Nanook
in reply to Lucy :3 • •Linux reshared this.
Ephera
in reply to Nanook • • •Depending on your file manager, you may be able to hold Shift while triggering the delete to get a hard delete.
Shift+Del is pretty much standardized as the keyboard shortcut. And here on KDE, I can hold Shift while clicking the "Move to Trash" menu entry, too (well, it actually replaces the menu entry with one for permanent deletion, but that's effectively the same).
Troy
in reply to Nanook • • •Nanook
in reply to Troy • •Linux reshared this.
Troy
in reply to Nanook • • •Nanook
in reply to Troy • •Linux reshared this.
Troy
in reply to Nanook • • •Nanook
in reply to Troy • •Linux reshared this.
Troy
in reply to Nanook • • •Nanook
in reply to Troy • •Linux reshared this.
Krafty Kactus
in reply to Lucy :3 • • •Nanook
in reply to Lucy :3 • •Linux reshared this.
thingsiplay
in reply to Lucy :3 • • •I use command
trash-empty
to empty all trashcan of all the users, after each system update. It's a non standard program, but most likely available in your distributions repository: github.com/andreafrancia/trash… And my alias/function will show each file that is about being deleted (just put it in .bashrc, if you have installedtrash-cli
, which includestrash-empty
):::: spoiler old function (click to expand)
:::
Edit: After I posted I just realized there is a more straightforward way of doing it:
New and more simple alias:
This searches all trash cans, lists all files it has found to be deleted, then lists all directories it looked under and then asks if you want really delete. With
trash-empty -f
it deletes without asking.GitHub - andreafrancia/trash-cli: Command line interface to the freedesktop.org trashcan.
GitHubexu
in reply to Lucy :3 • • •Lucy :3
in reply to exu • • •DrDystopia
in reply to Lucy :3 • • •Lucy :3
in reply to DrDystopia • • •rxxrc
in reply to Lucy :3 • • •shopt -s dotglob
will make*
include .dotfiles.lnxtx (xe/xem/xyr)
in reply to DrDystopia • • •DrDystopia
in reply to lnxtx (xe/xem/xyr) • • •I have several 4 and 8 TB disks filled up with various stuff just waiting to be cleaned up. Why do you think I'm preaching about storage space management?
My dual 10's are starting to fill up because I don't move stuff off-site as I should. And then reclaiming space through disk analyser and freeing up reserved space is a life saver.
MonkderVierte
in reply to lnxtx (xe/xem/xyr) • • •dadarobot
in reply to Lucy :3 • • •mizuki
in reply to dadarobot • • •InFerNo
in reply to dadarobot • • •ZeroHora
in reply to Lucy :3 • • •MonkderVierte
in reply to Lucy :3 • • •mexicancartel
in reply to Lucy :3 • • •ncdu
sunstoned
in reply to Lucy :3 • • •I'm more of a dust man, myself. It runs recursively so it's easy to pinpoint the culprit.
[Image source: the project's README]
GitHub - bootandy/dust: A more intuitive version of du in rust
GitHubxia
in reply to Lucy :3 • • •