Re: Libtrash: Have any of you successfully activated it?
On 04/24/2011 03:45 PM, Jason Hsu wrote:
Installing Libtrash from Synaptic is easy enough. However, I can't for the life of me figure out how to activate it.
From http://www.techrepublic.com/article/safely-delete-linux-files-with-libtrash/5034918 , I'm supposed to add the following code (had to use a different file for the LD_PRELOAD command) to /etc/profile:
export LD_PRELOAD=/usr/lib/libtrash/libtrash.so.2.4
alias trashon=”export TRASH_OFF=NO”
alias trashoff=”export TRASH_OFF=YES”
But entering "trashon" in the command line didn't work.
Define "didn't work". Returned an error message?
Adding that code to /home/(username)/.bashrc didn't work either.
Has ANYONE successfully implemented libtrash?
Did you configure it properly?
If libtrash is inherently ineffective, what are some lightweight alternatives I should use?
--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749
Reply to: