5. Creating Shortcuts to Menu Functions
| Kapitel 12. Enrich my GIMP |

## 5. Creating Shortcuts to Menu Functions

Many functions which are accessible via the image menu have a default keyboard shortcut. You may want to create a new shortcut for a command that you use a lot and doesn't have one or, more rarely, edit an existing shortcut. There are two methods for doing this.

Procedur 12.1. Using dynamic keyboard shortcuts

1. First, you have to activate this capability by checking the Use dynamic keyboard shortcuts option in the Interface item of the Preferences menu. This option is usually not checked, to prevent accidental key presses from creating an unwanted shortcut.

2. While you're doing that, also check the Save keyboard shortcuts on exit option so that your shortcut will be saved.

3. To create a keyboard shortcut, simply place the mouse pointer on a command in the menu: it will then be highlighted. Be careful that the mouse pointer doesn't move and type a sequence of three keys, keeping the keys pressed. You will see this sequence appear on the right of the command.

4. It is best to use the Ctrl+Alt+Key sequence for your custom shortcuts.

Figur 12.35. Configure Keyboard Shortcuts

Procedur 12.2. Using the Keyboard Shortcut Editor

1. You get to this Editor by clicking on Configure keyboard shortcuts in the ”Interface” item of the Preferences menu.

2. 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, the Space bar should clear a shortcut. (In practice, it clears it, but doesn't delete it.)

3. This shortcut editor also allows you to control the tool parameter settings with the keyboard. At the top of this dialog, you can find a Context menu that takes you to the tool parameters. To make your work easier, tool types are marked with small icons.

| Notera

Custom Keyboard shortcuts are stored in one of Gimp's hidden directory (`/home/[username]/.config/GIMP/2.10/menurc`) under Linux. Under Windows, local and global location are, respectively:

- `C:\Documents and Settings\[Username]\AppData\Roaming\GIMP\2.10\menurc`

- `C:\Program Files\GIMP 2\etc\gimp\2.0\menurc`

This location may change if GIMP is installed after having already installed Git Bash or Cygwin. In this case, they will appear in `C:\Program Files\Git\.gimp-[version]\menurc`.

”menu.rc” is a simple text file that you can transport from one computer to another.

4. How to Set Your Tile Cache |  | 6. Anpassa startbilden

Report an error in the bug tracker