Skip to content

Option to automatically close the Trash window after emptying the trash #3897

Done

Description

@matznews-eng

Is your feature request related to a problem?
When I open the Trash in Nemo and click "Empty Trash", the trash is emptied, but the (now empty) Trash window stays open and has to be closed manually.

Expected behavior
macOS Finder closes the Trash window after emptying it. This is a small convenience, but it saves a step every time.

Proposed solution
Add an option (e.g. in Preferences) to automatically close the Trash window after "Empty Trash" has completed. Defaulting to off would keep the current behavior for everyone who prefers it.

Workaround
Currently only possible with a custom Nemo action that runs gio trash --empty followed by wmctrl -c Trash, which does not replace the built-in button.

Environment
Linux Mint 22.3 Cinnamon, Nemo (version: nemo 6.6.3)

Activity

  1. Jeremy7701 commented on Nov 18, 2026

    @Jeremy7701
    Contributor

    Showing an empty Trash provides visual user feedback.
    The files which have been trashed are no longer accessible.

    Note:- Mint doesn't use macOS "finder".

  2. CompulsiveRacoon commented on Nov 24, 2026

    @CompulsiveRacoon

    Nice idea.

    There's already an option to close a window for a device that's being unmounted/ejected and this would bring the same feature to emptying the trash. I agree the default should stay, ie still showing the trash window once emptied.

  3. mtwebster commented on Nov 24, 2026

    @mtwebster
    Member

    This is not a bug. Use Discussions for feature requests as you were instructed to when you opened this.

  4. CompulsiveRacoon commented on Nov 24, 2026

    @CompulsiveRacoon

    This is not a bug. Use Discussions for feature requests as you were instructed to when you opened this.

    Not the poster, but where would that be? I don't see the discussions next to issues and pull request at the top of the page.

  5. mtwebster commented on Nov 24, 2026

    @mtwebster
    Member
  6. CompulsiveRacoon commented on Nov 26, 2026

    @CompulsiveRacoon

    OK I see! Shouldn't there still be a discussion page open for Nemo which can then have a pinned post redirecting the user the Linux Mint discussion page? I wouldn't have found it looking here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions