Community-driven coverage of elementary OS — news, guides & forums
Dark abstract low-poly geometric landscape with layered triangular facets in deep navy, charcoal, and muted teal, illuminated by a soft electric-blue glow near the horizon

News roundups, tutorials, application guides, and forums — built by users, for users of the elegant Linux distribution.

elementary weekly
#20
Latest roundup · 18 Apr 2015
Freya Release
Final
Covered in weekly #19 & #20
Forum Topics
Active
Installation, customization & more

A Guide to elementary OS's Trash and Wastebasket: Managing Deleted Files

Deleting a document in elementary OS usually sends it to Trash rather than immediately removing it from storage. That distinction gives you time to change your mind if a file was moved by accident or is no longer needed. In Australia, the desktop equivalent is often called the bin or rubbish bin, although elementary OS uses the name Trash. Knowing where that folder sits and how it behaves makes it easier to separate a harmless deletion from an irreversible one.

The important difference is that Trash is a temporary safety net, not a second storage system. Files remain there until you empty it, and they continue to occupy disk space while waiting. Cloud copies, external drives and backup software may keep their own versions. A clear understanding of those separate systems helps you recover a document when needed and avoid accidentally destroying important work.

How elementary OS Handles Deleted Items

Most deletions made through the Files application are moved to Trash. You can usually do this with the Move to Trash command, the Delete key or a command in a file’s context menu. The item disappears from its folder but remains recoverable through the Trash area of Files. This is different from formatting a drive, uninstalling an application or using a command-line removal tool that bypasses the desktop trash.

For files in your home directory, Trash is normally stored under ~/.local/share/Trash. The files area contains the deleted items themselves, while an accompanying info area records details such as the original path and deletion time. This metadata is what allows Files to put a restored item back where it came from. Because the location begins with a dot, it is hidden in ordinary folder views.

Files on another mounted volume may use a separate, volume-specific Trash folder. This matters when you connect a USB drive, portable SSD or network share: an item deleted from that volume may not appear in the Trash shown for your home directory. If removable storage does not support a suitable trash folder, Files may ask whether to delete the item permanently instead. Always read that prompt before confirming.

Finding the Trash in Files

Open Files from the applications menu and look for Trash in the sidebar. If you use a desktop or dock arrangement that keeps the sidebar narrow, the entry may sit near the bottom beneath Home, Desktop and removable volumes. Clicking Trash displays everything currently held there. Items from external storage might be grouped separately from files deleted from your home directory.

Select an item and open its Properties to inspect available details. Depending on the version, you may see its type, size, original location and deletion date. Sorting the list by size can reveal a large video or archive that is responsible for a sudden loss of free space. Sorting by name or date is more useful when you remember what you deleted or need to check whether an older project file is still present.

When Files spans an external monitor, arranging the sidebar, file list and preview can make a crowded Trash easier to inspect; the site’s guide to external monitor layouts explains practical window arrangements for elementary OS. The wider workspace is particularly handy when comparing several documents before deciding which ones to keep.

Restoring Files to Their Original Location

Choose a file in Trash and use Restore or Restore from Trash, depending on the version of Files. The application uses the stored path information to return the item to its former folder. You can also select several compatible items and restore them together. This is often the safest way to recover a project after cleaning up an overly broad folder selection.

If a file with the same name already exists at the destination, Files may warn you about the conflict and offer a replacement or alternative name. Do not approve a replacement automatically. Two documents can look identical while containing different revisions, comments or metadata. Renaming the restored copy or comparing it with the current version prevents one important file from overwriting another.

A missing destination is another common complication. If the original folder has been renamed, moved or deleted, check nearby paths before restoring. An external drive may also need to be reconnected before its files can be restored to the correct volume. Once the item is back, open it and confirm that it opens correctly and contains the expected content. A successful restoration is not always proof that the underlying file is complete.

Emptying the Trash and Permanent Deletion

Emptying the Trash removes its contents rather than returning them to their folders. This action is normally irreversible from within the desktop, so inspect the list first and use Properties to identify anything uncertain. Some elementary OS versions also provide an automatic-empty preference in Settings or Files preferences. If that option is enabled, review its timing so a file is not discarded before you have had a chance to notice its removal.

Holding Shift while invoking Delete may bypass Trash where that shortcut is enabled. Files can also be deleted permanently through a context-menu command. These options are useful for immediately removing sensitive material, but they eliminate the safety net. A command that removes a file without entering Trash should never be used until you are certain another copy exists.

Permanent deletion also does not guarantee that every trace has been erased from modern storage. Wear levelling in SSDs, filesystem snapshots and drive-level caching can leave old data accessible to specialised tools. Utilities that overwrite individual files are therefore less reliable on SSDs than on older magnetic drives. Full-disk encryption, sensible account security and trustworthy backups provide a stronger privacy model than repeatedly overwriting the same file.

When Deleted Files Need Deeper Recovery

If a file is missing from Trash, stop writing new data to the affected drive. Continued use can overwrite recoverable sectors, especially on SSDs with TRIM enabled. Copying more files to the same disk may therefore make recovery less likely. If the data is important, disconnect the drive and seek qualified assistance rather than experimenting with cleanup tools.

Recovery utilities such as TestDisk and PhotoRec can sometimes reconstruct files from damaged partitions or unallocated space, but success is not guaranteed. They may also recover fragments rather than an original document with its folder structure and metadata. A bootable recovery environment can reduce the risk of modifying the affected disk. Professional recovery is more appropriate when the missing material includes business records, family photographs or a large encrypted archive.

Cloud storage requires a separate check. Removing a file from elementary OS does not necessarily remove it from a synchronised Google Drive, Microsoft OneDrive or Dropbox account. The desktop app may propagate the deletion, while the cloud provider may retain a version in its own recovery area. For Australian organisations, account policies and contractual retention rules can determine who can recover that copy and for how long.

Storage, Privacy and Australian Data Habits

Trash can consume considerable space because moving a file there does not free its disk allocation. The du -sh ~/.local/share/Trash command gives a read-only estimate of the space used by your home Trash. It will not include volume-specific Trash folders, so removable drives and shared storage may require separate checks. Emptying unwanted items is normally preferable to running a cleaner that removes unfamiliar files without explanation.

Manual deletion inside the hidden Trash structure is best avoided. Removing a file while leaving its metadata behind can confuse Files, and deleting the metadata without the associated file can prevent a clean restore. Let the application manage those records. If another user account needs access to the same removable volume, the operating system’s user and permission rules continue to apply even when a volume-specific trash folder is available.

For many households in Sydney, Melbourne, Brisbane and regional areas, NBN connections and widely used cloud services have made synchronisation a routine part of file handling. Australian market plans from Microsoft 365, Google Workspace and Dropbox may store data in Australian or overseas regions. Residency can affect latency and governance, but it does not replace correct sharing permissions, MFA and an understanding of each provider’s deletion policy.

Australian businesses also operate under the Australian Privacy Principles, while eligible data breaches may trigger the Notifiable Data Breaches scheme. That makes local deletion practices more than a convenience for organisations handling client records. Small firms using software such as Xero or MYOB may keep exports, receipts and working files outside those systems. Teams should know which copies are synchronised, which are backed up and which must be retained under their own policies or professional obligations.

A Reliable Routine for Deleted Files

Think of Trash as the desktop equivalent of placing something beside the household bin: it is convenient, but it is not a permanent home. Check the deletion date before clearing it, and restore anything that was removed in error. For sensitive material, remove it permanently and confirm that cloud, backup and shared-drive copies follow the intended retention policy.

Keep a tested backup for anything that cannot be replaced. elementary OS includes backup functionality based on Déjà Dup, which can protect home-directory data on an external drive or another configured location. A backup created before deletion may still provide a usable copy after Trash has been emptied. Test the destination periodically because a backup application is only reassuring when its files have actually been written and can be restored.

Australia’s household recycling schemes and approved e-waste programmes handle physical storage responsibly, but no kerbside collection removes digital data. Old drives, phones and memory cards should go through an appropriate electronic-waste service rather than ordinary rubbish. The practical takeaway is simple: treat Trash as a short-term safety net, empty it after checking, and rely on a verified backup—not the wastebasket—for irreplaceable files.

Browse the News Archive
Latest Updates

From the elementary weekly series

Low-poly faceted abstract render in dark charcoal and electric blue tones, suggesting a news bulletin or announcement
elementary news

elementary weekly #20

The first week with the final Freya release — community reactions, tips, and early impressions gathered in one roundup.

Abstract low-poly geometric scene in midnight blue and soft cyan, conveying a live broadcast or event atmosphere
elementary news

elementary SPECIAL

A live Hangouts event with the elementary OS founders, held on 11 April 2015, discussing the Freya final release.

Low-poly faceted render in deep navy and muted teal with subtle amber highlights, suggesting a tutorial or guide
Tips and Tricks

Timeshift Guide

How to use Timeshift — the intuitive system restore utility for elementary OS — to recover from configuration mishaps.

Explore

Topics & Resources

Dive into guides, application recommendations, and community discussions covering every aspect of elementary OS.