9

On most applications (whether Windows, Mac, Linux), it seems there is usually a {Ctrl,Cmd,Super}+q command that will quit the current application.

On Linux and Mac, you can type this keyboard shortcut and it will quit Firefox (after asking "are you sure", depending on your settings).

Is there an equivalent keyboard shortcut on Windows? Ctrl+q doesn't work (Firefox 34.0 on Windows 8.1).

Alt+F4 isn't sufficient, because that merely closes the current window. If I have multiple windows open, Firefox doesn't quit. And on top of that, when I do quit, Firefox will only reload the last window open instead of all the previously open windows.

I know you can type (Alt+f, x), but that is a two-step process, requiring the keys to be lifted between the first and second combination (and I like to be lazy). Plus, this is only guaranteed to work in English (not currently an issue for me, but possibly for others).

Is there a setting in about:config that will let me set or enable a keyboard shortcut to quit the entire application? Or any other way to set a quit keyboard shortcut?

1
  • “On most applications (whether Windows, Mac, Linux), it seems there is usually a {Ctrl,Cmd,Super}+q command that will quit the current application.” IMHO not true for most applications. It is originally a Mac shortcut. Multi-platform applications might support it on other platforms but it is not a standard on Windows – Microsoft apps like Word or Visual Studio do not support it.
    – Melebius
    Mar 15, 2018 at 10:19

4 Answers 4

8

Firefox support says (for Windows):

Exit: Ctrl + Shift + Q

(from Keyboard shortcuts - Perform common Firefox tasks quickly)

(retrieved with Firefox 58, Windows 10)

2
5
  • Create a file named 'ffquit.bat' and add the line 'taskkill /im firefox.exe' Save.
  • Create shortcut to this file and right click the shortcut and select properties.
  • On the Shortcut tab, assign a shortcut key (CTRL+SHIFT+F for example)
  • Under the Run menu, select minimized.
  • Under Advanced, select 'Run as Administrator'. Click OK to save and close the Properties window.

Now every time you press CTRL+SHIFT+F Firefox will quit.

2
  • This is an interesting technique. What are the consequences, if any, of having the OS forcekill the Firefox process instead of terminating Firefox via its own standard user interface? Oct 26, 2014 at 19:16
  • 2
    I'm assuming that as I am not invoking the /F(force) command that the process ends cleanly. I may be mistaken, although whenever firefox closes incorrectly it informs you and tries to recover tabs. I don't get that message when using TASKKILL Oct 26, 2014 at 19:49
0

Good question. But unfortunately there is no standard shortcut for this, nor is there an about:config preference to create one. You may wish to write a feature request and submit it on bugzilla so that the developers will consider to add it as a feature.

0

The usual straightforward way is to run Task Manager with Ctrl+Shift+Esc, then choose the Firefox process in the Applications tab and pressing Del to kill it (or clicking the "End task" button).

(This is Windows 7; it looks somewhat different in different versions.)

2
  • 1
    I would use ctrl-shift-esc instead of ctrl-alt-del to open the Task Manager
    – nixda
    Oct 26, 2014 at 13:51
  • 2
    That seems like even more work than Alt + f, x. But I suppose it would work. Oct 26, 2014 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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