Trash folders are hidden. If you use the "ls" command in the Terminal, you need to include the "-a" switch
In the Nautilus and other file managers, press Ctrl+H to view hidden files.
There are two folders within the Trash bin: "info" and "files".
- The "info" folder contains information regarding the files contained in the "files" folder. Each deleted file has an entry containing the deletion date and path.
- The "files" folder contains the actual deleted files.
Where Trash files reside:
- User's Trash: ~/.local/share/Trash
- System Trash: /root/.local/share/Trash
If you type "
trash:/" in the location of Nautilus or any other file manager, it will take you to the user's trash folder.
The following command finds all folders on your system that contain either "trash" or "Trash". You need to have root privileges to run it.
Code:
sudo find / -type d -name *Trash*
Note: The search can take several minutes.
Note: The search finds any folders named Trash, so it can find non-system trash folders as well (such as an Evolution trash folder).
If your user Trash icon is not displayed on the Desktop, run:
Code:
gconftool-2 --type bool --set /apps/nautilus/desktop/trash_icon_visible "true"
To hide the Trash from your Desktop, run:
Code:
gconftool-2 --type bool --set /apps/nautilus/desktop/trash_icon_visible "false"