I use Firefox on linux and one of the things I like about it is using altdrag to move windows around (and altright-click-drag to resize).
However, this causes the Menu Bar to open, which is annoying and requires me to hit alt again to dismiss it before the page responds to typing.
(I don't want the bar to always be open either).

enter image description here enter image description here

Is there a way to get Firefox to listen to a different key to open the Menu Bar, or even disabling it outright (the hamburger menu does have most things)?
Possibly something in about:config I haven't found?

Edit: I just noticed it happens after I've finished the drag and released the alt key. Should X/Plasma (I don't know who's responsible) even be sending an alt-up event to the window if it knows I had just been using it as a window manipulation shortcut-key?


You're looking for ui.key.menuAccessKeyFocuses. Set it to false and the menu bar won't pop up unless you hit one of its accelerators (e.g. AltF for "File").

  • thanks for that! I also noticed that the other key, ui.key.menuAccessKey, has a value of 18; the keycode for <kbd>alt</kbd>. So, for posterity, if anyone wants to change the key (as per question title) you can do so here knowing the keycode – Hashbrown Nov 24 '17 at 3:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.