LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > arniekat
User Name
Password

Notices


Rate this Entry

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
Posted in Uncategorized
Views 2106 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    ... 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 lumak is offline
 

  



All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration