When you delete a file under Nautilus (the file browser of Ubuntu), it is moved to the Trash.
This is not always desirable, especially for large files.
Here's how to really delete the files:
- Press the Shift key and select your file
- While holding the Shift key, press the Delete key.
Nautilus context menu
- Type in a terminal: gconftool-2 --type bool --set/apps/nautilus/preferences/enable_delete "1"
(You can also make this modification using the program gconf-edito
- You can now delete files directly (right click on the object and press Delete)
- It is quite possible to use both methods.
- You can delete a file directly from the command line by typing rm filename in a terminal.
This document, titled « Ubuntu - Delete a file without going through the Trash bin », is available under the Creative Commons
license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM