Maybe this question should go on the XFCE forum, but let’s give it a try.
I installed a beautify bash script that made an alias for the cmd
rm that uses the “trash” command, which I think belongs to the Nautilus file manager.
trash-put trash files and directories.
trash-empty empty the trashcan(s).
trash-list list trashed files.
trash-restore restore a trashed file.
trash-rm remove individual files from the trashcan.
I’m saying:
I got a script based on Gnome-Dolphin that use an alias for bash that when I use “rm” it uses “trash”.
Does exist something similia on Thunar
wast basket (what most users call trash), appears with right-clicking
permanent deletion, which can be set via “thunar - edit - settings - behavior - contextmenu”, then also appears with right-clicking as “delete”.
It’s all there, nothing extra needed.
Aliases are independent from the desktop environment. There might be difference what Terminal or shell is used and where the aliases are stored, but in 90% of the cases it is the same.
So yes, post the script, because i have the feeling you as a beginner user are not using all the terms correctly, which may lead to misunderstanding (there is for example no such thing as Gnome-Dolphin)