Resource | Class
Type |
Description |
---|---|---|
.label | .Label
String |
The label is the text that XBanner draws on the root window.
It may be any text. All text is drawn on one line.
You can use double-quotes (e.g. " ") for leading spaces. Also, you can use environment variables within the label. Use $VAR_NAME or ${VAR_NAME} to insert environment variable values into the label. To get a single $ sign, use $$. Command-line: -label. |
.effect | .Effect
Keyword |
The graphics rendering to be done on the text of .label.
Command-line: -effect. This is a keyword resource. Valid values:
|
.font | .Font
String |
This is the font to be used for the text you chose with
.label. Click here
for some hints on finding fonts.
Command-line: -font. |
.placement | .Placement
Keyword |
This resource governs where the text will be placed on the
screen. You can choose any of the following:
TopLeft TopCenter TopRight Center BottomLeft BottomCenter BottomRightAs well as XY and CenteredOnY. When using XY, use .x and .y to choose the location of the text. When using CenteredOnY, only .y affects the location, and the text is centered on that Y position. You can use .showCalc to help you choose where to place your text. Command-line: -placement. |
Resource | Class
Type |
Description |
---|---|---|
.showErrors | .ShowErrors
Boolean |
Display error and warning information by drawing it, black
text on white background on the root window. The line is placed in the
top left corner. This is a boolean resource.
Command-line: -showerr and -noshowerr. |
.showCalc | .ShowCalc
Boolean |
This prints out to standard error information about the
size and position of the text's bounding box. This may be useful in selecting
placement of a second line of text by running XBanner twice. This is a
boolean resource.
Command-line: -showcalc and -hidecalc. |
.dumpRes | .DumpRes
Boolean |
This boolean resource will tell XBanner
to write to a file the list of all resources it sees, after having merged
in all different sources, like the app-deafults file, the .Xdefaults, etc.
Command-line: -dumpres and -nodumpres. |
.dumpResFile | .DumpResFile
String |
This is the file name for the .dumpRes
resource.
Command-line: -dumpresfile. |
Resource | Class
Type |
Description |
---|---|---|
.bgStyle | .BgStyle
Keyword |
This is a keyword resource which
selects what type of background you want. Most of these background style
use the .bgGrad and .bgGradRepeat
to select the color gradient, and .barSize
to determine the number of colors in the gradient as a function of the
thickness of each element in the gradient.
Command-line: -bgstyle. Valid values:
|
.bgFillColor | .BgFillColor
ColorSpec |
This is the color used for the filling the background if
requested by the Fill background style or
the .bgFill resource. This is a color
resource.
Command-line: -bg. |
.bgGrad | .BgGrad
GradSpec |
This is a color gradient resoruce
which determines which colors are the anchor colors of the background rendering
effects.
Command-line: -bggrad |
.bgGradRepeat | .BgGradRepeat
Numeric |
This is a numerical resource which causes XBanner to use
a smaller number of colors for the background gradient, but use these colors
several times.
This resource must be a positive integer. Command-line: -bggradrep |
.autoFillBg | .AutoFillBg
Boolean |
This will cause XBanner to do a background fill before any
of the background style (except None of course, Fill
and BgPix). This resource takes precedence
over .bgFill.
Command-line: -autofill and -noautofill |
.bgFill | .BgFill
Boolean |
This resource is just like .autoFillBg
but you specifiy the color by .bgFillColor.
Command-line: -bgfill and -nobgfill |
.barSize | .BarSize
Numeric |
This resource governs the amount of colors allocated for
the background effects (not including BgPix,
Fill, None and Plasma).
For instance, the TopDown background style
is drawn by drawing a set of bars from top to bottom each in a different
color. .barSize selects the size of these bars in pixels. The
Fan background style is drawn by drawing triangles
with one vertex at the center of the fan, and the distance between the
other two vertices, which are both on the side of the screen or on top,
is controlled by the .barSize resource.
Command-line: -barsize or -bs |
.bgPixFile | .BgPixFile
String |
This is simply the name of the .XPM file to be
used for the BgPix background style.
Command-line: -bgpixfile |
.ripples | .Ripples
Numeric |
Selects the number of circles to draw for the Ripples background. Best values are 2 and 3. |
.rippleColors | .RippleColors
Numeric |
This is the number of colors to use for the Ripples background. |
Resource | Class
Type |
Description |
---|---|---|
.underlined | .Underlined
Boolean |
This boolean resource determines
if the text will be underlined.
Command-line: -underline or -ul, and -noul |
.underlineColor | .UnderlineColor
ColorSpec |
This is the color of the underline.
The word FGC is a special keyword that causes XBanner to use the
same color for the underline as for the text. This also causes the following
rendering effects to be rendered on the underline as well: Backlight,
Coin, Fade, FatText,
FgGrad, FgPlasma, FunnyOutline,
PopArt, Shadow, Shadowed-Outline,
Shake, StandOut, StandIn,
StandOut2, StandIn2, Thick.
Command-line: -ulcolor |
.underlineThickness | .UnderlineThickness
Numeric |
This numerical value (which must be positive) determines
the number of pixels width of the underline.
Command-line: -ulthick |
Resource | Class
Type |
Description |
---|---|---|
.doPixmap | .DoPixmap
Boolean |
This is a boolean resource which
determines whether or not you want a pixmap file put on the screen. If
the pixmap file (.XPM file) uses the None color, XBanner
will honor it.
Command-line: -dopixmap and -nopixmap |
.pixFile | .PixFile
String |
This is the name of the pixmap file (.XPM) to be
put on the screen. If this file name begins with a @ sign, then this is
the name of a pixmap-list file. The pixmap-list file contains a line for
each pixmap to display, and the location where to display it.
Example: XBanner.pixFile: @/usr/local/etc/pix_names.lst File: /usr/local/etc/pix_names.lst /usr/local/lib/pixmaps/Linux_Penguin.xpm 0 600 /usr/lib/3D-Pixmaps/Sponsors.xpm 800 760 |
.pixmapX | .PixmapX
Numeric |
The X position of the pixmap on the screen. |
.pixmapY | .PixmapY
Numeric |
The Y position of the pixmap on the screen. |
Resource | Class
Type |
Description |
---|---|---|
.glint | .Glint
Boolean |
A boolean resource to turn the Glint
feature on or off. This implies .linger: True.
Command-line: -glint and -noglint |
.glintSpeed | .GlintSpeed
Numeric |
This numerical resource governs the speed of each glinting
star appearing on your text. There are 3 different groups of values:
|
.glintMin | .GlintMin
Numeric |
This resource is the smallest size of glint you would like
in pixels. The Glint feature makes glints whose size is randomly chosen
between this value and .glintMax.
Command-line: -gmin |
.glintMax | .GlintMax
Numeric |
See .glintMin.
Command-line: -gmax |
.glintTimeMin | .GlintTimeMin
Numeric |
This is the shortest amount of time between glints. XBanner
will wait a random time between glints, which is at least .glintTimeMin
milliseconds long, and not longer than .glintTimeMax ms.
Command-line: -gtimemin |
.glintTimeMax | .GlintTimeMax
Numeric |
See .glintTimeMin
Command-line: -gtimemax |
.cornerMask | .CornerMask
Keyword-list |
The corner-mask is a comma separated list of keywords (see
below) that describes which corners you allow / forbid XBanner to glint
on. The default is all corners. Evaluation is done from left to right.
Keywords:
|
Resource | Class
Type |
Description |
---|---|---|
.cycleColors | .CycleColors
Keyword-list |
This is a comma separated list of keywords, each signifying
a component you want to have color-cycling done on. This implies .linger:
True.
Command-line: -cycle Valid keywords:
|
.reverseCycle | .ReverseCycle
Keyword-list |
This is a comma-separated list of keywords telling which
cycling components should be cycled in reverse direction. for a list of
the keywords see .cycleColors.
Command-line: -cycrev |
.forwardCycle | .ForwardCycle
Keyword-list |
This is a comma-separated list of keywords telling which
cycling components should be cycled in forward direction. for a list of
the keywords see .cycleColors.
Command-line: -cycfor |
.cycleSpeed | .CycleSpeed
Numeric |
This numerical resource selects the speed for the color
cycling. This is currently uniform for all cycling components. This value
is actually a divisor to the value passed to the usleep() function,
hence it is not linear but suffers greatly from the overhead of the rest
of the operations done around it. Be warned that faster color-cycling means
much larger CPU time consumption! This value must be positive.
Command-line: -cycspeed |
.bgGradSteps | .BgGradSteps
Numeric |
When this is set to non-zero, the color cycling of the background
will change its cycling direction every number of steps equal to the value
of this resource.
Command-line: -bgsteps |
.bgGradSteps | .EffectSteps
Numeric |
When this is set to non-zero, the color cycling of the foreground
rendering effect will change its cycling direction every number of steps
equal to the value of this resource.
Command-line: -effectsteps |
Resource | Class
Type |
Description |
---|---|---|
.plasmaNumColors | .PlasmaNumColors
Numeric |
This is the number of colors used when making the Plasma
background style. Notice that this resource together with .plasmaGraininess
define the smoothness of the PlasmaCloud effect, though it is better to
choose a higher graininess factor than a lower number of colors to get
a less smooth effect.
Command-line: -plncol |
.plasmaGraininess | .PlasmaGraininess
Float |
This is a floating-point value which must be positive, and
chooser the graininess factor for the PlasmaCloud.
Command-line: -plgrain |
.fgPlasmaNCol | .FgPlasmaNCol
Numeric |
This is the number of colors to use for the FgPlasma
rendering effect.
Command-line: -fgplncol |
.fgPlasmaGrain | .FgPlasmaGrain
Float |
This is the graininess factor for the FgPlasma
rendering effect. This value must be positive.
Command-line: -fgplgrain |
.fgPlasmaGrad | .FgPlasmaGrad
GradSpec |
This is the color gradient of
the FgPlasma effect.
Command-line: -fgplgrad |
Resource | Class
Type |
Description |
---|---|---|
.shadows | .Shadows
Numeric |
This sets the number of 'shadows' under the main text in
the 3D-Shadow effect. This resource must
be positive.
Command-line: -shadows |
.fgCycColors | .FgCycColors
Numeric |
This is the number of colors for the FG cycling
effect. Must be positive.
Command-line: -fgcyccols |
.backlightGrad | .BacklightGrad
GradSpec |
This determines the color-gradient
for the Backlight effect. The first color
in the specification is furtherst from the letters. So if you want to see
why it is called Backlight, try a FG color of black, on a DarkBlue
screen, and use .backlightGrad: darkblue,cyan.
Command-line: -bkltgrad |
.fadeGrad | .FadeGrad
GradSpec |
This is the color gradient for
the Fade effect. Again, the first color is
furthest from the letters. To gain best results, make the first color in
the specification be very very close to the color of the background around
the letters.
Command-line: -fadegrad |
.fatTextGrad | .FatTextGrad
GradSpec |
This is the color gradient for
the FatText effect. Here the first color
is the inner color.
Command-line: -ftgrad |
.fgGradGrad | .FgGradGrad
GradSpec |
This is the color gradient for
the FgGrad effect. Here the first color
in the specification is near the top of the text.
Command-line: -fggrad |
.fgGradBarSize | .FgGradBarSize
Numeric |
This numeric resource determines how many pixel-lines of
the FgGrad effect's main text should use
each color, hence deciding the number of colors used for this effect.
Command-line: -fggradbs |
.fgCycleGrad | .FgCycleGrad
GradSpec |
This is the color gradient used
for the FG cycling effect.
Command-line: -fgcycgrad |
Resource | Class
Type |
Description |
---|---|---|
.foreground | .Foreground
ColorSpec |
This is the main color for the text, and initial color for
most things.
Command-line: -fg |
.shadowColor | .ShadowColor
ColorSpec |
This is the color of the shadow
for the following effects: FatText, FgGrad,
FgPlasma, Shadow,
and Shadowed-Outline. This also
selects the color of the outlines of the various shadows of the 3D-Shadow.
Also, this selects the right and bottom colors for the StandOut/In/Out2/In2
effects.
Command-line: -shadowcol or -sc |
.hiColor | .HiColor
ColorSpec |
This selects the color of the outline in Outline
effect, the outline color of the main text in 3D-Shadow,
the colors for the left and top sides of the text in StandOut/In/Out2/In2.
Command-line: -hicolor or -hc |
.thickness | .Thickness
Numeric |
This selects the thickness of the following effects: Backlight,
Coin, Fade, FatText,
FunnyOutline, PopArt,
StandOut/In/Out2/In2, Thick.
Notice that while it is obvious what .thickness means for some
of the effects, it is not obvious for others. For the FatText
and StandIn/In2, the .thickness selects the number of
pixels along the letters' edge and into the letter that XBanner will draw.
This is also true for FunnyOutline.
Command-line: -thickness |
.shadowXOffset | .ShadowOffset
Numeric (common class) |
This resource, which may be negative selects the X
offset of the shadow under the text, for those effects that have a shadow:
3D-Shadow, FatText,
FgGrad, FgPlasma,
Shadow, Shadowed-Outline.
Negative values will cause the shadow to appear on the left.
No command-line switch, see .ShadowOffset. |
.shadowYOffset | .ShadowOffset
Numeric (common class) |
This resource, which may be negative selects the Y
offset of the shadow under the text. See .shadowXOffset
No command-line switch, see .ShadowOffset. |
Common Class | .ShadowOffset
Numeric |
This common classname selects how far left and down from
the main text the shadow will appear. It simply sets both .shadowXOffset
and .shadowYOffset.
Command-line: -shdoffset |
.surroundMin | .Surround
Numeric (common class) |
This selects the offset to the left and up from the main
text where the outline will start. See .Surround
for detailed description.
No command-line switch, see .Surround. |
.surroundMax | .Surround
Numeric (common class) |
This selects the offset to the right and down from the main
text where the outline will start. See .Surround
for detailed description.
No command-line switch, see .Surround. |
Common Class | .Surround
Numeric |
This resource selects how the oultline will look. Outlines
are done by simply drawing the text in the outline's color, in severak
locations surrounding the position of the text. If this resource is set
to 1, then the text will be drawn in the outline's color one pixel left-up,
up, right-up, left, right, left-down, down, right-down from the main text.
You can use a .surroundMin value of
1 and a .surroundMax value of 6 to
generate asymetric outlines. This resource affects the following effects:
Outline, Shadowed-Outline,
3D-Shadow.
Command-line: -surround |
Resource | Class
Type |
Description |
---|---|---|
.x | .X
Numeric |
This selects the X position of the text for the XY
placement type.
Command-line: -x |
.y | .Y
Numeric |
This selects the Y position of the text for the XY,
and CenteredOnY placement types.
Command-line: -y |
.defXOffset | .DefOffset
Numeric (common class) |
This selects a minimum distance from the left / right sides
of the screen where the text is allowed to be. This resource mainly guards
against trying to draw outside the screen.
No command-line switch. |
.defYOffset | .DefOffset
Numeric (common class) |
This selects a minimum distance from the top / bottom of
the screen where the text is allowed to be. This resource mainly guards
against trying to draw outside the screen.
No command-line switch. |
Common Class | .DefOffset
Numeric |
This selects both .defXOffset
and .defYOffset in one resource.
No command-line switch. |
.linger | .Linger
Boolean |
This is a boolean resource telling
XBanner to leave behind a process with an open display to the X server,
and wait until the 'freetemp' utility is run. This helps
a lot if you want to run XBanner behind a Chooser window for XDMCP over
to X-Terminals and such. Since the Chooser will open the display after
the Xsetup script is done, the X server will see no clients, and
reset! This option will prevent this.
Command-line: -linger |
.expose | .Expose
Boolean |
This is a boolean resource telling
XBanner to redraw any areas of the screen that become uncovered. When you
succeed in logging in, the login-box disappears, and leaves an empty rectangle
until your X login sequence fills the screen with something else. This
feature is also probably necessary if you wish to use the moving XDM3D
(which moves the login-box randomly every few seconds, ala Windows-NT).
You must use the 'freetemp' utility if you use this.
Important limitation: If you are running XBanner twice (e.g. for 2 lines) then you must not let the first invocation of XBanner handle expose events, since this will cause unexpected results! Command-line: -expose/-noexpose |
Switch | Meaning |
---|---|
-h | Simple help and version information. |
-v | Same as -h. |
-help | Displays a detailed list of command-line switches to stdout. |
-display | The display to work with. |
-file | Use a specified resource file. |
-xrm | Use this option to quote any X resource that XBanner recognizes. |
mybanner.thickness: 9 XBanner.thickness: 5
(X-1,Y-1), (X,Y-1), (X+1,Y-1), (X+2,Y-1), (X-1,Y), . . . , (X+2,y+2).