Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

The shortcut to close individual applications completely depends on the application developer. Some examples:

  • Ctrl-q for Firefox
  • Meta-F4 for Chromium
  • Ctrl-Shift-q for GNOME Shell

To close individual windows or sub-windows (tabs, dialog boxes) in applications all bets are off (Esc, Meta-q, Ctrl-w, mouse only).

However, window managers can include global shortcuts which will generally do what is expected. What are the global shortcuts to close any window and/or application in Awesome WM?

share|improve this question
What's wrong with the little X on the title bar? That should be SIGTERM, meaning it will be no worse than any other external method; applications should catch this and shutdown just as they would via "quit" or whatever. In short: just close the main window and that should close the application. –  goldilocks Feb 11 '13 at 10:44
@goldilocks That doesn't work in many WMs (like Awesome), and it's less efficient for someone used to keyboard navigation. –  l0b0 Feb 11 '13 at 11:51
Doesn't sound very "awesome" to me, lol. I would strongly refute the assertion that "it doesn't work in many WMs" -- it certainly does work in virtually all of them, or they are plain and simple not serving their intended purpose. The most basic and fundamental thing: you provide a window with a titlebar and a close button. I agree point and click is less efficient than the keyboard, but que sera -- you are using a GUI -- and any decent WM will provide you with keybinding options to do stuff like this. Ie, you need to figure out how to create your own shortcuts. –  goldilocks Feb 11 '13 at 12:09
Stack Exchange doesn't generally allow list questions, they're not a good fit for the way the site works (it's expected that you have a particular problem, somebody posts a solution and you accept it). If you find yourself saying "One ______ per answer", that's usually a bad sign –  Michael Mrozek Feb 11 '13 at 15:16
@goldilocks: I think you misunderstand the purpose of awesome and tilling window managers in general. You should use them without touching the mouse at all. Most of them will not decorate windows at all which is a good thing(TM). –  Sardathrion Apr 16 '13 at 13:43

1 Answer 1

up vote 7 down vote accepted

From man awesome there doesn't seem to be a default key binding to close all windows of an application. It might be possible to manually add such a binding.

There is, however, a default key binding to close the one focused window: Mod4-Shift-c. This will leave other windows (if any) of the application intact.

share|improve this answer
Are you sure you don't have it backwards? Mod4-Shift-c should kill the current client. Closing a sub-window is application-dependent, the WM doesn't have anything to do with that –  Michael Mrozek Feb 11 '13 at 17:51
Well, it works. For example, if you go into the Firefox preferences window and press it, it closes the preferences and not the application. Same with the search box in jEdit. So I think "Kill focused client" as it says in man awesome is misleading. –  l0b0 Feb 12 '13 at 6:45
Mod4-Shift-c will close the currently focused window. If that is the last window of the application, it will close the application. The man page is correct. –  Sardathrion Apr 16 '13 at 13:39
@Sardathrion If you equate "client" with "window", yes. I guess that's WM developer parlance. –  l0b0 Apr 16 '13 at 18:17
I took the liberty to edit the answer to clarify the concepts. –  phunehehe May 28 '13 at 15:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.