Re: Key binding questions...
Akkana <[email protected]> Tue, 24 May 2005 11:07:15 -0700
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Message-ID | <[email protected]> |
Robert Heller writes: > What is the magic to set up 'Emacs' style key-bindings in Mozilla (both > Mozilla 1.2 [under RedHat 7.3] and Mozilla 1.7.7 [under White Box Linux > 3.0]). In the Mozilla suite they should be enabled by default on Linux, so maybe there's some obscure option that's disabling them, as Robert Heller suggests in another posting in this thread. Firefox has the emacs/readline bindings disabled unless you set GTK to use the key theme named "Emacs". You can probably choose that in some app like gconf-editor, or you might be able to set it by editing ~/.gtkrc-2.0 and adding a line like: gtk-key-theme-name = "Emacs" though I've found that to be somewhat inconsistent (some systems may override this setting somewhere else). Some related gtk settings: http://www.gtk.org/gtk-2.0.0-notes.html http://www.mozilla.org/unix/customizing.html#keys describes how to set any custom bindings in mozilla. Firefox uses the same setup but the files may not be in the same place. You'll probably have to explode one of the .jar files to find a [something]HTMLBindings.xml file, edit that to change the key bindings, then re-pack the jar file and restart the browser; I don't think the userHTMLBindings.xml regression (bug 201011) ever got fixed. ...Akkana