22.1 The Preferences Dialog

Open the Preferences dialog via the Image: Edit menu. It is a large and complex dialog, as shown in Figure 22-1 (left). The menu on the left in the dialog displays the list of preference tabs; we’ll consider each in turn. Anytime you change parameters in GIMP, your work is saved to a file called gimprc and stored on your machine, typically in the main GIMP directory. The changes usually take effect immediately, unless the program says otherwise.

The first tab of the Preferences dialog deals with the ENVIRONMENT. You can set the following parameters, as shown in Figure 22-1 (left).

Figure 22-1 (right) shows the User Interface settings that deal with the system language, the small thumbnails that appear in the Layers and Channels dialogs, and the keyboard shortcuts.

As Figure 22-2 shows, the Theme tab is simple. You can choose between two themes, Default and Small (shown in Figure 22-3). Other themes are available on sites like http://art.gnome.org/.

GIMP has numerous help features, as discussed in 9.6 The GIMP Help System. The dialog shown in Figure 22-4 allows you to set certain parameters that control the sort of help that you receive while using GIMP:

The Tool Options tab is shown in Figure 22-5. The first checkbox and first two buttons let you save or restore tool options settings. The other options are described as follows.

In the tab shown in Figure 22-6, you can choose to display three different objects at the bottom of the Toolbox:

  • The foreground and background colors, plus the small buttons for switching them or resetting them

  • The active brush, pattern, and gradient

  • The active image

The TOOLS CONFIGURATION list allows you to choose which tool icons appear in the Toolbox. The first 32 are present by default, but you can add 10 more or remove existing ones by clicking the visibility eye. When a tool is selected, you can change its position in the Toolbox with the arrows at the bottom of the dialog.

The Default New Image tab in Figure 22-7 specifies the default characteristics of the image created when you select Image: File > New or . This dialog is almost identical to the one shown in Figure 9-32 and is described in detail in 9.4 Creating, Loading, Saving, and Exporting Files. But it also contains a button for changing the default Quick Mask color.

The tab shown in Figure 22-8 is where you customize the initial characteristics of the grid that appears when you select Image: View > Show Grid. This tab is the same as Image: Image > Configure Image Grid. See 10.3 Grids for more information.

You set the Image window parameters on three tabs. On the first tab, shown in Figure 22-9, you specify the following:

The tab shown in Figure 22-10 specifies the parts of the Image window that are shown initially and includes the initial status of the various checkboxes that appear in the Image: View menu. You can specify different components for the Image window’s normal mode and for fullscreen mode (Image: View > Fullscreen or ).

You can also set parameters for the color of the canvas padding, the part of the Image window that is not part of the canvas. Some of the padding is shown if the image is smaller than the window in at least one dimension. Choose from these options:

The tab shown in Figure 22-11 allows you to specify the text that appears in the Image window’s title and status bar . (Note that the title bar is controlled by the operating system’s window manager, so it may not appear exactly as GIMP specifies.) Predefined formats are available for both title and status bars. You can also define a new format by editing the proper field, which contains a format string that should be familiar to programmers.

A format string contains ordinary characters and variables that begin with a % sign. GIMP offers more than 20 variables; only the most important ones are described here:

These string options let you choose what to display in the title or status bar. Depending on your own preferences and needs, you may choose to display or hide different types of information about the image.

The tab of options shown in Figure 22-12 allows you to specify the representation of transparency. As you can see in this figure, you can choose from six different representations. The first three use a checkerboard pattern, whereas the other three use a continuous color. If you use a checkerboard pattern, you can choose one of three square sizes.

This tab also lets you specify your monitor’s resolution manually. Monitor resolution is detected automatically, but to enter it manually, check the corresponding radio button to define your monitor’s horizontal and vertical resolutions and choose among the different measurements. If you do not know the exact value that corresponds to your screen, click the CALIBRATE button to open a window with measurements in your chosen units. Measure the vertical and horizontal rulers displayed on the screen carefully, and input your measurements into the corresponding fields in the window. Then GIMP computes the actual resolution.

Color management is described in 12.3 Color Management. The tab of options in Figure 22-13 shows the various parameters that you can set.

  • MODE OF OPERATION: Choose from three modes:

    The next three options require an ICC profile: a file whose name ends with .icc. The location of these files depends on your operating system. On GNU/Linux, look in /usr/share/color/icc/; on Mac OS X, look in /Library/ColorSync/Profiles/; and in Windows, check \Windows\system32\spool\drivers\color. You can also find profiles on sites like the European Color Initiative (http://www.eci.org/).

  • The RGB PROFILE defines GIMP’s internal color space. Unless you have very specific requirements, consider using the Adobe RGB color space, which has a larger gamut than that of a display monitor or a four-color printer but whose gamut is not excessively large. Many people prefer to stick with the sRGB color space, which is closer to a printer color space.

  • The CMYK PROFILE is not used in GIMP, which does not handle CMYK internally. This could change in a future version of GIMP.

  • The MONITOR PROFILE likely uses the sRGB color space. If you check the following box, GIMP uses the color profile provided by the operating system and used in its own color management.

  • The DISPLAY RENDERING INTENT option allows you to choose among four ways to convert from one color space to another. The methods differ in the way they present colors in the initial color space but not in the final color space. The default, PERCEPTUAL intent, uses an interpolation system that is almost reversible (no important information is lost) and does not clip out the most saturated colors. It is well suited to work with photographs. The SATURATION intent converts saturated input colors to saturated output colors and is well suited to colorizing or similar work. You can safely ignore the two other intents, RELATIVE COLORIMETRIC and ABSOLUTE COLORIMETRIC. (See also Using Color Management.)

  • The PRINT SIMULATION PROFILE is used for print preview if you choose print simulation mode. Use a CMYK common profile, such as Fogra27L CMYK Coated Press or your printer’s specific profile.

  • The SOFTPROOF RENDERING INTENT is used for print preview. The choices are the same as those for DISPLAY RENDERING INTENT, but you can also check the MARK OUT OF GAMUT COLORS and then, in the small box to the right, choose the color to be displayed in place of out-of-gamut colors.

  • The FILE OPEN BEHAVIOUR option specifies what GIMP has to do when loading an image with an embedded color profile that differs from the internal sRGB space. GIMP can KEEP THE EMBEDDED PROFILE and thus not convert the image, which will still be displayed correctly using this profile. CONVERT TO RGB WORKSPACE uses the embedded profile but forgets it afterward. ASK WHAT TO DO is probably the safest option.

The options on the INPUT DEVICES tab, shown in Figure 22-14, are mainly for configuring graphics tablets. This tab has only three buttons and one checkbox; all but the first are self-explanatory.

Clicking CONFIGURE EXTENDED INPUT DEVICES opens the dialog shown in Figure 1-41. The menu on the left lists all known devices, but those unavailable are grayed out.

A Wacom tablet is considered to be four different devices: the stylus, the eraser, the mouse (called a cursor), and the pad (the small touch-pad(s) present on some tablets).

After selecting a device, you can choose from three modes: DISABLED, SCREEN, and WINDOW. The best choice is generally SCREEN, which allows you to use the stylus or tablet mouse across the entire screen. Choosing DISABLED makes the device act as a simple mouse, without sensitivity to pressure or tilt. You can safely ignore KEYS and most of AXES, except Pressure, which you may find useful for adjusting a tablet that isn’t responding properly. It offers an answering curve similar to that of the paint dynamics.

The ADDITIONAL INPUT CONTROLLERS tab, shown in Figure 22-15, is part of the Input Devices tab in the Preferences dialog. It displays available controllers on the left and active controllers on the right. Click an item on one list to move it to the other list using one of the arrow buttons.

When you’ve selected an item in the right column, you can edit its parameters by double-clicking or by clicking the small icon in the bottom row of the right column. Figure 22-16 shows a part of the dialog that appears when you select MAIN MOUSE WHEEL. A similar dialog pops up when you move a controller from the available to the active list.

In the dialog shown in Figure 22-16, you can specify actions that will be triggered by using the mouse wheel. Several predefined actions deal with selecting brushes, patterns, gradients, and fonts and the opacity of the current painting tool. To add a new action, select the event and click the EDIT button at the bottom to open a dialog similar to Figure 22-17.

Figure 22-18 shows the dialog that appears when the active controller is the main keyboard. Notice that several predefined events are available, but none are used by default and you can even redefine these shortcuts to whatever you’re familiar with.

The WINDOW MANAGEMENT tab, shown in Figure 22-19, controls the way GIMP manages the numerous windows onscreen when you are not in single-window mode.

WINDOW MANAGER HINTS tells the window manager how to handle the Toolbox and the other dock windows. You can choose from three possibilities:

Your choice of behaviors is a matter of personal taste, but note that some window managers (such as the Windows operating system) don’t handle these options correctly, so your actual results may vary. The key may be useful in such cases. Changes you make here are effective only after you restart GIMP.

The ACTIVATE THE FOCUSED IMAGE button, if unchecked, disconnects the fact that a window has focus (is active as far as the window manager is concerned) from the fact that it’s active as far as GIMP is concerned. This option can be helpful if you set up your window manager so the window under the pointer automatically has focus, but you want to determine which Image window is active.

The checkbox and two buttons under WINDOW POSITIONS should be self-explanatory. You can save the screen layout you define or reset it to the default.

The FOLDERS tab, shown in Figure 22-20, heads up a long list of possible folders, as shown in Figure 22-21. GIMP finds the information and data that it needs in folders, some of which are system-wide, while others belong to the user. On the Folders tab, you can specify the location of the TEMPORARY FOLDER where GIMP stores files that will be automatically deleted upon shutdown. Normally this folder belongs to the user, but you can change it to a system-wide temporary folder that will be cleaned every time the operating systems boots.

The SWAP FOLDER is used for the temporary storage of internal data that does not fit in memory. The default folder is in your personal space, but consider choosing a folder on another disk to improve performance.

The other Folder tabs mention at least two folders: one personal and one system-wide. You can write to your personal folder, that is, add new objects or remove or edit existing ones. Normally, you can’t write to the system-wide folder, but if you intend to install new brushes, paint dynamics, patterns, palettes, or gradients, making the corresponding system-wide folder writable (something that is not possible for the other object types) may prove useful.

When you click one of the folder names, the buttons in the top row become active, as shown in Figure 22-22. Here you can move a folder up or down the list, which changes the order in which that folder is searched. You can also remove a folder from the list, add a new one, or change an existing name. The round button to the left of the folder’s name is green if the folder already exists; otherwise, it is red.