Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Using Ubuntu 11.10, I accidentally deleted a file that was approximately 700 MB. I tried to find it in the in following locations, but couldn't:

/home/user/.local/share
/home/user/ <-- there was no folder .Trash
/home/user/Desktop/ <-- there was no folder .Trash

So where did .Trash go in Ubuntu 11.10 onward? I use the Gnome environment.

share|improve this question

3 Answers 3

up vote 59 down vote accepted

The trash folder is found at: /home/username/.local/share/Trash

To see .local in your home folder using the file manager, go to View -> Show Hidden Files (in 13.04 and 13.10: Files -> Preferences -> View tab -> Show Hidden and backup files) or just type: Ctrl+H.

If you deleted something as root (e.g. deleted a file using Nautilus invoked via gksu), it is at: /root/.local/share/Trash

A Trash folder is first created when a user deletes a file. Within that folder are three directories: files, where the deleted files are stored until the trash is emptied; info, which stores information on where the files once were and when they were deleted; and expunged, to which files are briefly moved when the trash is emptied (but may contain some owned by other users from directories you deleted).

Note that using the rm command or hitting Shift+Delete will permanently delete your file and not send it to a trash folder.

share|improve this answer
1  
If using command line to mv something to the Trash, you may need to put it in Trash/files/ rather than just Trash/. The files did not appear in the Trash GUI until I did that. –  AlexMA Jun 6 at 16:50
    
Yes; I added some info to address this. –  Aibara Iduas Jun 9 at 23:29

The trash folder is located at .local/share/Trash in your home directory.

Additionally, on other disk partitions or on removable media it will be a directory .Trash-uid where uid is the uid of the user who moved the item to the trash.

share|improve this answer

Ubuntu 10.10 (oneiric)

Gnome 3.2.1 Classic

Home Folder > Go > Rubbish Bin

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.