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

You may also like...

8 Responses

  1. jakeline says:

    PO CARALHO!!!!!!!!!!!!!!!!!!!!!!!1

  2. Anil Kumar says:

    This doesn’t seem to work on Hardy!

  3. Simon Philipp says:

    Ubuntu Hardy Heron 8.04.1:

    The correct location for the root trash is:

    /root/.local/share/Trash/files

  4. trlkly says:

    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.

  5. Shai says:

    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

  6. Vinnie says:

    trlkly:

    Thanks a lot!!!

  7. Leeky says:

    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.

  8. Daniel says:

    Thanks, This worked for me on hardy.

Leave a Reply

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