gimp/gimprc.in

298 lines
11 KiB
Plaintext
Raw Normal View History

# This is the system-wide gimprc file. Any change made in this file
# will affect all users of this system, provided that they are not
# overriding the default values in their personal gimprc file.
#
1997-11-25 06:05:25 +08:00
# Lines that start with a '#' are comments.
# Blank lines are ignored.
# The variable gimp_dir is set to either the interned value
# @gimpdir@ or the environment variable GIMP_DIRECTORY. If
# the path in GIMP_DIRECTORY is relative, it is considered
# relative to your home directory.
(prefix "@prefix@")
(exec_prefix "@exec_prefix@")
(gimp_data_dir "@gimpdatadir@")
(gimp_plugin_dir "@gimpplugindir@")
# Set the temporary storage directory...files will appear here
# during the course of running the gimp. Most files will disappear
# when the gimp exits, but some files are likely to remain,
# such as working palette files, so it is best if this directory
# not be one that is shared by other users or is cleared on machine
# reboot such as /tmp.
(temp-path "${gimp_dir}/tmp")
# Set the swap file location. The gimp uses a tile based memory
# allocation scheme. The swap file is used to quickly and easily
# swap files out to disk and back in. Be aware that the swap file
# can easily get very large if the gimp is used with large images.
# Also, things can get horribly slow if the swap file is created on
# a directory that is mounted over NFS. For these reasons, it may
# be desirable to put your swap file in "/tmp".
(swap-path "${gimp_dir}")
# Set the brush search path...this path will be searched for valid
# brushes at startup.
(brush-path "${gimp_dir}/brushes:${gimp_data_dir}/brushes")
1999-09-25 02:28:35 +08:00
# Set the generated brush search path...this path will be searched for valid
# generated brushes at startup.
(brush-vbr-path "${gimp_dir}/generated_brushes")
1997-11-25 06:05:25 +08:00
# Specify a default brush. If none is specified it defaults to the
# "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path.
(default-brush "19fcircle.gbr")
# Set the pattern search path...this path will be searched for valid
# patterns at startup.
(pattern-path "${gimp_dir}/patterns:${gimp_data_dir}/patterns")
# Specify a default pattern.
# The pattern is searched for in the specified pattern paths.
(default-pattern "wood2.pat")
# Set the palette search path...this path will be searched for valid
# palettes at startup.
(palette-path "${gimp_dir}/palettes")
1997-11-25 06:05:25 +08:00
# Specify a default palette.
# The pattern is searched for in the specified pattern paths.
(default-palette "Default")
# Set the gradient search path...this path will be searched for valid
# gradients at startup.
(gradient-path "${gimp_dir}/gradients:${gimp_data_dir}/gradients")
# Specify a default gradient.
# The gradient is searched for in the specified gradient paths.
(default-gradient "German_flag_smooth")
# Set the plug-in search path...this path will be searched for
# plug-ins when the plug-in is run.
(plug-in-path "${gimp_dir}/plug-ins:${gimp_plugin_dir}/plug-ins")
1997-11-25 06:05:25 +08:00
# Set the path for the script-fu plug-in. This value is ignored by
# the GIMP if the script-fu plug-in is never run.
(script-fu-path "${gimp_dir}/scripts:${gimp_data_dir}/scripts")
Bit of a large checkin this - it's basically three things: 1 - GimpModules Sun Jan 11 00:24:21 GMT 1999 Austin Donnelly <austin@greenend.org.uk> Bit of a large checkin this - it's basically three things: 1 - GimpModules using gmodules to dynamically load and initialise modules at gimp start of day. 2 - Color selectors now register themselves with a color notebook. 3 - progress bars have been cleaned up a bit, so now have progress indictations on all transform tool and gradient fill operations. Not done bucket fill, but that seems to be the next candidate. New directories: * modules/: new directory for dynamically loadable modules. New files: * modules/.cvsignore * modules/Makefile.am * modules/colorsel_gtk.c: GTK color selector wrapped up as a color selector the gimp can use. * app/gimpprogress.[ch]: progress bars within gimp core, either as popups, or in the status bar. This is mainly code moved out of plug-in.c * app/color_notebook.[ch]: color selector notebook, implementing very similar interface to color_select.h so it can be used as a drop-in replacement for it. * libgimp/color_selector.h: API color selectors need to implement to become a page in the color_notebook. * libgimp/gimpmodule.h: API gimp modules need to implement to be initialised by gimp at start of day. Modified files: * Makefile.am: add modules/ to SUBDIRS * libgimp/Makefile.am: install gimpmodule.h and color_selector.h * app/gimprc.[ch]: recognise module-path variable. * gimprc.in: set module-path variable to something sensible (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules"). * app/Makefile.am: build color notebook and gimpprogress * app/app_procs.c: register internal GIMP color selector with color notebook. * app/asupsample.c: call progress function less frequently for better performance. * app/asupsample.h: progress_func_t typedef moved to gimpprogress.h * app/blend.c: make callbacks to a progress function * app/color_area.c: use a color notebook rather than a color selector * app/color_panel.c: ditto * app/color_select.c: export color selector interface for notebook * app/color_select.h: color_select_init() prototype * app/flip_tool.c: flip the image every time, rather than every second click. * app/interface.c: move progress bar stuff out to gimpprogress.c. Make the code actually work while we're at it. * app/interface.h: move prototypes for progress functions out to gimpprogress.h * app/plug_in.c: load and initialise modules (if possible). Move progress bar handling code out to gimpprogress.c * app/plug_in.h: keep only a gimp_progress * for each plugin, not a whole bunch of GtkWidgets. * app/scale_tool.c * app/rotate_tool.c * app/shear_tool.c * app/perspective_tool.c: progress bar during operation. De-sensitise the dialog to discourage the user from running two transforms in parallel. * app/transform_core.c: recalculate grid coords when bounding box changes. Only initialise the action area of the dialog once, to avoid multiple "ok" / "reset" buttons appearing. Undraw transform tool with correct matrix to get rid of handle remains on screen. Call a progress function as we apply the transform matrix. A few new i18n markups. Invalidate floating selection marching ants after applying matrix. * app/transform_core.h: transform_core_do() takes an optional progress callback argument (and data). * plug-ins/oilify/oilify.c: send progress bar updates after every pixel region, not only if they processed a multiple of 5 pixels (which was quite unlikely, and therefore gave a jerky progress indication).
1999-01-11 08:57:33 +08:00
# Set the path to modules that are to be initialized at startup
(module-path "${gimp_dir}/modules:${gimp_plugin_dir}/modules")
1997-11-25 06:05:25 +08:00
# The tile cache is used to make sure the gimp doesn't thrash
# tiles between memory and disk. Setting this value higher will
# cause the gimp to use less swap space, but will also cause
# the gimp to use more memory. Conversely, a smaller cache size
# causes the gimp to use more swap space and less memory.
# Note: the gimp will still run even if `tile-cache-size' is
# set to 0. The actual size can contain a suffix of 'm', 'M',
# 'k', 'K', 'b' or 'B', which makes the gimp interpret the
# size as being specified in megabytes, kilobytes and bytes
# respectively. If no suffix is specified the size defaults to
# being specified in kilobytes.
(tile-cache-size 10m)
# Speed of marching ants in the selection outline
# this value is in milliseconds
# (less time indicates faster marching)
(marching-ants-speed 300)
# Set the number of operations kept on the undo stack
(undo-levels 5)
# Set the color-cube resource for dithering on 8-bit displays
# The 4 values stand for Shades of red, green, blue and grays
# Multiplying the # of shades of each primary color yields
# the total number of colors that will be allocated from the
# gimp colormap. This number should not exceed 256. Most of the
# colors remaining after the allocation of the colorcube
# will be left to the system palette in an effort to reduce
# colormap "flashing".
(color-cube 6 6 4 24)
# Install a GIMP colormap by default -- only for 8-bit displays
# (install-colormap)
# Specify that marching ants for selected regions will be drawn
# with colormap cycling as oposed to redrawing with different stipple masks
# this color cycling option works only with 8-bit displays
# (colormap-cycling)
# Tools such as fuzzy-select and bucket fill find regions based on a
# seed-fill algorithm. The seed fill starts at the intially selected
# pixel and progresses in all directions until the difference of pixel
# intensity from the original is greater than a specified threshold
# ==> This value represents the default threshold
(default-threshold 15)
# There is always a tradeoff between memory usage and speed. In most
# cases, the GIMP opts for speed over memory. However, if memory is
# a big issue, set stingy-memory-use
# (stingy-memory-use)
# When zooming into and out of images, this option enables the
# automatic resizing of windows
# (allow-resize-windows)
# Context-dependent cursors are cool. They are enabled by default.
# However, they require overhead that you may want to do without.
# Uncomment this line to disable them.
# (no-cursor-updating)
# Layer preview sizes:
# none: no previews in layers dialog/layer selector
# small: 32x32
# medium: 64x64
# large: 128x128
# #: #x#
(preview-size small)
# Tooltips
# Comment this out to disable the tooltips in the toolbox
# (dont-show-tool-tips)
1997-11-25 06:05:25 +08:00
# Controlling ruler visibility
# The default behavior is for rulers to be ON.
# This can also be toggled with the View->Toggle Rulers command
# or shift+control+r
1997-11-25 06:05:25 +08:00
# (dont-show-rulers)
# Default units
# This is the default unit of a new image. It will appear in the
# File/New dialog and will be the unit for coordinate display when
# dot-for-dot is off.
# The default units can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-units inches)
# Default Resolution units
# This is used to specify the resolution of a new image
# The units for the resolution can be one of:
# (inches millimeters points picas) plus those in your user units database
# The default is inches
(default-resolution-units inches)
# Default Resolution
# This is the default resolution of a new image in dpi
# The default is 72.0 dpi in both x and y direction
(default-xresolution 72.0)
(default-yresolution 72.0)
1997-11-25 06:05:25 +08:00
# Controlling statusbar visibility
# The default behavior is to show the statusbar.
# This can also be toggled with the View->Toggle Statusbar command
# or shift+control+s
# (dont-show-statusbar)
1997-11-25 06:05:25 +08:00
# Disable auto saving
# Auto saving is not yet implemented! Nothing will be auto-saved, no matter
# how you set this here.
1997-11-25 06:05:25 +08:00
# Just uncomment the line below...
# (dont-auto-save)
# Disable confirmation before closing an image without saving
# Just uncomment the next line
# (dont-confirm-on-close)
# By default GIMP remembers the positions and sizes of the main dialogs and
# advices your window-manager to place them there again the next time you
# use the GIMP. To disable this behaviour, uncomment the line below...
# (dont-save-session-info)
1999-09-25 02:28:35 +08:00
# Session managment
# To let GIMP try to restore your last saved session,
# just uncomment the line below...
# (always-restore-session)
1997-11-25 06:05:25 +08:00
# Setting the level of interpolation
# Uncommenting this line will enable cubic interpolation.
1999-09-25 02:28:35 +08:00
# By default, GIMP uses linear interpolation, which is faster, but
# has poorer quality
1997-11-25 06:05:25 +08:00
# (cubic-interpolation)
# Set the gamma correction values for the display
# 1.0 corresponds to no gamma correction. For most displays,
# gamma correction should be set to between 2.0 and 2.6
# Run the utility "gamma_correct" to determine appropriate values
# for your display.
#
# One important item to keep in mind: Many images that you might
# get from outside sources will in all likelihood already be
# gamma-corrected. In these cases, the image will look washed-out
# if the gimp has gamma-correction turned on. If you are going
# to work with images of this sort, turn gamma correction off
# by removing this line, or setting the values to 1.0.
# gamma-correction 1.0
# gamma-correction 2.0
1999-09-25 02:28:35 +08:00
#
1997-11-25 06:05:25 +08:00
(gamma-correction 1.0)
# Set the manner in which transparency is displayed in images
# Transparency type can be one of:
# 0: Light Checks
# 1: Mid-Tone Checks
# 2: Dark Checks
# 3: White Only
# 4: Gray Only
# 5: Black Only
# Check size can be one of:
# 0: Small
# 1: Medium
# 2: Large
(transparency-type 1)
(transparency-size 2)
# This string sets how image window titles are formatted.
# The following percent expansions are performed:
# %% literal percent sign
comment typo fix, plus add %D* to default image-title-format string, so Fri Oct 1 12:46:12 1999 Austin Donnelly <austin@gimp.org> * gimprc.in: comment typo fix, plus add %D* to default image-title-format string, so people get a '*' in the titlebar if their image is dirty. * app/fileops.c: initialise filename before using it. * app/gdisplay.c: empty parameter list () is K&R - should be stronger (void) in ANSI C. * app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions removed - no one uses them anyway. Parasite undo type is proper parasite undo type, not MISC_UNDO. * app/gimpdrawableP.h: drawable dirty bit removed. * app/gimpimage.c: don't change the resolution if there's no difference from the old one. Call gdisplay_shrink_wrap() to re-calculate scale factors and refresh the display on resolution change. Layer undo doesn't have sub-types anymore, uses main UndoType instead. * app/layer.h: Remove LayerUndoType * app/qmask.c: fix qmask undo so it actually works. * app/undo.h: new types for undo_push_layer{,_mask} and undo_push_qmask. * app/undo.c: change way group boundaries are represented: each Undo has a group_boundary boolean set to TRUE if this is the start or the end of a group, and the type of the Undo is the group's type. Within a group, each Undo keeps its own type. This allows pop funcs and free funcs to do type-specific things (eg needed by layer and channel stuff). Don't maintain per-drawable dirty flags anymore. Floating sel to layer and layer rename now uses meaningful undo types. * app/undo_types.h: more specific undo types: LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO, LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO. * app/undo_history.c: oops - undo stack was being placed into gtk list in wrong order. * app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO rather than MISC_UNDO. * app/layers_dialog.c: better tagging of undo types
1999-10-02 02:43:24 +08:00
# %f bare filename, or "Untitled"
# %F full path to file
# %p PDB image id
# %i view instance number
# %t image type (RGB, indexed, greyscale)
# %z zoom factor as a percentage
# %s source scale factor
comment typo fix, plus add %D* to default image-title-format string, so Fri Oct 1 12:46:12 1999 Austin Donnelly <austin@gimp.org> * gimprc.in: comment typo fix, plus add %D* to default image-title-format string, so people get a '*' in the titlebar if their image is dirty. * app/fileops.c: initialise filename before using it. * app/gdisplay.c: empty parameter list () is K&R - should be stronger (void) in ANSI C. * app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions removed - no one uses them anyway. Parasite undo type is proper parasite undo type, not MISC_UNDO. * app/gimpdrawableP.h: drawable dirty bit removed. * app/gimpimage.c: don't change the resolution if there's no difference from the old one. Call gdisplay_shrink_wrap() to re-calculate scale factors and refresh the display on resolution change. Layer undo doesn't have sub-types anymore, uses main UndoType instead. * app/layer.h: Remove LayerUndoType * app/qmask.c: fix qmask undo so it actually works. * app/undo.h: new types for undo_push_layer{,_mask} and undo_push_qmask. * app/undo.c: change way group boundaries are represented: each Undo has a group_boundary boolean set to TRUE if this is the start or the end of a group, and the type of the Undo is the group's type. Within a group, each Undo keeps its own type. This allows pop funcs and free funcs to do type-specific things (eg needed by layer and channel stuff). Don't maintain per-drawable dirty flags anymore. Floating sel to layer and layer rename now uses meaningful undo types. * app/undo_types.h: more specific undo types: LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO, LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO. * app/undo_history.c: oops - undo stack was being placed into gtk list in wrong order. * app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO rather than MISC_UNDO. * app/layers_dialog.c: better tagging of undo types
1999-10-02 02:43:24 +08:00
# %d destination scale factor
1999-09-25 02:28:35 +08:00
# %Dx expands to x if the image is dirty
comment typo fix, plus add %D* to default image-title-format string, so Fri Oct 1 12:46:12 1999 Austin Donnelly <austin@gimp.org> * gimprc.in: comment typo fix, plus add %D* to default image-title-format string, so people get a '*' in the titlebar if their image is dirty. * app/fileops.c: initialise filename before using it. * app/gdisplay.c: empty parameter list () is K&R - should be stronger (void) in ANSI C. * app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions removed - no one uses them anyway. Parasite undo type is proper parasite undo type, not MISC_UNDO. * app/gimpdrawableP.h: drawable dirty bit removed. * app/gimpimage.c: don't change the resolution if there's no difference from the old one. Call gdisplay_shrink_wrap() to re-calculate scale factors and refresh the display on resolution change. Layer undo doesn't have sub-types anymore, uses main UndoType instead. * app/layer.h: Remove LayerUndoType * app/qmask.c: fix qmask undo so it actually works. * app/undo.h: new types for undo_push_layer{,_mask} and undo_push_qmask. * app/undo.c: change way group boundaries are represented: each Undo has a group_boundary boolean set to TRUE if this is the start or the end of a group, and the type of the Undo is the group's type. Within a group, each Undo keeps its own type. This allows pop funcs and free funcs to do type-specific things (eg needed by layer and channel stuff). Don't maintain per-drawable dirty flags anymore. Floating sel to layer and layer rename now uses meaningful undo types. * app/undo_types.h: more specific undo types: LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO, LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO. * app/undo_history.c: oops - undo stack was being placed into gtk list in wrong order. * app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO rather than MISC_UNDO. * app/layers_dialog.c: better tagging of undo types
1999-10-02 02:43:24 +08:00
# See gimprc(5) for further details.
(image-title-format "%D*%f-%p.%i (%t) %z%%")
1999-09-25 02:28:35 +08:00
# Global paint options
# By default options for the paint tools are global, e.g. all paint tools
# use the options you specify in the brushes dialog. You can change this
# so each tool has its own settings by uncommenting the next line.
# (no-global-paint-options)
# Maximal new image size
# To prevent mistakes Gimp will warn you if you try to create a very large
# image. The default maximum memory consumption of the new image that
# triggers the warning is 32MB.
(max-new-image-size 32M)
# Trust dirty flag
# Gimp tries to keep track of changes to an image. If you trust this
# behaviour, nothing will happen if you save an unchanged image. By default
# this is turned off.
# Just uncomment the following line if you trust the dirty flag.
# (trust-dirty-flag)
# Gfig search path
# This path will be searched for Gfig figures when you use the Gfig plug-in.
(gfig-path "${gimp_dir}/gfig:${gimp_data_dir}/gfig")
1999-09-25 02:28:35 +08:00
# Fractalexplorer path
# This path will be searched for fractals when you use the Fractalexplorer
# plug-in.
(fractalexplorer-path "${gimp_dir}/fractalexplorer:${gimp_data_dir}/fractalexplorer")
1999-09-25 02:28:35 +08:00
# GFlare path
# This path will be searched for gflares when you use the GFlare plug-in.
(gflare-path "${gimp_dir}/gflare:${gimp_data_dir}/gflare")
# [end of file]
1999-09-25 02:28:35 +08:00