gimprc-1.2.5.in 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. .\" Hey Emacs! This file is -*- nroff -*- source.
  2. .\"
  3. .\" This manpage is Copyright (C) 1999 Austin Donnelly <austin@gimp.org>
  4. .\"
  5. .\" Permission is granted to make and distribute verbatim copies of this
  6. .\" manual provided the copyright notice and this permission notice are
  7. .\" preserved on all copies.
  8. .\"
  9. .\" Permission is granted to copy and distribute modified versions of this
  10. .\" manual under the conditions for verbatim copying, provided that the
  11. .\" entire resulting derived work is distributed under the terms of a
  12. .\" permission notice identical to this one
  13. .\"
  14. .\" Since the gimp is constantly changing, this manual page may be
  15. .\" incorrect or out-of-date. The author(s) assume no responsibility
  16. .\" for errors or omissions, or for damages resulting from the use of
  17. .\" the information contained herein. The author(s) may not
  18. .\" have taken the same level of care in the production of this manual,
  19. .\" which is licensed free of charge, as they might when working
  20. .\" professionally.
  21. .\"
  22. .\" Formatted or processed versions of this manual, if unaccompanied by
  23. .\" the source, must acknowledge the copyright and authors of this work.
  24. .\"
  25. .\" Sun Feb 7 22:22:38 GMT 1999 Austin Donnelly <austin@gimp.org>
  26. .\" * initial revision
  27. .\"
  28. .\" Sat Feb 13 23:47:36 GMT 1999 Austin Donnelly <austin@gimp.org>
  29. .\" * added section on path expansion, and renamed to gimprc.5.in
  30. .\"
  31. .\" Wed Mar 3 13:09:52 MET 1999 Sven Neumann <sven@gimp.org>
  32. .\" * reflect the changes that were made to the resolution stuff
  33. .\"
  34. .\" Thu Oct 12 20:14:36 PDT 2000 Ben Gertzfield <che@debian.org>
  35. .\" * Move gimprc to gimpsysconfdir, make FILES section reflect this
  36. .\" * Removed .gimp-1.1 hard ref, replace with gimpdir
  37. .\"
  38. .TH GIMPRC 5 "14 Oct 2000" "Version @GIMP_VERSION@" "GIMP Manual Pages"
  39. .SH NAME
  40. gimprc \- gimp configuration file
  41. .SH DESCRIPTION
  42. The
  43. .B gimprc
  44. file is a configuation file read by the gimp when it starts up. There
  45. are two of these: one system-wide one stored in
  46. @gimpsysconfdir@/gimprc and a per-user \fB$HOME\fP/@gimpdir@/gimprc
  47. which may override system settings.
  48. Comments are introduced by a hash sign (#), and continue until the
  49. end of the line. Blank lines are ignored.
  50. The
  51. .B gimprc
  52. file associates values with properties. These properties may be set
  53. by lisp-like assignments of the form:
  54. .IP
  55. \f3(\f2property-name\ \ \ value\f3)\f1
  56. .TP
  57. where:
  58. .TP 10
  59. .I property-name
  60. is one of the property names described below.
  61. .TP
  62. .I value
  63. is the value the property is to be set to.
  64. .PP
  65. Either spaces or tabs may be used to separate the name from the value.
  66. The values have an associated type, described below:
  67. .TP
  68. .I STRING
  69. A sequence of characters surrounded by double-quotes ("). A backslash
  70. (\\) may be used to escape either double-quote or itself to generate a
  71. literal double-quote or a literal backslash.
  72. .TP
  73. .I PATH
  74. Same as STRING, but path-expansion (see below) is also performed.
  75. .TP
  76. .I DOUBLE
  77. An optional minus sign (-) followed by zero or more decimal digits,
  78. and optionally a decimal-point (.) followed by zero or more decimal
  79. digits.
  80. .TP
  81. .I FLOAT
  82. Same as DOUBLE.
  83. .TP
  84. .I INT
  85. Same as DOUBLE, except the value is rounded to the next lowest integer.
  86. .TP
  87. .I BOOLEAN
  88. One of
  89. .BR true ", " on ", " yes ", "
  90. .BR false ", " off ", or " no "."
  91. Alternatively, the empty string is interpreted to mean
  92. .BR true "."
  93. .TP
  94. .I POSITION
  95. Same as two INTs separated by whitespace.
  96. .TP
  97. .I MEMSIZE
  98. An INT followed by a size specifier. A size specifier is one of
  99. .BR m ", " M ", "
  100. .BR k ", " K ", "
  101. .BR b ", or " B "."
  102. The size specified may be omitted, in which case it defaults to
  103. .BR k "."
  104. .TP
  105. .I IMAGETYPE
  106. One of
  107. .BR rgb ", " grey ", or " gray "."
  108. .TP
  109. .I COLORCUBE
  110. Four whitespace separated INTs, giving the number of shades of red,
  111. green, blue and grey (respectively) in the color cube.
  112. .TP
  113. .I PREVIEWSIZE
  114. One of
  115. .BR none ", "tiny ", " small ", " medium ", "large " or " huge ", "
  116. or an INT. tiny is 24x24, small is 32x32, medium is 48x48,
  117. large is 64x64 and huge is 128x128.
  118. .TP
  119. .I UNIT
  120. One of
  121. .BR inches ", " millimeters ", " picas ", or " points
  122. or the identifier of one of the units you have defined in your user
  123. units database.
  124. .PP
  125. .SH PROPERTIES
  126. Valid properties and their types:
  127. .TP
  128. .I temp-path PATH
  129. Set the temporary storage directory. Files will appear here
  130. during the course of running the gimp. Most files will disappear
  131. when the gimp exits, but some files are likely to remain,
  132. such as working palette files, so it is best if this directory
  133. not be one that is shared by other users or is cleared on machine
  134. reboot such as /tmp.
  135. .TP
  136. .I swap-path PATH
  137. Set the swap file location. The gimp uses a tile based memory
  138. allocation scheme. The swap file is used to quickly and easily
  139. swap tiles out to disk and back in. Be aware that the swap file
  140. can easily get very large if the gimp is used with large images.
  141. Also, things can get horribly slow if the swap file is created on
  142. a directory that is mounted over NFS. For these reasons, it may
  143. be desirable to put your swap file in "/tmp".
  144. .TP
  145. .I brush-path PATH
  146. Set the brush search path. This is a colon-separated list of
  147. directories to be searched for brushes.
  148. .TP
  149. .I pattern-path PATH
  150. Set the pattern search path. This is a colon-separated list of
  151. directories to be searched for patterns.
  152. .TP
  153. .I plug-in-path PATH
  154. Set the plug-in search path. This is a colon-separated list of
  155. directories which will be scanned at startup to register new plugins.
  156. .TP
  157. .I palette-path PATH
  158. Set the palette search path. This is a colon-separated list of
  159. directories to be searched for palettes.
  160. .TP
  161. .I gradient-path PATH
  162. Set the gradient search path. This is a colon-separated list of
  163. directories to be searched for gradients.
  164. .TP
  165. .I module-path PATH
  166. Set the module search path. This is a colon-separated list of
  167. directories which will be scanned at startup for modules to be loaded.
  168. .TP
  169. .I default-brush STRING
  170. Specify a default brush. This doesn't actually do anything any more,
  171. since the default brush is set as part of the saved device status.
  172. .TP
  173. .I default-pattern STRING
  174. Specify a default pattern. The pattern is searched for in the
  175. specified pattern path.
  176. .TP
  177. .I default-palette STRING
  178. Specify a default palette. The palette is searched for in the
  179. specified palette path.
  180. .TP
  181. .I default-gradient STRING
  182. Specify a default gradient. The gradient is searched for in the
  183. specified gradient path.
  184. .TP
  185. .I gamma-correction DOUBLE
  186. Set the gamma correction value for the display. 1.0 corresponds to no
  187. gamma correction. For most displays, gamma correction should be set
  188. to between 2.0 and 2.6 Run the utility "gamma_correct" to determine
  189. appropriate values for your display. XXX is this valid info? One
  190. important item to keep in mind: Many images that you might get from
  191. outside sources will in all likelihood already be gamma-corrected. In
  192. these cases, the image will look washed-out if the gimp has
  193. gamma-correction turned on. If you are going to work with images of
  194. this sort, turn gamma correction off by setting the value to 1.0.
  195. .TP
  196. .I color-cube COLORCUBE
  197. Set the displays color cube. No longer used in gimp-1.2.x since the
  198. introduction of GdkRgb.
  199. .TP
  200. .I install-colormap BOOLEAN
  201. Install a private colormap by default - not actually used anymore since
  202. the introduction of GdkRgb.
  203. .TP
  204. .I tile-cache-size MEMSIZE
  205. The tile cache is used to make sure the gimp doesn't thrash
  206. tiles between memory and disk. Setting this value higher will
  207. cause the gimp to use less swap space, but will also cause
  208. the gimp to use more memory. Conversely, a smaller cache size
  209. causes the gimp to use more swap space and less memory.
  210. Note: the gimp will still run even if `tile-cache-size' is
  211. set to 0. The actual size can contain a suffix of 'm', 'M',
  212. 'k', 'K', 'b' or 'B', which makes the gimp interpret the
  213. size as being specified in megabytes, kilobytes and bytes
  214. respectively. If no suffix is specified the size defaults to
  215. being specified in kilobytes.
  216. .TP
  217. .I marching-ants-speed INT
  218. Speed of marching ants in the selection outline. This value is in
  219. milliseconds (less time indicates faster marching).
  220. .TP
  221. .I last-opened-size INT
  222. How many recently opened image filenames to keep on the File menu.
  223. .TP
  224. .I undo-levels INT
  225. Set the number of operations kept on the undo stack.
  226. .TP
  227. .I transparency-type INT
  228. Set the manner in which transparency is displayed in images.
  229. Transparency type can be one of 0 - Light Checks, 1 - Mid-Tone Checks,
  230. 2 - Dark Checks, 3 - White Only, 4 - Gray Only, or 5 - Black Only.
  231. .TP
  232. .I transparency-size INT
  233. Check size can be one of 0 - Small, 1 - Medium, or 2 - Large
  234. .TP
  235. .I perfect-mouse BOOLEAN
  236. If set to true, the X server is queried for the mouse's current
  237. position on each motion event, rather than relying on the position
  238. hint. This means painting with large brushes should be more accurate,
  239. but it may be slower. Perversely, on some X servers turning on this
  240. option results in faster painting.
  241. .TP
  242. .I colormap-cycling BOOLEAN
  243. Specify that marching ants for selected regions will be drawn with
  244. colormap cycling as oposed to redrawing with different stipple masks.
  245. This color cycling option works only with 8-bit displays.
  246. .TP
  247. .I default-threshold INT
  248. Tools such as fuzzy-select and bucket fill find regions based on a
  249. seed-fill algorithm. The seed fill starts at the intially selected
  250. pixel and progresses in all directions until the difference of pixel
  251. intensity from the original is greater than a specified threshold.
  252. This value represents the default threshold.
  253. .TP
  254. .I stingy-memory-use BOOLEAN
  255. There is always a tradeoff between memory usage and speed. In most
  256. cases, the GIMP opts for speed over memory. However, if memory is a
  257. big issue, set stingy-memory-use.
  258. .TP
  259. .I allow-resize-windows BOOLEAN
  260. When zooming into and out of images, this option enables the automatic
  261. resizing of windows.
  262. .TP
  263. .I dont-allow-resize-windows BOOLEAN
  264. Negated version of allow-resize-windows.
  265. .TP
  266. .I cursor-updating BOOLEAN
  267. Context-dependent cursors are cool. They are enabled by default.
  268. However, they require overhead that you may want to do without.
  269. .TP
  270. .I no-cursor-updating BOOLEAN
  271. Negated version of cursor-updating.
  272. .TP
  273. .I preview-size PREVIEWSIZE
  274. Set the layer preview size.
  275. .TP
  276. .I show-rulers BOOLEAN
  277. Set the ruler visibility. The default behavior is for rulers to be on.
  278. This can also be toggled with the View->Toggle Rulers command or
  279. shift+control+r.
  280. .TP
  281. .I dont-show-rulers BOOLEAN
  282. Negated version of show-rulers.
  283. .TP
  284. .I show-statusbar BOOLEAN
  285. Controlling statusbar visibility. The default behavior is to show the
  286. statusbar. This can also be toggled with the View->Toggle Statusbar
  287. command or shift+control+s.
  288. .TP
  289. .I dont-show-statusbar BOOLEAN
  290. Negated version of show-statusbar.
  291. .TP
  292. .I auto-save BOOLEAN
  293. Auto saving is not yet implemented! Nothing will be auto-saved, no
  294. matter how you set this.
  295. .TP
  296. .I dont-auto-save BOOLEAN
  297. Negated version of auto-save.
  298. .TP
  299. .I interpolation-type [nearest-neighbor|linear|cubic]
  300. Sets the level of interpolation used when scaling or transforming.
  301. By default, GIMP uses linear interpolation, which is faster, but has
  302. poorer quality than cubic interpolation.
  303. .TP
  304. .I confirm-on-close BOOLEAN
  305. Ask for confirmation before closing an image without saving. This is
  306. the default.
  307. .TP
  308. .I dont-confirm-on-close BOOLEAN
  309. Negated version of confirm-on-close.
  310. .TP
  311. .I save-session-info BOOLEAN
  312. Remember the positions and sizes of the main dialogs and asks your
  313. window-manager to place them there again the next time you use the
  314. GIMP.
  315. .TP
  316. .I dont-save-session-info BOOLEAN
  317. Negated version of save-session-info.
  318. .TP
  319. .I save-device-status BOOLEAN
  320. Remember the current tool, pattern, color, and brush across GIMP
  321. sessions.
  322. .TP
  323. .I dont-save-device-status BOOLEAN
  324. Negated version of save-device-status.
  325. .TP
  326. .I always-restore-session BOOLEAN
  327. Let GIMP try to restore your last saved session.
  328. .TP
  329. .I show-tips BOOLEAN
  330. Set to display a handy GIMP tip on startup.
  331. .TP
  332. .I dont-show-tips BOOLEAN
  333. Negated version of show-tips.
  334. .TP
  335. .I show-tool-tips BOOLEAN
  336. Set to display tooltips in the toolbox.
  337. .TP
  338. .I dont-show-tool-tips BOOLEAN
  339. Negated version of show-tool-tips.
  340. .TP
  341. .I default-image-size POSITION
  342. Set the default image size in the File/New dialog.
  343. .TP
  344. .I default-image-type IMAGETYPE
  345. Set the default image type in the File/New dialog.
  346. .TP
  347. .I default-units UNIT
  348. Set the default units for new images and for the File/New dialog.
  349. This units will be used for coordinate display when not in dot-for-dot
  350. mode. The default units can be one of inches , millimeters, points or
  351. picas or the identifier of one of the units defined in your user units
  352. database. The default is inches.
  353. .TP
  354. .I default-xresolution FLOAT
  355. Set the default horizontal resolution for new images and for the
  356. File/New dialog. This value is always in dpi (dots per inch).
  357. .TP
  358. .I default-yresolution FLOAT
  359. Set the default vertical resolution for new images and for the
  360. File/New dialog. This value is always in dpi (dots per inch).
  361. .TP
  362. .I default-resolution-units UNIT
  363. Set the units for the display of the default resolution in the
  364. File/New dialog. The default resolution units can be one of inches,
  365. millimeters, points or picas or the identifier of one of the units
  366. defined in your user unit database. The default is inches.
  367. .TP
  368. .I monitor-xresolution FLOAT
  369. Set the monitor's horizontal resolution, in dots per inch. If set to
  370. 0, forces the X server to be queried for both horizontal and vertical
  371. resolution information.
  372. .TP
  373. .I monitor-yresolution FLOAT
  374. Set the monitor's vertical resolution, in dots per inch. If set to
  375. 0, forces the X server to be queried for both horizontal and vertical
  376. resolution information.
  377. .TP
  378. .I num-processors INT
  379. On multiprocessor machines, if GIMP has been compiled with --enable-mp
  380. this sets how many processors GIMP should use simultaneously.
  381. .TP
  382. .I image-title-format STRING
  383. Set the text to appear in image window titles. Certain % character
  384. sequences are recognised and expanded as follows:
  385. %% literal percent sign
  386. .br
  387. %f bare filename, or "Untitled"
  388. .br
  389. %F full path to file, or "Untitled"
  390. .br
  391. %p PDB image id
  392. .br
  393. %i view instance number
  394. .br
  395. %t image type (RGB, indexed, greyscale)
  396. .br
  397. %z zoom factor as a percentage
  398. .br
  399. %s source scale factor
  400. .br
  401. %d destination scale factor
  402. .br
  403. %Dx expands to x if the image is dirty, the empty string
  404. otherwise. The x can be any character, eg %D*.
  405. The default format string is "%f-%p.%i (%t)".
  406. .PP
  407. .SH PATH EXPANSION
  408. Strings of type PATH are expanded in a manner similar to
  409. .BR bash (1).
  410. Specifically: tilde (~) is expanded to the user's home directory, and
  411. ${variable} is expanded to the current value of the variable. Note
  412. that the bash feature of being able to refer to other user's home
  413. directories by writing ~userid/ is not valid in this file.
  414. The only variable initially defined is
  415. .I gimp_dir
  416. , which is set to either the interned value
  417. .B @gimpdir@
  418. or the environment variable GIMP_DIRECTORY. If the path in
  419. GIMP_DIRECTORY is relative, it is considered relative to your home
  420. directory. The same variable expansion syntax can be used to refer to
  421. environment variables. New variables may be defined so long as their
  422. name does not shadow one of the property names given in the previous
  423. section. Variables are set using the following syntax:
  424. .IP
  425. \f3(\f2variable-name\ \ \ PATH\f3)\f1
  426. .PP
  427. Note that the right hand side of this assignment is itself path
  428. expanded before setting the value of the variable.
  429. Typically, the system-wide gimprc file will set a few convenience
  430. variables:
  431. .TP
  432. .I prefix
  433. The installation prefix for this build, @prefix@.
  434. .TP
  435. .I exec_prefix
  436. The path to architecture-specific executables, @exec_prefix@.
  437. .TP
  438. .I gimp_data_dir
  439. Path to sharable data, @gimpdatadir@.
  440. .TP
  441. .I gimp_plugin_dir
  442. Base for paths to architecture-specific plugins and modules,
  443. @gimpplugindir@.
  444. .PP
  445. .SH FILES
  446. .TP
  447. .I @gimpsysconfdir@/gimprc
  448. System-wide configuration file
  449. .TP
  450. .I $HOME/@gimpdir@/gimprc
  451. Per-user configuration file
  452. .SH "SEE ALSO"
  453. .BR gimp (1),
  454. .BR gimptool (1),
  455. .BR gimp-remote (1)