Score:1

Get Firefox to ignore shortcut Ctrl+W for "close window", and use it for "close tab"

cn flag

I currently use ctrl+w for closing application windows. ctrl+w is also Firefox's shortcut for closing a tab.

Is it possible to keep both, so therefore ignoring the global shortcut for ctrl+w when Firefox is focused?

I regularly have this sort of problem with keyboard shortcut clashes with at least one program, so any solution to get an application to ignore a shortcut is highly valuable.

vanadium avatar
cn flag
Interesting question, but this is not possible a.f.a.i.k. Global shortcuts take precedence over these defined at the level of the application, and there is no way I know to change that,
apkg avatar
cn flag
I am using ctrl+q for close window now. Some applications natively recognize ctrl+w for close window, rather than application. Try it on document preview. Not sure it is recognized in all apps though.
vanadium avatar
cn flag
Many applications including firefox use Ctrl+q to quit the application. You indeed can override that with a systemwide shortcut that closes the current window. I disable the Ctrl+q shortcut altogether because it is in my opinion too easily triggered. It is the classical Alt+F4 for me.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.