You may also change the preferences by editing various files;
the GIMP uses gimprc
and gtkrc
,
both found in $HOME/.gimp/
. These will be described
after the Preferences dialog.
The Preferences dialog reads data from both the system gimprc and a user's personal .gimprc file. Saving the preferences updates the user's personal .gimprc file. Only settings actually changed in the Preferences dialog will be saved. This gives the system administrator an easy way to make global changes, but also means that behavior may suddenly change if a new version of the GIMP is installed.
The system gimprc file location may vary between installations; the default is in /usr/local/share/gimp/gimprc . If you need to find this file and it's not there, you need to talk with the person who installed GIMP on your system.
The user's personal .gimprc file resides by default in $HOME/gimp/.gimprc .
Four sub-panels are available: Display, Interface, Environment, and Directories.
TIP: If you use (or expect to use) a different image size every time you need a new image, set the Image size parameters to something fairly small; you'll be overwriting them, anyway, but if you just hit [OK] for a new image, you won't waste a lot of memory and screen real estate. If you find you need something larger, you can always change your preferences! |
Preview size defaults to Small. It can also be set to None, Medium, or Large
Normally, GIMP uses linear interpolation. If you are unhappy with the colors in your image (for instance after resizing), you can try setting Cubic Interpolation and trying the offending operations again. Cubic Interpolation wil take longer but sometimes yields much better results.
For details on the various types of interpolation, consult a good graphics reference book.
Note that these affect only the appearance of transparent layers, not the final image!
The undo level simply defines how many operations the GIMP remembers how to undo. Successive undo attempts up to this number should work correctly; beyond this, nothing happens when you attempt an undo.
This defaults to 5. If you expect to need more undo levels, make this as large as you need to, but realize that each undo level requires space to save an image state. Also, nervous fingers on the moue can take you farther back than you intended!
You can always use your window manager to resize the window, so this should be set for your defauilt case - do you usually want the window to expand (and contract) as you zoom in and out, or not?
This may not work on all systems.
This results in color flashing - the situation where moving your cursor into or out of an app causes the screen to flash, usually making the other apps (including the background) "go technicolor".
If you only run out of colors when GIMP and some other, particular application is up, you may prefer to tell the other application to use a private colormap, instead. Netscape Navigator, for instance, can be invoked with the "-install" (install a private colormap) options:
netscape -install
The only problem is that this is done in the colormap, which means that the cycled colors are cycled for all on-screen applications, including the window manager. This can be disconcerting, annoying, even painful in some individuals. If things flashing all around you don't bother you, feel free to try this.
/usr/local/share/gimp/brushes/
but you as a user can also have brushes of your own in a personal
directory such as /home/fred/.gimp/brushes/
.
Private directories (and other personal, GIMP-related files) are
normally kept somewhere under $HOME/.gimp/
.
Some of the directories referenced in this preferences panel are simple directories, while others are lists of directories separated by colons.
$HOME/.gimp/tmp
/home/meo/.gimp
/home/meo/.gimp/brushes:\ /usr/local/share/gimp/brushes
In reality these would be on one line, without the backslash ('\'). They are shown this way to work better with browsers on smaller screens.
/home/meo/.gimp/gradients:\ /usr/local/share/gimp/gradients
In reality these would be on one line, without the backslash ('\'). They are shown this way to work better with browsers on smaller screens.
/home/meo/.gimp/patterns:\ /usr/local/share/gimp/patterns
In reality these would be on one line, without the backslash ('\'). They are shown this way to work better with browsers on smaller screens.
/home/meo/.gimp/palettes
In reality these would be on one line, without the backslash ('\'). They are shown this way to work better with browsers on smaller screens.
If you add other extensions which use plug-ins, you will need to check whether their installation procedures added their plug-in directories to this parameter. If not, you will need to do so manually before the new plug-ins will work. Default:
/home/meo/.gimp/plug-ins:\ /home/meo/.gimp/plug-ins/script-fu:\ /usr/local/lib/gimp/1.0/plug-ins
In reality these would be on one line, without the backslash ('\'). They are shown this way to work better with browsers on smaller screens.
gimprc variable names are all formed of lower case alphabetic characters
and hyphens ('-'), also known as dashes. Most of the GIMP preferences
variables are of common types - strings, integers, booleans and paths.
Paths are strings containing one or more file system paths, where multiple
file system paths are separated by colons. Variables of any type
other than boolean may include other variables. For the most part
you don't care about this, except that you will notice that many paths
contain components like ${gimp_dir} (that's how you reference a GIMP
variable) . These are defined at the time the GIMP is built; standard
builds will default ${gimp_dir} to $HOME/.gimp
and
${gimp_data_dir} to /usr/local/share/1.0
. You may override
${gimp_dir} by setting the environment variable GIMP_DIRECTORY .
Variable type | Example |
---|---|
boolean | (install-colormap) |
int | (default-threshold 15) |
string | (default-brush.gbr") |
path | (pattern-path "${gimp_dir}/patterns:${gimp_data_dir}/patterns") |
other | (color-cube 6 6 4 24) |
The following list contains all the current GIMP variables which may be set in gimprc files. Most of these also appear in the Preferences dialog. A few of them will not take effect for the current GIMP session if set via the Preferences dialog; for these you must restart the GIMP. The last few variables are not used by the GIMP itself, but by extensions or plugins. Most of these names are self-explanatory, but the detailed explanation of each variable (COMING SOON!) should answer any questions as to what a given variable affects. A few of these (such as positions) may be set only in the gimprc files.
Setting | Use | Type | Default |
---|---|---|---|
temp-path | path for temporary files | path | "${gimp_dir}/tmp" |
swap-path | path for swapping tiles | path | "${gimp_dir}" |
menu-path | menu path | path | none |
brush-path | where brushes are located | path | "${gimp_dir}/brushes:\ ${gimp_data_dir}/brushes" |
pattern-path | where patterns are locatewhere plugins are located | path | "${gimp_dir}/patterns:\ ${gimp_data_dir}/patterns" |
plug-in-path | where plugins are located | path | "${gimp_dir}/plug-ins:\ ${gimp_dir}/plug-ins/script-fu:\ ${gimp_plugin_dir}/plug-ins" |
palette-path | where palettes are located | path | "${gimp_dir}/palettes:\ ${gimp_data_dir}/palettes" |
gradient-path | where gradienst are located | path | "${gimp_dir}/gradients:\ ${gimp_data_dir}/gradients" |
default-brush | the default brush | string | "19fcircle.gbr" |
default-pattern | the default pattern | string | "wood2.pat" |
default-palette | the default palette | string | "Default" |
default-gradient | the default gradient | string | "German_flag_smooth" |
gamma-correction | monitor gamma correction | double | 1.0 |
color-cube | color cube definition | reds greens blues grays | 6 6 4 24 |
tile-cache-size | the amount of memory allocated for tile caching | size | 10M |
marching-ants-speed | the number of milliseconds between updates of moving dotted lines for selections | int | 300 |
undo-levels | number of levels you can undo | int | 5 |
transparency-type | type of transparency | 0 - 5 (see below) | 1 |
transparency-size | the size of the transparency checks (pseudo-background) | 0 - 2 (see below) | 2 |
install-colormap | whether to use a separate colormap for the gimp | boolean | false |
colormap-cycling | whether to use colormap cycling for the marching ants | boolean | false |
default-threshold | seed-fill pixel intensity difference threshold | int | 15 |
stingy-memory-use | whether efficient memory usage is more important than speed | boolean | false |
allow-resize-windows | whether windows auto-resize when zooming in or out | boolean | false |
cursor-updating | use context-dependent cursors | boolean | true |
no-cursor-updating | don't use context-dependent cursors | boolean | false |
preview-size | size of preview in layers dialog / selector | none, small, medium, or large (see below) | small |
show-rulers | show rulers around images | boolean | true |
dont-show-rulers | don't show rulers around images | boolean | false |
ruler-units | units rulers display in | pixels, inches, or centimeters | pixels |
auto-save | doesn't currently do anything! | boolean | true |
dont-auto-save | doesn't currently do anything! | boolean | false |
cubic-interpolation | use cubic interpolation (better quality) rather than linear interpolation (faster) | boolean | false |
toolbox-position | toolbox position | position | 0 0 |
progress-position | progress bar position | position | 170 5 |
info-position | info dialog position | position | 165 0 |
color-select-position | color selector dialog position | position | 140 120 |
tool-options-position | tool options dialog position | position | 0 345 |
confirm-on-close | confirm if closing without saving an image | boolean | true |
dont-confirm-on-close | don't confirm if closing without saving an image | boolean | false |
show-tips | show "Tip of the Day" dialog | boolean | true |
dont-show-tips | don't show "Tip of the Day" dialog | boolean | false |
last-tip-shown | index of last tip shown (you probably don't care!) | int | -1 |
default-image-size | default image size for new images | width height | 256 256 |
default-image-type | default image type for new images | RGB or grayscale | "RGB" |
plug-in | ??? | ??? | name |
plug-in-def | ??? | ??? | name |
show-tool-tips | show tool tips when cursor hovers over a control | boolean | true |
dont-show-tool-tips | don't show tool tips when cursor hovers over a control | boolean | false |
Used only by their respective programs | |||
script-fu-path | location of script-fu scripts | path | "${gimp_dir}/scripts:\ ${gimp_data_dir}/scripts" |
gfig-path | location of gfig data | path | "${gimp_dir}/gfig:\ ${gimp_data_dir}/gfig" |
gflare-path | location of gflare data | path | "${gimp_dir}/gflares:\ ${gimp_data_dir}/gflares" |
Copyright 1998 Miles O'Neal, Austin, TX. All rights reserved.