June 11, 2007 · General · Email This Post

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

Incoming search terms:

Related posts

8 Comments to “How to empty root trash”

  1. jakeline says:

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

    [Reply]

  2. Anil Kumar says:

    This doesn’t seem to work on Hardy!

    [Reply]

  3. Simon Philipp says:

    Ubuntu Hardy Heron 8.04.1:

    The correct location for the root trash is:

    /root/.local/share/Trash/files

    [Reply]

  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.

    [Reply]

  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

    [Reply]

    Daniel Reply:

    Thanks, This worked for me on hardy.

    [Reply]

  6. Vinnie says:

    trlkly:

    Thanks a lot!!!

    [Reply]

  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.

    [Reply]

Leave a Reply