How to empty root trash

Sponsored Link
You need to run the following command

gksudo nautilus ‘/root/.Trash/'

you might not see anything, or, if you're like me, you'll see about 2 000 files. you'll probably want to delete them or simply "empty" the trash.

This tip is from here

Related posts

8 thoughts on “How to empty root trash

  1. Ubuntu Hardy Heron 8.04.1:

    The correct location for the root trash is:


  2. Just run “gksudo dbus-launch nautilus”. Then you can get into the root trash properly, and only get rid of what you need to.

    I’m not exactly sure why it works, but I’m guessing because it launches nautilus in a separate bus, and, thus, the user trash and root trash don’t compete.

    Ideally, root trash would just appear in trash:/// but be locked.

  3. Thanks TRLKLY.

    The following works on Ubuntu Hardy Heron 8.04
    1. open terminal
    2. type gksudo dbus-launch nautilus
    3. hit enter
    4. navigate to /home/USERNAME/.local/share/Trash/files
    5. Delete whatever you want

  4. I’m using Ubuntu Netbook Remix 10.04

    Two ways to empty trash
    1. Complete it manually in Terminal
    sudo rm -rf /home//.local/share/Trash/files/*

    2. In “Files & folders”, click any folder icon to open File browser. Click “Go” in the toolbar, then select Trash. Simply click the “Empty Trash”, your Trash folder will be empty.

Leave a comment

Your email address will not be published. Required fields are marked *