Option to automatically close the Trash window after emptying the trash

Aperta
#3,897 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
C
Stelle
1.6k
Fork
387
Merge medio
2g 19h
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/nemo

Tutte le issue di linuxmint/nemo

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.