Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Make Ctrl-Q disableable #2797

Open
lhmouse opened this issue Aug 7, 2023 · 2 comments
Open

Make Ctrl-Q disableable #2797

lhmouse opened this issue Aug 7, 2023 · 2 comments

Comments

@lhmouse
Copy link

lhmouse commented Aug 7, 2023

The standard shortcut to close a window, on GNOME, MATE, and Windows, is Alt-F4.

The hard-coded Ctrl-Q combination key is not only unnecessary, but can be easily mishandled, and it quits without confirmation! Embarrassing; have triggered it many many times.

At least this deserves a confirmation, or a switch to have it disabled.

{N_("_Quit"), menu_quit, GTK_STOCK_QUIT, M_MENUSTOCK, 0, 0, 1, GDK_KEY_q}, /* 15 */

@jbigler
Copy link

jbigler commented Dec 10, 2023

As far as I am aware, Ctrl-Q has always been the standard way of closing an application in Linux. I've been using Linux for decades and the applications that I find frustrating and annoying are the ones that do not implement Ctrl-Q.

According to the Gnome Human Interface Guidelines Ctrl-Q is the standard there too.

@lhmouse
Copy link
Author

lhmouse commented Dec 10, 2023

As far as I am aware, Ctrl-Q has always been the standard way of closing an application in Linux. I've been using Linux for decades and the applications that I find frustrating and annoying are the ones that do not implement Ctrl-Q.

One thing we should be aware of is that some Linux distributions (e.g. Linux Mint) have been attempting to behave closer to Windows; not to mention the fact that HexChat does run on Windows. Although there is no well-known use about Ctrl-Q, the standard combination to exit a program is Alt-F4, which works on Linux Mint too BTW, and there is no necessity to have a second binding for it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants