The Linux keyboard shortcut Ctrl Q (PC) or command Q (Mac) will perform the Quit action. Also checkout the Keyboard Shortcut for Close which is similar to the Quit option. Quit is a global Linux keyboard shortcut that is usually located in the File menu. This keyboard shortcut for Quit is available in the Cinnamon, Gnome, KDE, LXDE, MATE, Unity (Ubuntu) and Xfce desktop environments. The same keyboard shortcut may also be available with other desktop environments that can be run on Linux.