Hacker News new | ask | show | jobs
by weaksauce 205 days ago
> At last! Mozilla fixing longstanding bugs! (I jest)

you joke but they did just close out the initial implementation of a something like 27 year old bug. about:keyboard was recently added to nightly to allow you to change or clear the built in keyboard shortcuts of a bunch of menu items like save, back, refresh, or open dev tools or whatever.

3 comments

Is CRTL-Q included? They always insisted that applications can't change that shortcut on Linux.
Ctrl-Q (quit application) right next to Ctrl-W (close tab) has been bad UX since forever.
> Ctrl-Q (quit application) right next to Ctrl-W (close tab)

That bug was actually fixed in the Dvorak release...

I bind ctrl-q to lock screen in gnome, which is less bad than losing the whole browser.

I suppose you could also bind it to a noop.

You can tell firefox to ask before quitting ...
You can also tell Firefox to ignore it completely:

    browser.quitShortcut.disabled
As well as to warn:

    browser.warnOnQuit
    browser.warnOnQuitShortcut
Well, apparently I once was aware of these because I have it set in my custom user.js. But I guess ctrl-q will always be lock screen for me, old habits die hard.
> browser.quitShortcut.disabled

The setting is there, it's editable, but Firefox seems to completely ignore it on Linux.

At least up to 145.0.1.

and testing it now, it asks me by default, and I never changed that setting
On a German PC keyboard, @ is ALT+Q.

That was a big problem when I switched to macOS. I kept hitting CMD+Q every time I tried to type an email address.

I need source on that Ctrl+Q thing
https://i.imgur.com/8a9Jbj6.png it seems to be available to remap/cancel.
Holy shit does this mean I can disable Ctrl-Shift-C and get my muscle memory for terminal copy back?
There's an extension for that. Quite handy for in-browser terminals like one in AWS etc.

https://addons.mozilla.org/en-US/firefox/addon/ctrl-shift-c-...

I installed this extension 5 minutes ago and it's already such an improvement. Never occured to me that there can be extensions to override shortcut defaults.

Thanks!

as a matter of fact... yes https://i.imgur.com/0uxzr4H.png
This was my first thought too!
was that a bug though? cuz it sounds like it was just a new feature that was added
yeah they only have one system for it all and they are all called bugs.

here's the 25 year old bug. https://bugzilla.mozilla.org/show_bug.cgi?id=57805