Slackware-13.1-Hacks-Emptying trash files
Posted 01-01-2011 at 11:10 PM by arniekat
These instructions are for deleting files that will not go away when you empty the trash using the icon on your desktop.
The trash files are kept in /home/<user_name>/.local/share/Trash/files
$ su
$ <Root_Password>
# cd /home/<user_name>/.local/share/Trash/files
# rm -rf /home/<user_name>/.local/share/Trash/files/files_that_wont_go_away
The trash files are kept in /home/<user_name>/.local/share/Trash/files
$ su
$ <Root_Password>
# cd /home/<user_name>/.local/share/Trash/files
# rm -rf /home/<user_name>/.local/share/Trash/files/files_that_wont_go_away
Total Comments 1
Comments
-
... it's your home directory. You should never have anything owned by root in your own personal home unless you did something wrong.
Either way, prevent files from ever going to trash!
chmod 000 $HOME/.local/share/Trash
This works equally as well for Flash Cookies. Only I allow it read and execute permissions, 550, so that it can still get to the directory if it absolutely needs too.
Coincidentally, if you have your flash settings to allow third party content and downloads, then you do this, you will sometimes stop commercials on certain flash videos.Posted 01-02-2011 at 11:21 AM by lumak