GNOME Bugzilla – Bug 142632
Add shortcut to close all open Nautilus windows at once
Last modified: 2004-12-22 21:47:04 UTC
With the spatial nautilus new users will be constantly ending up having a lot of windows open and then they will be trying to close them manually one by one (until they learn how to properly use it). It seems that a lot of them actually have this problem already. A shortcut to close all open nautilus windows is now needed more than ever. I would suggest ALT+Q or CNTRL+Q (in addition to ALT+F4 and CNTRL+W that only close one window at the time), just to be in sync with OSX.
Thanks for the report. This is not a bug. A bug is when a piece of software does something that it is not supposed to do. Confirming and setting Severity -> Enhancement.
I was going to suggest to use the Show Desktop button, and then close all windows at once from the grouped tasklist entry. But then I discovered a grouping on the tasklist doesn't offer the option to 'Close all'. The closest thing to 'close all windows' in nautilus-spatial is Shift+Ctrl+W ; close all parent folders. But I'll admit this is not the same thing. Alt+Q is not a good idea, Alt+letter accelerators should be reserved for activating menus/menu items. Q might very well be used in some language or another.
Would it be useful to also have an option to close all "child directories?" from a parent window? Sometimes I would open directory FOO, run down a deep chain of its subdirectories and then, not finding what I wanted, went back to the FOO window and decide to start over. A "close all child directories" menu item would be very handy in such case. It also looks symmetric with the "close all parent directories" option.
Created attachment 28053 [details] [review] Allows closing all spatial windows at once via menu or shortcut
Created attachment 28059 [details] [review] improved patch updated my previous patch. Please use this one instead of previous one. - renamed function "nautilus_application_close_all_windows" to "nautilus_application_close_all_spatial_windows" (this should make it more readable as it only applies to spatial windows) - Used safer method for closing spatial windows
Commited, except the keyboard shortcut. We need to figure out which one to use (that doesn't conflict with standard shortcuts).
So, Ctrl+Q was chosen as shortcut & it's in cvs -> Marking FIXED. Thanks Jamie - very handy.