What Control+Shift+Q does and why you might want to disable it
Control+Shift+Q is a keyboard shortcut that closes your entire browser window without warning on most Linux systems and some versions of Chrome OS. On Windows and Mac, this combination usually does nothing by default, but on Linux desktops like GNOME or KDE, it's a built-in system command. If you've hit it by accident and lost all your open tabs, or if you're worried about accidentally triggering it, you can disable it.
The risk is real: you press it once by mistake while reaching for another key, and every tab you had open vanishes instantly. There's no confirmation dialog, no "are you sure" prompt. If you had unsaved work in a web form or were reading something you didn't bookmark, it's gone. Some people disable it because they have muscle memory from other keyboard shortcuts and keep hitting it unintentionally.
How you disable it depends on what operating system you're using and what desktop environment runs on top of it. The steps are different for Linux, Chrome OS, and Windows or Mac (where you may need to disable it in your browser instead).
Key Takeaways
- Control+Shift+Q closes your entire browser window instantly on Linux and Chrome OS, with no confirmation.
- On Linux with GNOME, you can disable it through Settings > Keyboard > Keyboard Shortcuts, or by editing your keyboard configuration file directly.
- On KDE Plasma, the shortcut lives in System Settings > Shortcuts > Global Shortcuts, under the Kwin window manager.
- On Chrome OS, you can remap or disable it through the Chromebook settings, though the exact location varies by Chromebook model.
- On Windows and Mac, Control+Shift+Q usually has no default function, but you can disable it in individual browsers if an extension or setting has assigned it a command.
Disabling Control+Shift+Q on Linux with GNOME
If you're running GNOME (the default desktop on Ubuntu and many other Linux distributions), the shortcut is listed in your keyboard settings. Open Settings, then go to Keyboard in the left sidebar. Scroll down to Keyboard Shortcuts and click it.
Search for "quit" or scroll through the list until you find Close Window or Quit Application. The exact name varies slightly by GNOME version. Click on the row, and you'll see the current shortcut displayed. Press the Backspace key to clear it, and the shortcut will be removed. If you want to assign a different shortcut instead, just press the keys you'd prefer — but leave it blank if you want to disable it entirely.
If the Settings app doesn't show the option, or if you prefer to edit the configuration directly, you can open a terminal and edit the keyboard layout file. Open a text editor and navigate to ~/.config/dconf/user (this is a hidden file, so you may need to show hidden files in your file manager first). Search for the line containing the quit shortcut and change its value to an empty string or a key combination you'll never use by accident.
Disabling Control+Shift+Q on KDE Plasma
KDE Plasma stores keyboard shortcuts in a different place. Open System Settings and navigate to Shortcuts in the left sidebar. You may see a section called Global Shortcuts or Custom Shortcuts. Look for an entry related to the window manager (usually called Kwin) or search for "quit" or "close".
When you find the Control+Shift+Q shortcut, click on it and you'll see a button or field showing the current key combination. Click that button and press Backspace to clear it. Some versions of KDE let you click a small X icon next to the shortcut instead. Save your changes and close the settings window. The shortcut should be disabled immediately.
Disabling Control+Shift+Q on Chrome OS
Chromebooks handle this shortcut at the system level, not the browser level. Open Settings on your Chromebook and go to Device in the left sidebar, then click Keyboard. You should see a list of keyboard shortcuts. Search for "quit" or scroll to find the Control+Shift+Q entry.
Click on it and you'll be given the option to change or disable it. Select Disable or assign it to a different key combination. The change takes effect immediately, though you may need to restart your browser for it to apply fully. If you don't see the option in Settings, check your Chromebook's support page, as some models have slightly different keyboard settings layouts.
Disabling Control+Shift+Q in your browser on Windows or Mac
Windows and Mac don't have Control+Shift+Q as a system-level shortcut by default, but if you've installed a browser extension or changed your browser settings, it might be assigned to a command. Open your browser's settings and look for a Keyboard Shortcuts or Extensions section.
In Google Chrome or Chromium-based browsers, go to Settings > Extensions, then scroll down and click Keyboard Shortcuts. Search through the list for any extension that has Control+Shift+Q assigned to it. Click the shortcut field and press Backspace to clear it. In Firefox, go to about:addons in the address bar, find the extension that uses the shortcut, and disable or reconfigure it from there.
What to do if you accidentally hit Control+Shift+Q
If you close your browser window by accident, the good news is that most modern browsers can recover your tabs. When you reopen the browser, look for a notification or button that says Restore or Restore Session. In Chrome, you can also press Control+Shift+T to reopen the last closed tab, and pressing it multiple times will reopen earlier tabs in reverse order.
In Firefox, go to History > Restore Previous Session from the menu bar. If you had unsaved form data, some browsers keep that in a cache, but it's not may provide. The best protection is to disable the shortcut before an accident happens, or to use a browser extension that warns you before closing multiple tabs at once.
Frequently Asked Questions
Will disabling Control+Shift+Q affect other keyboard shortcuts?
No. Disabling one shortcut doesn't change any others. Your other keyboard shortcuts will work exactly as they did before. You're only removing the function assigned to that specific key combination.
Can I remap Control+Shift+Q to do something else instead of closing the window?
Yes, on Linux and Chrome OS you can assign it to a different function through the same settings where you'd disable it. On Windows and Mac, you can remap it in your browser settings or through a third-party keyboard remapping tool, though most people find it easier to just disable it entirely.
Why does Control+Shift+Q close the window on Linux but not on Windows?
Different operating systems have different default keyboard shortcuts. Linux desktop environments like GNOME and KDE built Control+Shift+Q into their window managers as a standard quit command. Windows and Mac don't have this as a system default, so the shortcut does nothing unless a specific application or extension assigns it a function.
If I disable it, can I re-enable it later?
Yes. Go back to the same settings menu where you disabled it, and either clear the field to restore the default, or assign Control+Shift+Q to the close function again. The steps are the same as disabling it.
Does this shortcut work the same way in all browsers?
On Linux and Chrome OS, Control+Shift+Q is a system-level command, so it closes the browser window regardless of which browser you're using. On Windows and Mac, it only works if your specific browser or an extension has assigned it a function, so it may behave differently in Chrome versus Firefox versus Safari.