I rarely use Trash.(I use Shift+Delete) But recently, I found I often remove some important files by mistake. So I want to use Trash now.
But as we all know, my limited disk space will be filled with files in Trash if I don't clear the Trash by myself.
So I have an idea. I want to move my Trash into /tmp , so that I won't have to clear it by myself.
I wrote some code into ~/.bash_profile like this:
mkdir /tmp/my-trash
I made a symbol link pointing to /tmp/my-trash. I removed the directory ~/.local/share/Trash/files, and moved my symbol link into ~/.local/share/Trash, and renamed it into files.
But it doesn't work! I put some files into /tmp/my-trash ,clicked the Trash icon in the lower right corner. But there is nothing. I chose a file and pressed Delete , but it said that it cannot move the file into Trash and asked me to permanent remove the file.
Why?
