<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 2.0"> <title>XV: X Resources</title> <meta name="FORMATTER" content="Microsoft FrontPage 2.0"> </head> <body background="images/blutxtr2.jpg" bgcolor="#ABABD6"> <p> <a href="http://www.trilon.com/xv"> <img src="images/small_banner.gif" width="630" height="25" border="0"></a> </p> <h1>X Resources</h1> <h2><a name="simple-resources">Simple Resources</a></h2> <table border="1" cellpadding="4" cellspacing="0" bordercolordark="#000080" bordercolorlight="#8080C0"> <tr> <th align="left"><u>Name</u></th> <th align="left"><u>Type</u></th> <th align="left" valign="top"><u>Description</u></th> </tr> <tr> <td><a href="modifying-behavior-3.html#2xlimit"><tt>2xlimit</tt></a></td> <td><i>boolean</i></td> <td valign="top">Allow image window to be twice the size of the screen.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#aspect"><tt>aspect</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the default aspect ratio used by the <b>Aspect</b> command.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#4x3"><tt>auto4x3</tt></a></td> <td><i>boolean</i></td> <td valign="top">Issue <b>4x3</b> command when an image is loaded.</td> </tr> <tr> <td><a name="autoApply"><tt>autoApply</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets initial setting of <b>Auto-Apply HSV/RGB mods</b> checkbox in <i>xv color editor</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#close"><tt>autoClose</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically close <i>xv</i> windows when image window is iconified.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#acrop"><tt>autoCrop</tt></a></td> <td><i>boolean</i></td> <td valign="top">Issue an <b>AutoCrop</b> command when an image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#dither"><tt>autoDither</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically do a <b>Dither</b> command when an image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#hflip"><tt>autoHFlip</tt></a></td> <td><i>boolean</i></td> <td valign="top">Issue a 'horizontal flip' command when image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#hist"><tt>autoHistEq</tt></a></td> <td><i>boolean</i></td> <td valign="top">Issue a <b>HistEq</b> command when image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#norm"><tt>autoNorm</tt></a></td> <td><i>boolean</i></td> <td valign="top">Issue <b>Norm</b> command when image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#raw"><tt>autoRaw</tt></a></td> <td><i>boolean</i></td> <td valign="top">Issue a <b>Raw</b> command when image is loaded.</td> </tr> <tr> <td><a name="autoReset"><tt>autoReset</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets initial setting of <b>Auto-reset on new image</b> checkbox in <i>xv color editor</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#rotate"><tt>autoRotate</tt></a></td> <td><i>integer</i></td> <td valign="top">Rotate image when it is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#smooth"><tt>autoSmooth</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically <b>Smooth</b> image on initial load.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#vflip"><tt>autoVFlip</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically do a 'vertical flip' command when image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#bg"><tt>background</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the background color.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#best24"><tt>best24</tt></a></td> <td><i>boolean</i></td> <td valign="top">Use the 'best' (read: slowest) 24-bit to 8-bit color algorithm.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#black"><tt>black</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the 'black' color used in B/W dithering.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#bw"><tt>borderWidth</tt></a></td> <td><i>integer</i></td> <td valign="top">Sets the border width of the windows.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#cegeom"><tt>ceditGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the initial position of the <i>xv color editor</i>.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#cemap"><tt>ceditMap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically open the <i>xv color editor</i> on startup.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#cecmap"><tt>ceditColorMap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Install image's colormap in the <i>xv color editor</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#loadclear"><tt>clearOnLoad</tt></a></td> <td><i>boolean</i></td> <td valign="top">Clear window to avoid 'rainbow' effect on <i>PseudoColor</i> displays.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#cmtgeom"><tt>commentGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the initial position and size of the <i>xv comments</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#cmtmap"><tt>commentMap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically open the <i>xv comments</i> window on startup.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#cgeom"><tt>ctrlGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the initial position of the <i>xv controls</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#cmap"><tt>ctrlMap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically open the <i>xv controls</i> window on startup.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#cursor"><tt>cursor</tt></a></td> <td><i>integer</i></td> <td valign="top">Sets the cursor used in the image window. </td> </tr> <tr> <td><a name="defaultPreset"><tt>defaultPreset</tt></a></td> <td><i>integer</i></td> <td valign="top">Makes specified preset number the default preset.</td> </tr> <tr> <td><a name="displayMods"><tt>displayMods</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets initial setting of <b>Display with HSV/RGB mods</b> checkbox in <i>xv color editor</i> window.</td> </tr> <tr> <td><a name="dragApply"><tt>dragApply</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets initial setting of <b>Auto-Apply while dragging</b> checkbox in <i>xv color editor</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#drift"><tt>driftKludge</tt></a></td> <td><i>string</i></td> <td valign="top">Kludge to keep image window from 'drifting' around screen.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#expand"><tt>expand</tt></a></td> <td><i>string</i></td> <td valign="top">Automatically expand or contract images by the given factor.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#flist"><tt>fileList</tt></a></td> <td><i>string</i></td> <td valign="top">Loads a list of image filenames from a file.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#fixed"><tt>fixed</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets 'fixed aspect ratio' mode.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#8"><tt>force8</tt></a></td> <td><i>boolean</i></td> <td valign="top">Lock <i>xv</i> into <b>8-bit Mode</b> .</td> </tr> <tr> <td><a href="modifying-behavior-2.html#24"><tt>force24</tt></a></td> <td><i>boolean</i></td> <td valign="top">Lock <i>xv</i> into <b>24-bit Mode</b> .</td> </tr> <tr> <td><a href="modifying-behavior-1.html#fg"><tt>foreground</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the foreground color.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#geometry"><tt>geometry</tt></a></td> <td><i>string</i></td> <td valign="top">Specifies initial size and position of image window.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#gsdev"><tt>gsDevice</tt></a></td> <td><i>string</i></td> <td valign="top">Type of file <i>ghostscript</i> should produce.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#gsgeom"><tt>gsGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Size of page <i>ghostscript</i> should produce, in 72nds of an inch.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#gsres"><tt>gsResolution</tt></a></td> <td><i>integer</i></td> <td valign="top">Resolution of file <i>ghostscript</i> should produce, in dpi.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#hsv"><tt>hsvMode</tt></a></td> <td><i>boolean</i></td> <td valign="top">Puts the colormap editing dials into HSV mode.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#hi"><tt>highlight</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the 'highlight' color used by the buttons.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#icgeom"><tt>iconGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Specifies position of icon when run in <tt>-iconic</tt> mode.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#iconic"><tt>iconic</tt></a></td> <td><i>boolean</i></td> <td valign="top">Starts up <i>xv</i> with the image window iconified.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#igeom"><tt>infoGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Specifies initial position of <i>xv info</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#imap"><tt>infoMap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically open <i>xv info</i> window on startup.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#lbrowse"><tt>loadBrowse</tt></a></td> <td><i>boolean</i></td> <td valign="top">Keep the <i>xv load</i> window open until deliberately closed.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#lo"><tt>lowlight</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the 'lowlight' color used by the buttons.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#mono"><tt>mono</tt></a></td> <td><i>boolean</i></td> <td valign="top">Display all pictures in greyscale.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#mfn"><tt>monofont</tt></a></td> <td><i>string</i></td> <td valign="top">Mono-spaced font used in TextView windows.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#ncols"><tt>ncols</tt></a></td> <td><i>integer</i></td> <td valign="top">Specifies maximum number of different colors to use.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#ninstall"><tt>ninstall</tt></a></td> <td><i>boolean</i></td> <td valign="top">Don't 'install' colormaps. Have the WM do it for us.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#nodecor"><tt>nodecor</tt></a></td> <td><i>boolean</i></td> <td valign="top">Don't put decorations on <i>xv image</i> window frame.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#nolimits"><tt>nolimits</tt></a></td> <td><i>boolean</i></td> <td valign="top">Turn off all 'maximum size' limitations on the image.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#nopos"><tt>nopos</tt></a></td> <td><i>boolean</i></td> <td valign="top">Don't automatically position the <i>xv</i> windows.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#noqcheck"><tt>noqcheck</tt></a></td> <td><i>boolean</i></td> <td valign="top">Suppress quick-check when doing 24->8 bit algorithms.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#nostat"><tt>nostat</tt></a></td> <td><i>boolean</i></td> <td valign="top">Speed up directory changing in load/save windows.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#owncmap"><tt>ownCmap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Always use and install a private colormap.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#perfect"><tt>perfect</tt></a></td> <td><i>boolean</i></td> <td valign="top">Use and install a private colormap if necessary.</td> </tr> <tr> <td><a name="print"><tt>print</tt></a></td> <td><i>string</i></td> <td valign="top">Sets default 'print' command (ie, "lpr").</td> </tr> <tr> <td><a name="pscompress"><tt>pscompress</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets initial setting of <b>compress</b> button in <i>xv postscript</i> window.</td> </tr> <tr> <td><a name="psorient"><tt>psorient</tt></a></td> <td><i>string</i></td> <td valign="top">Sets initial setting of <b>Orientation</b> in <i>xv postscript</i> window. ( <tt>landscape portrait</tt> )</td> </tr> <tr> <td><a name="pspaper"><tt>pspaper</tt></a></td> <td><i>string</i></td> <td valign="top">Sets initial setting of <b>Paper Size</b> in <i>xv postscript</i> window. ( <tt>8.5x11 8.5x14 11x17 4x5 35mm a3 a4 b5</tt> )</td> </tr> <tr> <td><a name="pspreview"><tt>pspreview</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets initial setting of <b>preview</b> button in <i>xv postscript </i>window.</td> </tr> <tr> <td><a name="psres"><tt>psres</tt></a></td> <td><i>integer</i></td> <td valign="top">Sets initial setting of <b>Resolution</b> in <i>xv postscript</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#quick24"><tt>quick24</tt></a></td> <td><i>boolean</i></td> <td valign="top">Use the quickest 24-bit to 8-bit color algorithm.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#noresetroot"><tt>resetroot</tt></a></td> <td><i>boolean</i></td> <td valign="top">Clear root when going back to 'window' display mode.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#rv"><tt>reverse</tt></a></td> <td><i>boolean</i></td> <td valign="top">Reverses RGB values when image is loaded.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#rbg"><tt>rootBackground</tt></a></td> <td><i>string</i></td> <td valign="top">Root background color, used on some root display modes.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#rfg"><tt>rootForeground</tt></a></td> <td><i>string</i></td> <td valign="top">Root foreground color, used on some root display modes.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#rmode"><tt>rootMode</tt></a></td> <td><i>integer</i></td> <td valign="top">Use specified display mode when using root window.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#rw"><tt>rwColor</tt></a></td> <td><i>boolean</i></td> <td valign="top">Use read/write color cells for faster color editing.</td> </tr> <tr> <td><a name="saveNormal"><tt>saveNormal</tt></a></td> <td><i>boolean</i></td> <td valign="top">Sets default setting of <b>Save at normal size</b> checkbox in <i>xv save</i> window.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#dir"><tt>searchDirectory</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the initial directory for the <i>visual schnauzer</i> and <i>xv load</i> windows.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#slow24"><font size="2" face="Courier New">slow24</font></a></td> <td><em>boolean</em></td> <td>Use the 'slow' 24->8 bit algorithm.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#tgeom"><tt>textviewGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Initial position and size for TextView window.</td> </tr> <tr> <td><a href="modifying-behavior-1.html#stdcmap"><tt>useStdCmap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Use Standard Colormap.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#visual"><tt>visual</tt></a></td> <td><i>string</i></td> <td valign="top">Use a non-default visual of your X display.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#vsdisable"><tt>vsDisable</tt></a></td> <td><i>boolean</i></td> <td valign="top">Disable <i>Visual Schnauzer</i>.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#vsgeom"><tt>vsGeometry</tt></a></td> <td><i>string</i></td> <td valign="top">Initial size and position for <i>Visual Schnauzer</i> windows.</td> </tr> <tr> <td><a href="modifying-behavior-2.html#vsmap"><tt>vsMap</tt></a></td> <td><i>boolean</i></td> <td valign="top">Automatically open a <i>Visual Schnauzer</i> window on startup.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#vsperfect"><tt>vsPerfect</tt></a></td> <td><i>boolean</i></td> <td valign="top">Prevent <i>Visual Schnauzer</i> from installing its own private colormap.</td> </tr> <tr> <td><a href="modifying-behavior-3.html#white"><tt>white</tt></a></td> <td><i>string</i></td> <td valign="top">Sets the 'white' color used in B/W stippling.</td> </tr> </table> <h2><a name="color-editor-resources">Color Editor Resources:</a></h2> <p>The <i>xv</i> <i>color editor</i> resources take the general form:</p> <blockquote> <p><tt>xv</tt>.<i>state</i>.<i>item</i>: val</p> </blockquote> <dl> <dt>where <i>state</i> is:</dt> <dd>'<tt>default</tt>', '<tt>preset1</tt>', '<tt>preset2</tt>', '<tt>preset3</tt>', or '<tt>preset4</tt>'</dd> <dt> </dt> <dt>and <i>item</i> is: </dt> <dd>'<tt>huemap1</tt>', '<tt>huemap2</tt>', '<tt>huemap3</tt>', '<tt>huemap4</tt>', '<tt>huemap5</tt>', '<tt>huemap6</tt>', '<tt>whtmap</tt>', '<tt>satval</tt>', '<tt>igraf</tt>', '<tt>rgraf</tt>', '<tt>ggraf</tt>', or '<tt>bgraf</tt>' </dd> </dl> <h2><a name="pad-command-resources">Pad Command Resources</a></h2> <p>You can change the contents of the 'shortcut' menus in the <b>Pad</b> command dialog box using the following resource format:</p> <blockquote> <p><tt>xv.pad.menu.slot</tt></p> </blockquote> <p>Where <i>menu</i> is one of 'color', 'bggen', 'load', and <i>slot</i> is 'val0' .. 'val9', or 'name0' .. 'name9'. The 'val's are string resources that hold the actual 'shortcut text' that is entered when you select this menu choice. The 'name's are optional, and are the short descriptions listed on the menus.</p> <p>For instance, to add the items 'yellow', and 'blue' to the 'color' menu, stick these lines in your <tt>.Xdefaults</tt> (or <tt>.Xresources</tt>) file:</p> <blockquote> <pre>xv.pad.color.name0: yellow xv.pad.color.val0: 255 255 0 xv.pad.color.name1: blue xv.pad.color.val1: 0 0 255</pre> </blockquote> <hr color="#000080"> <p> <MAP NAME="FrontPageMap"> <AREA SHAPE="RECT" COORDS="393, 0, 453, 24" HREF="mouse-keyboard-usage.html"> <AREA SHAPE="RECT" COORDS="331, 0, 387, 24" HREF="command-line-options.html"> <AREA SHAPE="RECT" COORDS="263, 0, 323, 24" HREF="manindex.html"> <AREA SHAPE="RECT" COORDS="164, 0, 254, 24" HREF="index.html#Table+of+Contents"> </MAP> <img src="images/navbar.gif" width="630" ismap usemap="#FrontPageMap" height="25" border="0"> </p> </body> </html>