I’ve always just used gio trash (formerly gvfs-trash). KDE-based systems have something similar (but with syntax that’s perfectly logical but completely unsuitable, in my opinion).
The third party trash package works in places the GUI and the aforementioned GUI-related command line tools may not. I can’t tell whether this is a bug in trash or in the system tools, TBH.
For example, /tmp is one such directory where trash works but gio trash refuses.
Either way, the GUI Rubbish Bin won’t keep track if things are deleted from such places by trash.




~/bin is the old-school location from before .local became a thing, and some of us have stuck to that ancient habit.