Why shift-cmd-n fails as a custom shortcut for Firefox "New Private Window"?

Solution 1:

This has been a known Mac Firefox bug for years and years. Because Firefox is not truly a native macOS app, it carries over odd behaviors, one of which being that you cannot fully override its pre-defined keyboard shortcuts.

Firefox 55 addressed this partially as Mozilla bug #429824, which allowed new keyboard shortcuts to be created via System Preferences. Overriding existing shortcuts like "New Private Window" or "Paste" or whatever is still not completely possible, but progress (or lack thereof) is being tracked by Mozilla bug #1333781. In any case, you get all sorts of weird, undefined behavior if you try to override those shortcuts anyway.

Before the great extension purge in Firefox 57, Firefox extensions like keyconfig let you work around the problem by remapping those shortcuts within Firefox itself. After Firefox retired all legacy extensions, this once again became impossible.

Since Firefox 57 (being so annoyed by some of its default, un-Mac-like shortcuts) I've compiled Firefox from source code just so I could patch its keyboard shortcut configurations. Not something I'd recommend to most people, but it is one potential workaround until the bug is fixed upstream.