Where/how does Firefox store hotkey settings?

0

For instance, shortcuts like ctrl+shift+w for "close window", and so on.

Owen_R

Posted 2013-10-12T06:25:56.920

Reputation: 313

Answers

1

You can get the "Key Config Extension" if you want to customize the key assignments: http://mozilla.dorando.at/readme.html or "Customizable Shortcuts" at: https://addons.mozilla.org/En-us/firefox/addon/customizable-shortcuts/

You can also go to about:config and add entries for "ui.key". See Customizing Mozilla for details, at http://www-archive.mozilla.org/unix/customizing.html -- the section titled "How Key Bindings Work in Mozilla" explains about XUL & XBL. It appears that the XUL bindings are stored in comm.jar and XBL bindings are in XML files like "bindings.xml".

Debra

Posted 2013-10-12T06:25:56.920

Reputation: 4 000

Huh. Stuff like "bindings.xml"? But find -iname "*bind*" in my ~/.mozilla was one of the first things I tried...

As to "Customizable Shortcuts", it's kinda broken. That's why I started looking for a way to do it manually...

– Owen_R – 2013-10-12T06:52:47.100

Ah, you're in linux; some files are different. What version of FF? – Debra – 2013-10-12T06:55:26.680

Yeah, just wiped my old Vista and Windows 7 comps and installed Kubuntu a couple days ago. (So. Much. Nicer. :D ) Anyway, FF 24.0 – Owen_R – 2013-10-12T06:58:10.087

Hm, no `*.jar" files either... – Owen_R – 2013-10-12T07:00:10.610

The page link to "customizing html" (in my answer) contains a great deal of detail, including which features don't work as they're supposed to. And some of the keys can be changed as prefs, as shown on that page. – Debra – 2013-10-12T07:04:45.393

Oh -- looks like it went obsolete. There's an explanation here on how to do it with SeaMonkey, but I expect it would be very similar for FF: https://bugzilla.mozilla.org/show_bug.cgi?id=201011 at the bottom, i.e. ...For native custom keybindings in for example SeaMonkey 2.12.1...

  1. build from source (e.g.https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_build)

  2. add handlers for bindings to objdir/mozilla/dist/bin/chrome/toolkit/content/global/platformHTMLBindings.xml

and/or objdir/mozilla/dist/bin/chrome/comm/content/navigator/platformNavigationBindings.xul etc.

– Debra – 2013-10-12T07:15:45.257

Uhhhhh yeah, nevermind. xD Thanks for trying to help anyway, though. ^^ – Owen_R – 2013-10-12T07:39:14.313

Really sorry! Hate when features go away or get broken long-term. – Debra – 2013-10-12T07:39:52.767