MozillaZine

Keyconfig extension

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 22:14, 28 January 2005
Christian Bischoff (Talk | contribs)
(Deleted text about xul, Changed text about user.js, Changed expression "following lines" to "preferences for custom keys")
<-- Previous diff
Revision as of 22:22, 28 January 2005
Christian Bischoff (Talk | contribs)
(Custom Keys)
Next diff -->
Line 10: Line 10:
You can add preferences for custom keys to to the file [[prefs.js]] in your [[Profile Folder|profile]] to get the described results. All instances of Firefox/Thunderbird must be closed before editing this file. After editing start FF/TB and open the Keyconfig window to add your keyboard shortcut. You can add preferences for custom keys to to the file [[prefs.js]] in your [[Profile Folder|profile]] to get the described results. All instances of Firefox/Thunderbird must be closed before editing this file. After editing start FF/TB and open the Keyconfig window to add your keyboard shortcut.
-''Attention:'' Don't add this preferences to your [[user.js]], because they would be applied again with the next start of FF/TB and therefore the assigned keyboard shortcuts would be overwritten (deleted).+<font style="color:#FF0000">Attention:</font> Don't add this preferences to your [[user.js]], because they would be applied again with the next start of FF/TB and therefore the assigned keyboard shortcuts would be overwritten (deleted).
====Template==== ====Template====

Revision as of 22:22, 28 January 2005

Contents

Description of Keyconfig

The extension Keyconfig allows you to configure keyboard shortcuts. It works with Firefox, Thunderbird and (probably) with the Mozilla Suite.

Shortcuts defined via a key can be changed. For more details read this: http://www.extensionsmirror.nl/index.php?showtopic=254

Miscellaneous

To set a shortcut to Ctrl + Space bar type a space " " (without the quotation marks) in the right box (for the shortcut).

Custom Keys

You can add preferences for custom keys to to the file prefs.js in your profile to get the described results. All instances of Firefox/Thunderbird must be closed before editing this file. After editing start FF/TB and open the Keyconfig window to add your keyboard shortcut.

Attention: Don't add this preferences to your user.js, because they would be applied again with the next start of FF/TB and therefore the assigned keyboard shortcuts would be overwritten (deleted).

Template

user_pref("keyconfig.main.xxx_key__NAME", "!][][][FUNCTION");

Examples

Custom Keys for Firefox

Custom Keys for Thunderbird