Option to automatically close the Trash window after emptying the trash

Đang mở
#3,897 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
desktop

Hướng nghiên cứu

Start by locating Nemo’s built-in “Empty Trash” action and how its Preferences are defined; the issue does not name files or tests. Trace what happens when emptying completes and how the Trash window is identified, then check whether the preference can be saved and applied consistently. Done means an off-by-default option closes the Trash window after emptying when enabled.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
C
Star
1.6k
Fork
387
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/nemo

Tất cả issue của linuxmint/nemo

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.