Many functions accessible via the image menu have a default keyboard
shortcut. You may want to create a new shortcut for a command that
has none and that you often use or, more rarely, edit an existing
shortcut. There are two methods for that.
Procedure 7.1.
Using dynamic keyboard shortcuts
First, you have to activate this possibility by checking the
Use dynamic keyboard shortcuts option in the
Interface item of the
Preferences menu.
This option is usually unchecked to prevent inoportune key hits
creating unwanted shortcut.
On that occasion, also check the Save keyboard
shortcuts on exit option so that your shortcut is
saved.
To create a keyboard shortcut, only place mouse pointer on a
command: it becomes highlighted. Be careful that mouse pointer
doesn't move and type a three keys sequence keeping keys pressed.
You will see this sequence appear on the right of the command.
If you type a sequence yet used, the command corresponding to this
shorcut will be excuted and no new shortcut will be created.
Preferably use the Ctrl+Alt+Key sequence for your custom shortcuts.
Figure 7.2.
Configure keyboard shortcuts
Procedure 7.2.
Using Keyboard Shortcut Editor
You get to this Editor by clicking on the Configure
keyboard shortcuts in the “Interface”
item of the Preferences menu.
As shown in this dialog, you can select the command you want to
create a shortcut for, in the “Action” area. Then you
type your key sequence as above. In principle, Space bar should
clear shortcut... (it clears but doesn't delete).
This shortcut editor also allows you to control
tool parameter setting with keyboard. At the top of
this dialog, you can find a Context menu that
leads to tool parameters. To make your work easier, tool types
are marked with small icons.
Note
Custom Keyboard shortcuts are stored in a Gimp's hidden directory
(/home/[username]/.gimp-2.2/menurc) under
Linux C:\Documents and
Settings\[Username]\.gimp-2.2\menurc under Windows XP.
That's a simple text file that you can transport from one computer
to another one.