第 12 章 Enrich my GIMP

目录

1. Preferences Dialog
1.1. Introduction
1.2. Environment
1.3. Interface
1.4. Theme
1.5. Help System
1.6. Tool Options
1.7. Toolbox
1.8. Default Image Preferences
1.9. Default Image Grid
1.10. Image Windows
1.11. Image Window Appearance
1.12. Image Window Title and Statusbar
1.13. Display
1.14. Color Management
1.15. Input Devices
1.16. Input Controllers
1.17. Window Management
1.18. Folders
1.19. Data Folders
2. Grids and Guides
2.1. The Image Grid
2.2. Guides
3. Rendering a Grid
4. How to Set Your Tile Cache
5. Creating Shortcuts to Menu Functions
6. Customize Splash-Screen

1. Preferences Dialog

1.1. Introduction

图 12.1. List of preference pages

List of preference pages

The preferences dialog can be accessed from the image menu-bar, through EditPreferences. It lets you customize many aspects of the way GIMP works. The following sections detail the settings that you can customize, and what they affect.

All of the Preferences information is stored in a file called gimprc in your personal GIMP directory, so if you are a power user who would rather work with a text editor than a graphical interface, you can alter preferences by editing that file. If you do, and you are on a Linux system, then man gimprc will give you a lot of technical information about the contents of the file and what they are used for.

1.2. Environment

图 12.2. Environment Preferences

Environment Preferences

This page lets you customize the amount of system memory allocated for various purposes. It also allows you to disable the confirmation dialogs that appear when you close unsaved images, and to set the size of thumbnail files that GIMP produces.


1.2.1. Options

Resource Consumption

Minimal number of undo levels

GIMP allows you to undo most actions by maintaining an Undo History for each image, for which a certain amount of memory is allocated. Regardless of memory usage, however, GIMP always permits some minimal number of the most recent actions to be undone: this is the number specified here. See 第 3 节 “Undoing” for more information about GIMP's Undo mechanism.

Maximum undo memory

This is the amount of undo memory allocated for each image. If the Undo History size exceeds this, the oldest points are deleted, unless this would result in fewer points being present than the minimal number specified above.

Tile cache size

This is the amount of system RAM allocated for GIMP image data. If GIMP requires more memory than this, it begins to swap to disk, which may in some circumstances cause a dramatic slowdown. You are given an opportunity to set this number when you install GIMP, but you can alter it here. See How to Set Your Tile Cache for more information.

Maximum new image size

This is not a hard constraint: if you try to create a new image larger than the specified size, you are asked to confirm that you really want to do it. This is to prevent you from accidentally creating images much larger than you intend, which can either crash GIMP or cause it to respond verrrrrrrry slowwwwwwwwly.

Number of processors to use

Default is one. Your computer may have more than one processor.

Image Thumbnails

Size of thumbnails

This options allows you to set the size of the thumbnails shown in the File Open dialog (and also saved for possible use by other programs). The options are None, Normal (128x128), and Large (256x256).

Maximum filesize for thumbnailing

If an image file is larger than the specified maximum size, GIMP will not generate a thumbnail for it. This options allows you to prevent thumbnailing of extremely large image files from slowing GIMP to a crawl.

Saving Images

Confirm closing of unsaved images

Closing an image is not undoable, so by default GIMP asks you to confirm that you really want to do it, whenever it would lead to a loss of unsaved changes. You can disable this if you find it annoying; but then of course you are responsible for remembering what you have and have not saved.

Document history

Keep record of used files in the Recent Documents list

When checked, files you have opened will be saved in the Document history. You can access the list of files with the Document history dialog from the image menu-bar : FileOpen RecentDocument History.

1.3. Interface

图 12.3. Assorted Interface Preferences

Assorted Interface Preferences

This page lets you customize language, layer/channel previews and keyboard shortcuts.


Options

Language

The GIMP's default language is that of your system. You can select another language in the drop-down list. You have to start GIMP again to make this change effective. Please refer to 第 1.2 节 “Language”.

Previews

By default, GIMP shows miniature previews of the contents of layers and channels in several places, including the Layers dialog. If for some reason you would prefer to disable these, you can do it by unchecking Enable layer and channel previews. If you do want previews to be shown, you can customize their sizes using the menus for Default layer and channel preview size and Navigation preview size.

Keyboard Shortcuts

Any menu item can be activated by holding down Alt and pressing a sequence of keys. Normally, the key associated with each menu entry is shown as an underlined letter in the text, called accelerator. If for some reason you would prefer the underlines to go away (maybe because you think they're ugly and you don't use them anyway), then you can make this happen by unchecking Show menu mnemonics.

GIMP can give you the ability to create keyboard shortcuts (key combinations that activate a menu entry) dynamically, by pressing the keys while the pointer hovers over the desired menu entry. However, this capability is disabled by default, because it might lead novice users to accidentally overwrite the standard keyboard shortcuts. If you want to enable it, check Use dynamics keyboard shortcuts here.

Pressing the button for Configure Keyboard Shortcuts brings up the Shortcut Editor, which gives you a graphical interface to select menu items and assign shortcuts to them.

If you change shortcuts, you will probably want your changes to continue to apply in future GIMP sessions. If not, uncheck Save keyboard shortcuts on exit. But remember that you have done this, or you may be frustrated later. If you don't want to save shortcuts on exit every session, you can save the current settings at any time using the Save Keyboard Shortcuts Now button, and they will be applied to future sessions. If you decide that you have made some bad decisions concerning shortcuts, you can reset them to their original state by pressing Reset Saved Keyboard Shortcuts to Default Values.

1.4. Theme

图 12.4. Theme Preference

Theme Preference

This page lets you select a theme, which determines many aspects of the appearance of the GIMP user interface, including the set of icons used, their sizes, fonts, spacing allowed in dialogs, etc. Two themes are supplied with GIMP: Default, which is probably best for most people, and Small, which may be preferable for those with small or low-resolution monitors. Clicking on a theme in the list causes it to be applied immediately, so it is easy to see the result and change your mind if you don't like it.

You can also use custom themes, either by downloading them from the net, or by copying one of the supplied themes and modifying it. Custom themes should be places in the themes subdirectory of your personal GIMP directory: if they are, they will appear in the list here. Each theme is actually a directory containing ASCII files that you can edit. They are pretty complicated, and the meaning of the contents goes beyond the scope of this documentation, but you should feel free to experiment: in the worst case, if you mess things up completely, you can always revert back to one of the supplied themes.

You cannot edit the supplied themes unless you have administrator permissions, and even if you do, you shouldn't: if you want to customize a theme, make a copy in your personal directory and work on it. If you make a change and would like to see the result on the fly, you can do so by saving the edited theme file and then pressing Reload Current Theme.

1.5. Help System

图 12.5. Help System Preferences

Help System Preferences

This page lets you customize the behaviour of the GIMP help system.


1.5.1. Options

General

Show tool tips

Tool tips are small help pop-ups that appear when the pointer hovers for a moment over some element of the interface, such as a button or icon. Sometimes they explain what the element does; sometimes they give you hints about non-obvious ways to use it. If you find them too distracting, you can disable them here by unchecking this option. We recommend that you leave them enabled unless you are a very advanced user.

Show help buttons

This option controls whether the help buttons are shown on every tool dialog, which may be used alternatively to invoke the help system.

User manual

This drop-down list lets you select between Use a locally installed copy and Use the online version. See 第 12.2 节 “帮助”.

Help Browser

Help browser to use

GIMP Help is supplied in the form of HTML files, i. e., web pages. You can view them using either a special help browser that comes with GIMP, or a web browser of your choice. Here you choose which option to use. Because the help pages were carefully checked to make sure they work well with GIMP's browser, whereas other web browsers are somewhat variable in their support of features, the safer option is to use the internal browser; but really any modern web browser should be okay.

[注意] 注意

Note that the GIMP help browser is not available on all platforms. If it is missing, this option is hidden and the standard web browser will be used to read the help pages.

1.6. Tool Options

图 12.6. Tool Options Preferences

Tool Options Preferences

This page lets you customize several aspects of the behavior of tools.


1.6.1. Options

General

Save Tool Options On Exit

Self explanatory

Save Tool Options Now

Self explanatory

Reset Saved Tool Options To Default Values

Self explanatory

Guide and Grid Snapping

Snap distance

Snapping to guides, or to an image grid, means that when a tool is applied by clicking somewhere on the image display, if the clicked point is near enough to a guide or grid, it is shifted exactly onto the guide or grid. Snapping to guides can be toggled using ViewSnap to Guides in the image menu; and if the grid is switched on, snapping to it can be toggled using ViewSnap to Grid. This preference option determines how close a clicked point must be to a guide or grid in order to be snapped onto it, in pixels.

Scaling

Default interpolation

When you scale something, each pixel in the result is calculated by interpolating several pixels in the source. This option determines the default interpolation method: it can always be changed, though, in the Tool Options dialog.

There are four choices:

None

This is the fastest method, but it's quite crude: you should only consider using it if your machine is very seriously speed-impaired.

Linear

This used to be the default, and is good enough for most purposes.

Cubic

This is the best choice (although it can actually look worse than Linear for some types of images), but also the slowest. Since GIMP 2.6, this method is the default.

Sinc (Lanczos3)

This method performs a high quality interpolation.

Paint Options Shared Between Tools

Brush, Pattern, Gradient

You can decide here whether changing the brush etc for one tool should cause the new item to be used for all tools, or whether each individual tool (pencil, paintbrush, airbrush, etc) should remember the item that was last used for it specifically.

Move tool

Set layer or path as active

You can decide here whether changing the current layer or path when using the move tool and without pressing any key.

1.7. Toolbox

图 12.7. Toolbox Preferences

Toolbox Preferences

1.7.1. Options

图 12.8. Default Toolbox appearance

Default Toolbox appearance

This page lets you customize the appearance of the Toolbox, by deciding whether the three context information areas should be shown at the bottom.

Appearance

Show foreground and background color

Controls whether the color area on the left (2) appears in the Toolbox.

Show active brush, pattern, and gradient

Controls whether the area in the center (3), with the brush, pattern, and gradient icons, appears in the Toolbox.

Show active image

Controls whether a preview of the currently active image appears on the right (4).

Tools configuration

In this list, tools with an eye are present in the Toolbox. By default, color tools have no eye: you can add them to the Toolbox by clicking the corresponding checkbox.

You can also sort tools by priority using the arrow up and down buttons at the bottom of the dialog.

This option replaces the Tools Dialog of former GIMP versions.

1.8. Default Image Preferences

图 12.9. Default New Image Preferences

Default New Image Preferences

This tab lets you customize the default settings for the New Image dialog. See the New Image Dialog section for an explanation of what each of the values means.

1.9. Default Image Grid

图 12.10. Default Grid Preferences

Default Grid Preferences

This page lets you customize the default properties of GIMP's grid, which can be toggled on or off using ViewShow Grid from the image menu. The settings here match those in the Configure Image Grid dialog, which can be used to reconfigure the grid for an existing image, by choosing ImageConfigure Grid from the image menu. See the Configure Grid dialog section for information on the meaning of each of the settings.

1.10. Image Windows

图 12.11. General Image Window Preference

General Image Window Preference

This page lets you customize several aspects of the behaviour of image windows.


1.10.1. Options

General

Use Dot for dot by default

Using Dot for dot means that at 1:1 zoom, each pixel is the image is scaled to one pixel on the display. If Dot for dot is not used, then the displayed image size is determined by the X and Y resolution of the image. See the Scale Image section for more information.

Marching ants speed

When you create a selection, the edge of it is shown as a dashed line with dashes that appear to move, marching slowly along the boundary: they are jokingly called marching ants. The smaller the value entered here, the faster the ants march (and consequently the more distracting they are!).

Zoom and Resize Behavior

Resize window on zoom

If this option is checked, then each time you zoom the image, the image window will automatically resize to follow it. Otherwise, the image window will maintain the same size when you zoom the image.

Resize window on image size change

If this option is checked, then each time change the size of the image, by cropping or resizing it, the image window will automatically resize to follow. Otherwise, the image window will maintain the same size.

Initial zoom ratio

You can choose either to have images, when they are first opened, scaled so that the whole image fits comfortably on your display, or else shown at 1:1 zoom. If you choose the second option, and the image is too large to fit on your display, then the image window will show only part of it (but you will be able to scroll to other parts).

Space bar

While space bar is pressed
  • Pan view (default) or

  • Toogle to Move Tool

  • No action

Mouse Cursors

Show brush outline

If this option is checked, then when you use a paint tool, the outline of the brush will be shown on the image as you move the pointer around. On slow systems, if the brush is very large, this could occasionally cause some lag in GIMP's ability to follow your movements: if so, switching this off might help. Otherwise, you will probably find it quite useful.

Show paint tool cursor

If this is checked, a cursor will be shown. This is in addition to the brush outline, if the brush outline is being shown. The type of cursor is determined by the next option.

Cursor mode

This option has no effect unless Show paint tool cursor is checked. If it is, you have three choices: Tool icon, which causes a small iconic representation of the currently active tool to be shown beside the cursor; Tool icon with crosshair, which shows the icon as well as a crosshair indicating the center of the cursor; or Crosshair only.

Cursor rendering

If you choose Fancy here, the cursor is drawn in grayscale. If you choose Black and White, it is drawn in a simpler way that may speed things up a little bit if you have speed issues.

1.11. Image Window Appearance

图 12.12. Image Window Appearance Defaults

Image Window Appearance Defaults

This page lets you customize the default appearance of image windows, for normal mode and for fullscreen mode. All of the settings here can be altered on an image-specific basis using entries in the View menu. See the Image Window section for information on the meaning of the entries.


The only parts that may need further explanation are the ones related to padding. Padding is the color shown around the edges of the image, if it does not occupy all of the display area (shown in light gray in all the figures here). You can choose among four colors for the padding color: to use the color specified by the current theme; to use the light or dark colors specified for checks, such as represent transparent parts of the image; or to use a custom color, which can be set using the color button for Custom padding color.

1.12. Image Window Title and Statusbar

图 12.13. Image Window Title and Statusbar formats

Image Window Title and Statusbar formats

This page lets you customize the text that appears in two places: the title bar of an image, and the status bar. The title bar should appear above the image; however this depends on cooperation from the window manager, so it is not guaranteed to work in all cases. The statusbar appears underneath the image, on the right side. See the Image Window section for more information.


1.12.1. Choosing a Format

You can choose among several predesigned formats, or you can create one of your own, by writing a format string in the entry area. Here is how to understand a format string: anything you type is shown exactly as you type it, with the exception of variables, whose names all begin with %. Here is a list of the variables you can use:

Variable Meaning
%f Bare filename of the image, or Untitled
%F Full path to file, or Untitled
%p Image id number (this is unique)
%i View number, if an image has more than one display
%t Image type (RGB, grayscale, indexed)
%z Zoom factor as a percentage
%s Source scale factor (zoom level = %d/%s)
%d Destination scale factor (zoom level = %d/%s)
%Dx Expands to x if the image is dirty, nothing otherwise
%Cx Expands to x if the image is clean, nothing otherwise
%l The number of layers
%L Number of layers (long form)
%m Memory used by the image
%n Name of the active layer/channel
%P id of the active layer/channel
%w Image width in pixels
%W Image width in real-world units
%h Image height in pixels
%H Image height in real-world units
%u Unit symbol (eg. px for Pixel)
%U Unit abbreviation
%% A literal % symbol

1.13. Display

图 12.14. Display Preferences

Display Preferences

This page lets you customize the way transparent parts of an image are represented, and lets you recalibrate the resolution of your monitor.


1.13.1. Options

Transparency

Transparency type

By default, GIMP indicates transparency using a checkerboard pattern with mid-tone checks, but you can change this if you want, either to a different type of checkerboard, or to solid black, white, or gray.

Check size

Here you can alter the size of the squares in the checkerboard pattern used to indicate transparency.

图 12.15. The Calibration dialog

The Calibration dialog

Monitor Resolution

Monitor Resolution is the ratio of pixels, horizontally and vertically, to inches. You have three ways to proceed here:

  • Get Resolution from windowing system. (easiest, probably inaccurate).

  • Set Manually

  • Push the Calibrate Button.

The Calibrate Dialog

My monitor was impressively off when I tried the Calibrate Dialog. The Calibrate Game is fun to play. You will need a soft ruler.

1.14. Color Management

图 12.16. Color Management Preferences

Color Management Preferences

1.14.1. Options

This page lets you customize the GIMP color management.

Some of the options let you choose a color profile from a menu. If the desired profile is not in the menu yet, you can add it by clicking on the Select color profile from disk... item.

[提示] 提示

Files containing color profiles are easily recognizable by their .icc suffix. In addition to that they are usually stored all together in only a few places. If you are running GIMP on Mac OS X, you should try /Library/ColorSync/Profiles/ and Library/Printers/[manufacturer]/Profiles.

Mode of operation

Using this option you can decide how the GIMP color management operates. There are three modes you can choose from:

  • No color management: choosing this selection shuts down the color management in GIMP completely.

  • Color managed display: with this selection you can enable the GIMP color management to provide a fully corrected display of the images according to the given color profile for the display.

  • Print simulation: when choosing this selection, you enable the GIMP color management not only to apply the profile for the display, but also the selected printer simulation profile. Doing so, you can preview the color results of a print with that printer.

    [注意] 注意

    Please note, that the GIMP color management is used to enhance the display of images and the embedding of profiles to image files only. Especially are the options you choose in this dialog in no way used for printing from within GIMP. This is because the printing is a special task done by a more specialized printing engine that is no part of GIMP.

RGB profile

Select the default color profile for working with RGB images.

CMYK profile

Select the default color profile for conversion between RGB for the screen work and CMYK for printing.

Monitor profile

This option gives you two elements for interaction:

  • You should select a display profile for this option. The selected color profile is used to display GIMP on the screen.

  • If you activate the Try to use the system monitor profile option, GIMP will use the color profile provided for the displays by the operating systems color management system.

Display rendering intent

Rendering intents, as the one you can configure with this option, are ways of dealing with colors that are out-of- 色阶 colors present in the source space that the destination space is incapable of producing. There are four method rendering intents to choose from:

  • Perceptual

  • Relative colorimetric

  • Saturation

  • Absolute colorimetric

A description of the individual methods can be found at Rendering Intent .

Print simulation mode

You should select a printer profile for this option. The selected color profile is used for the print simulation mode.

Softproof rendering intent

This option again provides two different elements for interaction:

  • You can use the menu to select the rendering intent for the soft proof. They are the same as already described for the display rendering intent.

  • If you enable the Mark out of gamut colors option, all pixels that have a color that is not printable are marked by a special color. Which color is used for this can also be chosen by you. You can do this simply by clicking on the color icon on the right besides the checkbox.

File Open behaviour

Using this menu you can determine how GIMP behaves when opening a file that contains an embedded color profile that does not match the workspace sRGB. You can choose from the following entries:

  • Ask what to do: if selected, GIMP will ask every time what to do.

  • Keep embedded profile: if you choose this, GIMP will keep the attached profile and not convert the image to the workspace. The image is displayed correctly anyways, because the attached profile will be applied for display.

  • Convert to RGB workspace: by choosing this entry GIMP will automatically use the attached color profile to convert the image to the workspace.

[注意] 注意

For more explanations:

  • ICC Profiles are explained in Wikipedia [WKPD-ICC].

  • See OpenICC project ([OPENICC]) where GIMP and others great names of free infography contribute to.

Many profiles to load from the web:

  • ICC sRGB Workspace: ICCsRGB[ICCsRGB]

  • Microsoft sRGB Workspace: MsRGB[MsRGB]

  • Adobe RGB98 Workspace : Adobe RGB (1998)[AdobeRGB]

  • ECI (European Color Initiative) Profiles: ECI[ECI]

1.15. Input Devices

图 12.17. Input devices preferences

Input devices preferences

Extended Input Devices

Configure Extended Input Devices

This large button allows you to set the devices associated with your computer: tablet, MIDI keyboard... If you have a tablet, you will see a dialog like this:

图 12.18. Preferences for a tablet

Preferences for a tablet

Save input device settings on exit

When you check this box, GIMP remembers the tool, color, pattern and brush you were using the last time you quitted.

Save Input Device Settings Now

Self explanatory.

Reset Saved Input Device Settings to Default Values

Delete your settings and restore default settings.

1.16. Input Controllers

图 12.19. Input controllers preferences

Input controllers preferences

This dialog has two lists of additional input controllers: Available Controllers on the left, Active Controllers on the right.

A click on an item will highlight it and you can move the controller from one list to the other by clicking on the respective arrow key. When you try to move a controller from the list of active controllers to the available controllers, a dialog pops up and you will have the choice of removing the controller or just disabling it.

When you double click on a (typically active) controller or alternatively click on the Edit button at the bottom of the list, you can configure this controller in a dialog window:

Main Mouse Wheel

图 12.20. Main Mouse Wheel

Main Mouse Wheel


General
Dump events from this controller

This option must be checked if you want a print on the stdout of the events generated by the enabled controllers. If you want to see those event you should start GIMP from a terminal or making it to print the stdout to file by the shell redirection. The main use of this option is for debug.

Enable this controller

This option must be checked if you want to add a new actions to the mouse wheel.

Mouse Wheel Events

In this window with scroll bars you have: on the left, the possible events concerning the mouse wheel, more or less associated with control keys; on the right, the action assigned to the event when it will happen. You have also two buttons, one to Edit the selected event, the other to Cancel the action of the selected event.

Some actions are assigned to events yet. They seem to be examples, as they are not functional.

Select the action allocated to the event

After selecting an event, if you click on the Edit button, you open the following dialog:

图 12.21. Select Controller Event Action

Select Controller Event Action

If an action exists yet for this event, the window will open on this action. Else, the window will display the sections that order actions. Click on an action to select it.

Main Keyboard

You can use this dialog in the same way as that of the mouse wheel. Events are related to the arrow keys of the keyboard, combined or not with control keys.

图 12.22. Main Keyboard

Main Keyboard

[注意] 注意

You will find an example of these notions in Creating a variable size brush .

1.17. Window Management

图 12.23. Window Management Preferences

Window Management Preferences

This page lets you customize the way windows are handled in GIMP. You should note that GIMP does not manipulate windows directly, instead it sends requests to the window manager (i. e., to Windows if you are running in Windows; to Metacity if you are running in a standard Gnome setup in Linux; etc). Because there are many window managers, and not all of them are well behaved, it cannot be guaranteed that the functions described here will actually work as described. However, if you are using a modern, standards-compliant window manager, they ought to.

1.17.1. Options

Window Manager Hints

Window type hints for the toolbox and the docks

The choices you make here determine how the Toolbox, and the docks that hold dialogs, will be treated. You have three possibilities for them:

  • If you choose Normal Window, they will be treated like any other windows.

  • If you choose Utility Window, the reduce button in the title bar is absent and the docks will remain permanently on your screen.

    图 12.24. Utility window title bar

    Utility window title bar

    Normal title bar

    Utility window title bar

    The title bar in a utility window


  • If you choose Keep above, they will be kept in front of every other window at all times.

Note that changes you make here will not take effect until the next time you start GIMP.

Focus

Activate the focused image

Normally, when you focus an image window (usually indicated by a change in the color of the frame), it becomes the active image for GIMP, and therefore the target for any image-related actions you perform. Some people, though, prefer to set up their window managers such that any window entered by the pointer is automatically focused. If you do this, you may find that it is inconvenient for focused images to automatically become active, and may be happier if you uncheck this option.

Window Positions

Save window positions on exit

If this option is checked, the next time you start GIMP, you will see the same set of dialog windows, in the same positions they occupied when you last exited.

Save Window Positions Now

This button is only useful if "Save window positions on exit" is unchecked. It allows you to set up your windows they way you like, click the button, and then have them come up in that arrangement each time you start GIMP.

Reset Saved Window Positions to Default Values

If you decide that you are unhappy with the arrangement of windows you have saved, and would rather go back to the default arrangement than spend time moving them around, you can do so by pressing this button.

1.18. Folders

图 12.25. Basic Folder Preferences

Basic Folder Preferences

This page allows you to set the locations for two important folders used by GIMP for temporary files. The pages below it allow you to customize the locations searched for resources such as brushes etc.; see Data Folders for a description that applies to them. You can change the folders here by editing the entries, or by pressing the buttons on the right to bring up a file chooser window.

Folders

Temp folder

This folder is used for temporary files: files created for temporary storage of working data, and then deleted within the same GIMP session. It does not require a lot of space or high performance. By default, a subdirectory called tmp in your personal GIMP directory is used, but if that disk is very cramped for space, or has serious performance issues, you can change it to a different directory. The directory must exist and be writable by you, or bad things will happen.

Swap folder

This is the folder used as a memory bank when the total size of images and data open in GIMP exceeds the available RAM. If you work with very large images, or images with many layers, or have many images open at once, GIMP can potentially require hundreds of megabytes of swap space, so available disk space and performance are definitely things to think about for this folder. By default, it is set to your personal GIMP directory, but if you have another disk with more free space, or substantially better performance, you may see a significant benefit from moving your swap folder there. The directory must exist and be writable by you.

1.19. Data Folders

图 12.26. Preferences: Brush Folders

Preferences: Brush Folders

GIMP uses several types of resources – such as brushes, patterns, gradients, etc. – for which a basic set are supplied by GIMP when it is installed, and others can be created or downloaded by the user. For each such resource type, there is a Preference page that allows you to specify the search path: the set of directories from which items of the type in question are automatically loaded when GIMP starts. These pages all look very much the same: the page for brushes is shown to the right as an example.

By default, the search path includes two folders: a system folder, where items installed along with GIMP are placed, and a personal folder, inside your personal GIMP directory, where items added by you should be placed. The system folder should not be marked as writable, and you should not try to alter its contents. The personal folder must be marked as writable or it is useless, because there is nothing inside it except what you put there.

You can customize the search path with the buttons at the top of the dialog.

Options

Select a Folder

If you click on one of the folders in the list, it is selected for whatever action comes next.

Add/Replace Folder

If you type the name of a folder in the entry space, or navigate to it using the file chooser button on the right, and then click the left button, this will replace the selected folder with the one you have specified. If nothing in the list is selected, the folder you specify will be added to the list. If the light-symbol to the left of the text entry area is red instead of green, it means that the folder you have specified does not exist. GIMP will not create it for you, so you should do this immediately.

Move Up/Down

If you click on the up-arrow or down-arrow buttons, the selected folder will be changed to the following or preceding one in the list. Since the folders are read in order, using those buttons change the loading precedence of the items located in those folders.

Delete Folder

If you click the trash-can button, the selected folder will be deleted from the list. (The folder itself is not affected; it is merely removed from the search path.) Deleting the system folder is probably a bad idea, but nothing prevents you from doing it.