Keyconfig extension: Difference between revisions
No edit summary |
(format) |
||
Line 1: | Line 1: | ||
==Description of Keyconfig== | ==Description of Keyconfig== | ||
The extension [http://dorando.emuverse.com/projects/mozilla/readme.html Keyconfig] allows you to | The extension [http://dorando.emuverse.com/projects/mozilla/readme.html 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 but only changing those which itself call a function (those with a command or oncommand attribute) has an effect (all others fulfill only cosmetic purposes it seems and are grayed out). That means you can change the shortcut for "Decrement URL" (Magpie) but not for "Undo Close Tab" (Tabbrowser Extensions). | Shortcuts defined via a key can be changed but only changing those which itself call a function (those with a command or oncommand attribute) has an effect (all others fulfill only cosmetic purposes it seems and are grayed out). That means you can change the shortcut for "Decrement URL" (Magpie) but not for "Undo Close Tab" (Tabbrowser Extensions). | ||
Line 8: | Line 8: | ||
===Custom Keys=== | ===Custom Keys=== | ||
You can add the following lines 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. | You can add the following lines 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 could also add the lines to | You could also add the lines to your [[user.js]], but after starting FF/TB you have to delete the lines from the user.js. If you don't delete them, they will be applied again with the next start of FF/TB and will overwrite (delete) the assigned keyboard shortcuts. | ||
====Template==== | |||
user_pref("keyconfig.main.xxx_key__NAME", "!][][][FUNCTION"); | |||
user_pref("keyconfig.main.xxx_key__NAME", "!][][][FUNCTION"); | |||
====Examples==== | |||
[[Keyconfig extension - Custom Keys for Firefox | Custom Keys for Firefox]] | [[Keyconfig extension - Custom Keys for Firefox | Custom Keys for Firefox]] | ||
[[Keyconfig extension - Custom Keys for Thunderbird | Custom Keys for Thunderbird]] | [[Keyconfig extension - Custom Keys for Thunderbird | Custom Keys for Thunderbird]] |
Revision as of 20:32, 26 January 2005
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 but only changing those which itself call a function (those with a command or oncommand attribute) has an effect (all others fulfill only cosmetic purposes it seems and are grayed out). That means you can change the shortcut for "Decrement URL" (Magpie) but not for "Undo Close Tab" (Tabbrowser Extensions).
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 the following lines 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.
You could also add the lines to your user.js, but after starting FF/TB you have to delete the lines from the user.js. If you don't delete them, they will be applied again with the next start of FF/TB and will overwrite (delete) the assigned keyboard shortcuts.
Template
user_pref("keyconfig.main.xxx_key__NAME", "!][][][FUNCTION");