Download the source and change the following items in libtrash.conf:
IGNORE_HIDDEN = NO
IGNORE_EDITOR_BACKUP = NO
add to /etc/profile, /etc/bash.bashrc and $HOME/profile, $HOME/bash.rc the following lines:
# LIBTRASH requires the following four lines
alias su="su -l"
alias trash_on="export TRASH_OFF=NO"
alias trash_off="export TRASH_OFF=YES"
If you want to change something in the configuration, make it in the file ".libtrash", using as an example /etc/libtrash.conf
Remember that has to create the trash subdirectory that is for example $HOME/Trash
Finally to check that all is working
$ su -c "set|grep LD_PRELOAD"
Should output something like: