1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!-- Generated by fmtoweb (v. 2.9c) by Peter G. Martin -->
<HTML>
<HEAD><title>GUM v.1.0.0</title></HEAD><BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
<body>
<A HREF="Make.html"><IMG ALIGN = BOTTOM SRC = "prev.gif" ALT="Previous"></A>
<A HREF="Comsupport.html"><IMG ALIGN = BOTTOM SRC = "next.gif" ALT="Next"></A>
<A HREF="index2.html"><IMG ALIGN=BOTTOM SRC = "toc.gif" ALT="TOC"></A>
<A HREF="GimpmanualIX.html"><IMG ALIGN = BOTTOM SRC = "index.gif" ALT="Index"></A>
<A HREF="webfeedback.html"><IMG ALIGN = BOTTOM SRC = "feedback.gif" ALT="Feedback"></A><P>
<center><h1>GUM v.1.0.0</h1></center>
<hr>
<A name="996779"><!-- 996779 --></A>
<P>
<A name="996803"><!-- 996803 --></A>
<A name="996744"><!-- 996744 --></A>
<H1>A </H1>
<A name="996847"><!-- 996847 --></A>
<H1>Gimp start flags and rc-files</H1>
<A name="996890"><!-- 996890 --></A>
<EM>Most of the time Gimp is probably started by an icon or a menu in your favorite window manager but you can also start it by hand. There are also several initiation files that control the behavior of Gimp.</EM><br>
<A name="996891"><!-- 996891 --></A>
<H2>Gimp command line switches aka flags (options)</H2>
<A name="996892"><!-- 996892 --></A>
<P>A excellent source of information about the <EM>command line switches</EM> and <EM>environments</EM> that Gimp support is found in the Gimp <EM>man page</EM>. It's located in the <CODE>doc dir</CODE> in your Gimp source distribution and normally you only have to type <CODE>man gimp</CODE> after you have installed Gimp. </P>
<A name="997893"><!-- 997893 --></A>
<P>We will make a short description of each flag here in GUM. All of this is done in a shell, for example in an xterm window or rxvt window. As we mentioned earlier, you have probably hidden all this in your Window manager so you only have to click on a icon or drag at a menu. If you want to test <EM>flags</EM> and different <EM>environments</EM> or even run gimp without Xwindow you must do this in a shell.</P>
<A name="996893"><!-- 996893 --></A>
<P>Typing <CODE>gimp --help</CODE> or <CODE>gimp -h </CODE>and press <CODE>enter</CODE> will result in a short description of available flags that you can give Gimp.</P>
<A name="996894"><!-- 996894 --></A>
<PRE>[<CODE>olof@olof olof]$ gimp --help </CODE>
<CODE>Usage: gimp [option ...] [files ...]</CODE>
<CODE>Valid options are:</CODE>
<CODE> -h --help Output this help.</CODE>
<CODE> -v --version Output version info.</CODE>
<CODE> -b --batch <commands> Run in batch mode.</CODE>
<CODE> -n --no-interface Run without a user interface.</CODE>
<CODE> --no-data Do not load patterns, gradients, palettes, brushes.</CODE>
<CODE> --verbose Show startup messages.</CODE>
<CODE> --no-splash Do not show the startup window.</CODE>
<CODE> --no-splash-image Do not add an image to the startup window.</CODE>
<CODE> --no-shm Do not use shared memory between GIMP and its plugins.</CODE>
<CODE> --no-xshm Do not use the X Shared Memory extension.</CODE>
<CODE> --display <display> Use the designated X display.</CODE>
<CODE>[olof@olof olof]$</CODE>
</PRE><P>The <CODE>-h</CODE> and <CODE>--help</CODE> flags obviously printed out the above message. The <CODE>-v</CODE> and <CODE>--</CODE>version flags shows what version of Gimp you are running (this information is also available in the about dialog and the splash window that shows up when you start Gimp). It will typically look like this:</P>
<A name="996913"><!-- 996913 --></A>
<PRE>[olof@olof olof]$ gimp -v
GIMP version 1.0
</PRE><A name="996917"><!--996917--></A>
<P>Always visit <CODE>www.gimp.org or ftp.gimp.org</CODE> or one of it's mirrors to get the newest stable version of Gimp.</P>
<A name="996918"><!-- 996918 --></A>
<H4>Batch mode and "no-interface"</H4>
<A name="996919"><!-- 996919 --></A>
<P>The <EM>-b </EM>and <EM>--batch</EM> option allows you to execute Gimp with arguments to run. This is ideal if you want to execute a lot commands to a lot of files. Then its can be quite annoying to have a GUI to do it in (i.e. <EM>open</EM> image, <EM>apply</EM> commands, <EM>save</EM> image, <EM>open</EM> another image, apply command etc., you see it will be a lot of mouse training if you want to do this). The <CODE><command> </CODE>is a script-fu that will do the actual work for you (even if you can execute ordinary <CODE>gimp pdb</CODE> command directly)</P>
<A name="996925"><!-- 996925 --></A>
<P>The <EM>-n </EM>and <EM>--no</EM>-interface are suitable if you run Gimp in batch mode since you most of the time don't want to have a user interface if you are running a batch. This will also save some memory and system resources, so it would be quite pointless to fire up the user interface. Here is an example of two batch commands</P>
<A name="996921"><!-- 996921 --></A>
<PRE>gimp -n -b '(gimp-procedural-db-dump "pdb_dump.tmp")' '(gimp-quit 0)'
</PRE><P>which will dump Gimp's pdb database to a file called <CODE>pdb_dump.tmp</CODE> in your working directory. Here is a example of a custom script that is invoked by Gimp (<CODE>my-script</CODE> is your own personal custom script).</P>
<A name="996932"><!-- 996932 --></A>
<PRE>gimp -n -b '(my-script 1 "\"Sample text.\"")' '(gimp-quit 0)'
</PRE><P>The (gimp-quit 0) is so Gimp quits gracefully and returns the command prompt to you. </P>
<A name="996938"><!-- 996938 --></A>
<P>If you don't have Xwindow up and running (i.e you are running your UNIX session in a console that has no graphic capabilities or you have a modem connection to your UNIX host with a vt100 terminal only), then you still can run Gimp in batch mode, just do it like this:</P>
<A name="996939"><!-- 996939 --></A>
<PRE>Xvfb :1 -screen 0 10x10x8 -pixdepths 1 &
gimp --display :1.0 -n -b '<commandos> ' '(gimp-quit 0)'
</PRE><P>This will fire up an invisible X server, which you run Gimp in.</P>
<A name="996945"><!-- 996945 --></A>
<H4>More options</H4>
<A name="996946"><!-- 996946 --></A>
<P>As you saw above, we introduced a new flag<EM> --display</EM>, since X lets you run Gimp on one host and displaying it on another, you have to specify the display to run Gimp's user interface on. </P>
<A name="997911"><!-- 997911 --></A>
<P>Normally you run and display Gimp on the same host, and you don't have to barter about display settings. We will give you an example on how to use the display option in Gimp. Say that you have a "Supercomputer" at your campus running UNIX and this computer has Gimp installed. Then it would be more than efficient to edit huge Gimp images at this computer while displaying them at your local workstation or X-terminal. Here is a quick how to do it. At your workstation, you will have to execute a command allowing the Supercomputer to display Gimp on your workstation.</P>
<A name="996947"><!-- 996947 --></A>
<PRE>[olof@olof olof]$ xhost niceriver.frozenriver.com (my local supercomputer ;)
niceriver.frozenriver.com being added to access control list
</PRE><P>The second line tells us that we have enabled the "supercomputer" to access our X-server at our workstation. All we have to do now is to<CODE> telnet</CODE> or <CODE>rlogin</CODE> or <CODE>rsh</CODE> to the "supercomputer"</P>
<A name="996961"><!-- 996961 --></A>
<PRE>[olof@olof olof]$ rlogin niceriver.frozenriver.com
[olof@niceriver olof]$
</PRE><P>Now we are logged in to the "supercomputer". All we have to is to fire off Gimp and tell it where to display, i.e at <CODE>olof.frozenriver.com,</CODE> and which display to use at olof.frozenriver.com. Since we only have one display at <CODE>olof</CODE> we will use display number 0</P>
<A name="996968"><!-- 996968 --></A>
<PRE>gimp --no-xshm --display olof.frozenriver.com:0.0
</PRE><P>Now Gimp will display at your workstation and you can work with it just like you would have if you had run Gimp at your workstation. When you are finished with Gimp you just have to logout from the supercomputer and tell your workstation that you don't want the supercomputer accessing your X-server</P>
<A name="996971"><!-- 996971 --></A>
<PRE>[olof@olof olof]$ xhost - niceriver.frozenriver.com
niceriver.frozenriver.com being removed from access control list
</PRE><P>The last line tells us that the supercomputer no longer can access our X-server. There are of course better ways to handle remote display, i.e better security, automatic transfer of the display environment etc. but this is beyond the scope of this book.</P>
<A name="996977"><!-- 996977 --></A>
<P>As you saw above, we introduced a new option <CODE>--no-xshm</CODE>, which tells Gimp not to try to use X shared memory. We have to do this because we ran Gimp on a different host. If we run Gimp at the same host that we displayed Gimp at, we can use X shared memory to speed things up a little bit, and also so we will be lean onsystem resources. There is another shared memory flag<CODE> --no-shm </CODE>which tells Gimp not to share memory with its plug-ins. It's generally good to let Gimp do this but if you encounter problems it can be wise to turn it off.</P>
<A name="996979"><!-- 996979 --></A>
<P>The <CODE>--no-splash</CODE> tells Gimp to not show the splash when it starts. If you just tell Gimp<CODE> --no-splash-image</CODE> then the splash will be shown, but without the image.</P>
<A name="996987"><!-- 996987 --></A>
<P><CODE>--verbose</CODE> will start up Gimp+ a little more verbose and you will se in the shell how it's phrasing the different initiations files. </P>
<A name="996988"><!-- 996988 --></A>
<PRE>[olof@olof olof]$ gimp --verbose
parsing "/home/olof/.gimp/gtkrc"
parsing "/usr/local/share/gimp/gimprc"
parsing "/home/olof/.gimp/gimprc"
parsing "/home/olof/.gimp/pluginrc"
<A name="996995"><!--996995--></A>
writing "/home/olof/.gimp/pluginrc"
parsing "/home/olof/.gimp/menurc"
Starting extensions: extension_script_fu
</PRE><P>The last option is <CODE>--no-data</CODE> which you can use if you run Gimp in batch mode and don't need brushes, gradients, palettes or patterns. The start up time for Gimp will then be minimized.</P>
<A name="997000"><!-- 997000 --></A>
<H2>Initiations files aka rc files</H2>
<A name="997005"><!-- 997005 --></A>
<P>Gimp has a lot of initiations files which controls the behavior of Gimp. Most of the options that you set in different rc files are done by the <EM>preference</EM> dialog see chapter 5. We will only take a look at the options that you can't set from the dialog. </P>
<A name="997010"><!-- 997010 --></A>
<H3>gimprc and ~/.gimp/gimprc</H3>
<A name="997935"><!-- 997935 --></A>
<P>The <EM>system-wide</EM><CODE> gimprc</CODE> and the <EM>personal</EM> <CODE>gimprc</CODE> located in your gimp directory ( i.e usually <CODE>~/.gimp/gimprc</CODE>) control nearly all of Gimp's options. To change things in your <EM>personal</EM> <CODE>gimprc</CODE> file (<CODE>~/.gimp/gimprc</CODE>) you have to bring it up in an editor and edit the file.</P>
<A name="997012"><!-- 997012 --></A>
<P><CODE>[olof@olof olof]$ xemacs ~/.gimp/gimprc</CODE></P>
<A name="997014"><!-- 997014 --></A>
<P>There won't be much in it, because most of the options are written in the system-wide <CODE>gimprc</CODE> file (usually <CODE>/usr/local/share/gimp/gimprc)</CODE>. If you want to change a system-wide setting, then copy it from the system-wide <CODE>rc</CODE> file, paste it into your personal <CODE>rc</CODE> and then change the setting of it. Since the system-wide <CODE>rc</CODE> file is phrased before the personal <CODE>rc</CODE> file, everything written in the personal file will override what's written in the system-wide file. It's a good idea to open the system-wide <CODE>rc</CODE> file to get a glimpse of what you can change. If you are a system administrator it's wise to change the system-wide <CODE>rc</CODE> file to fit your site's needs. We will take a look at the<CODE> rc</CODE> file.</P>
<A name="997016"><!-- 997016 --></A>
<P>As you can see, the file is more or less self-explaining, and we will only comment on things that you can't set in the <EM>preference</EM> dialog.</P>
<A name="997254"><!-- 997254 --></A>
<PRE># 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.
#
# Lines that start with a '#' are comments.
# Blank lines are ignored.
# The variable gimp_dir is set to either the interned value
# .gimp or the environment variable GIMP_DIRECTORY. If
<A name="997215"><!--997215--></A>
# the path in GIMP_DIRECTORY is relative, it is considered
# relative to your home directory.
(prefix "/usr/local")
(exec_prefix "${prefix}")
(gimp_data_dir "${prefix}/share/gimp")
(gimp_plugin_dir "${exec_prefix}/lib/gimp/0.99")
</PRE><P>You <STRONG>shouldn't change</STRONG> these preferences, but if you feel you must, you can only do it in an <EM>editor</EM></P>
<A name="997223"><!-- 997223 --></A>
<PRE>
# 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")
# Specify a default brush. If none is specified it defaults to the
<A name="997245"><!--997245--></A>
# "1circle.gbr" brush which is just a single pixel sized brush.
# The brush is searched for in the brush path.
(default-brush "19fcircle.gbr")
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997249"><!-- 997249 --></A>
<PRE>
# 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")
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997023"><!-- 997023 --></A>
<PRE>
# Set the palette search path...this path will be searched for valid
# palettes at startup.
(palette-path "${gimp_dir}/palettes:${gimp_data_dir}/palettes")
# Specify a default palette.
# The pattern is searched for in the specified pattern paths.
(default-palette "Default")
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997031"><!-- 997031 --></A>
<PRE>
# 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.
<A name="997037"><!--997037--></A>
(default-gradient "German_flag_smooth")
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997039"><!-- 997039 --></A>
<PRE>
# 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_dir}/plug-ins/script-fu:${gimp_plugin_dir}/plug-ins")
# 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")
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997047"><!-- 997047 --></A>
<PRE>
# 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)
<A name="997066"><!--997066--></A>
# 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)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997079"><!-- 997079 --></A>
<PRE>
# 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 opposed 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 initially
# 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)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997094"><!-- 997094 --></A>
<PRE>
# 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)
# Controlling ruler visibility
# The default behavior is for rulers to be ON
<A name="997122"><!--997122--></A>
# This can also be toggled with the View->Show Rulers command or shift+control+r
# (dont-show-rulers)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997125"><!-- 997125 --></A>
<PRE>
# Ruler units
# The units of rulers can be one of: (pixels inches centimeters)
# The default is pixels
(ruler-units pixels)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog, but don't change it unless you know what you are doing.</P>
<A name="997130"><!-- 997130 --></A>
<PRE>
# Disable auto saving
# Just uncomment the line below...
# (dont-auto-save)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog, it doesn't do anything at the moment</P>
<A name="997134"><!-- 997134 --></A>
<PRE>
# Disable confirmation before closing an image without saving
# Just uncomment the next line
# (dont-confirm-on-close)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog</P>
<A name="997138"><!-- 997138 --></A>
<PRE>
# Setting the level of interpolation
# Uncommenting this line will enable cubic interpolation.
# By default, GIMP uses linear interpolation, which is faster, but has
# .poorer quality
# (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
<A name="997146"><!--997146--></A>
# 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
# ___
(gamma-correction 1.0)
</PRE><P><STRONG>Not adjustable</STRONG> in the pref. dialog, see the chapter 13 about how to make a gamma correction.</P>
<A name="997160"><!-- 997160 --></A>
<PRE>
# 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)
</PRE><P>The rest is paths for different plug-ins. Quite often you have to add a line like this to specify the path to auxiliary files for some new plug-ins. These lines are <STRONG>not adjustable</STRONG> in the pref. dialog</P>
<A name="997175"><!-- 997175 --></A>
<PRE>(fractalexplorer-path "${gimp_data_dir}/fractalexplorer:${gimp_dir}/fractalexplorer")
(gfig-path "${gimp_data_dir}/gfig:${gimp_dir}/gfig")
(gflare-path "${gimp_dir}/gflares:${gimp_data_dir}/gflares")
</PRE><H3>menurc</H3>
<A name="997270"><!-- 997270 --></A>
<P>This is a <EM>personal only</EM> file located in your<CODE> .gimp</CODE> directory. This is where all your dynamically changed <EM>key-bindings</EM> end up. The easiest way to edit this file is to do the key-binding in Gimp. The altered short cuts will be written to this file as soon as you quit Gimp. If your key-bindings are totally screwed, then remove the file.</P>
<A name="997271"><!-- 997271 --></A>
<PRE>[olof@olof olof]$ rm ~/.gimp/menurc
</PRE><P>There is also a key-binding file that will make Gimp use Photoshop's key-bindings. It's located in the <EM>system-wide</EM> directory and it's called<CODE> ps-menurc</CODE>. If you want to use it, just copy it to your<CODE> .gimp </CODE>directory </P>
<A name="997274"><!-- 997274 --></A>
<PRE>[olof@olof olof]$ cp /usr/local/share/gimp/ps-menurc ~/.gimp/
</PRE><P><EM>But why use Photoshop key-bindings when there are Gimp key-bindings?</EM></P>
<A name="997279"><!-- 997279 --></A>
<H3>pluginrc</H3>
<A name="997280"><!-- 997280 --></A>
<P>This file holds information about all the plug-ins available to Gimp. <STRONG>Do not edit this file!</STRONG> If Gimp starts to act spooky when it comes to plug-ins, then you can delete this file and Gimp will write a new one for you.</P>
<A name="997285"><!-- 997285 --></A>
<PRE>[olof@olof olof]$ rm ~/.gimp/pluginrc
</PRE><H3>gtkrc</H3>
<A name="997291"><!-- 997291 --></A>
<P>This file is also a <EM>personal only</EM> file. It controls the behavior of the <EM>GTK</EM> <EM>tool kit</EM> that Gimp uses for its menus, tabfolders etc.... One of the few reasons to edit this file is to change the font that Gimp uses in the menus. You maybe want to make it bigger or smaller. Here is an extract:</P>
<A name="997295"><!-- 997295 --></A>
<PRE># style <name> [= <name>]
# {
# <option>
# }
#
<A name="997301"><!--997301--></A>
# widget <widget_set> style <style_name>
# widget_class <widget_class_set> style <style_name>
style "ruler"
{
font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
}
style "default"
{
font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
}
#style "lsystem_rules"
#{
# font = "-*-courier-medium-r-normal--*-100-100-100-m-*-*-*"
#}
widget_class "*Ruler*" style "ruler"
widget_class "*" style "default"
</PRE><P>To understand how to change the font line, please read chapter 10 and 40. This file is otherwise quite self-explaining.</P>
<A name="997327"><!-- 997327 --></A>
<H2>Installing a new Gimp</H2>
<A name="997328"><!-- 997328 --></A>
<P>If you are installing a new version of Gimp, please remember to remove your personal <CODE>rc</CODE>files. We mostly do this by renaming our <CODE>.gimp</CODE> directory to<CODE> .gimp.old.</CODE> Then we can always open our old files and cut and copy special file modifications.</P>
<A name="996768"><!-- 996768 --></A>
<P>
<P><HR>
<EM>Generated by <STRONG>fmtoweb (v. 2.9c)</STRONG> written by Peter G. Martin <a href="mailto:peterm@zeta.org.au"><peterm@zeta.org.au></a> Last modified: 20 May 1998</EM><P>
<A HREF="Make.html"><IMG ALIGN = BOTTOM SRC = "prev.gif" ALT="Previous"></A>
<A HREF="Comsupport.html"><IMG ALIGN = BOTTOM SRC = "next.gif" ALT="Next"></A>
<A HREF="index2.html"><IMG ALIGN=BOTTOM SRC = "toc.gif" ALT="TOC"></A>
<A HREF="GimpmanualIX.html"><IMG ALIGN = BOTTOM SRC = "index.gif" ALT="Index"></A>
<A HREF="webfeedback.html"><IMG ALIGN = BOTTOM SRC = "feedback.gif" ALT="Feedback"></A><P>
</BODY>
</HTML>
|