Graphics Administration Guide (July 2008)

Table Of Contents
sample X*screens files
Below are several sample X*screens files that illustrate the new format.
This is the minimum legal X*screens file, the “Screen” keyword followed by the
screen device. Since no other information is given, the X Server will assume default
values for other options and settings.
Screen /dev/crt
Figure 3-1 Results of minimal legal X*screens file
This sample X*screens file could be used on a system using HP VISUALIZE-FXE
with a 17-inch monitor. In this example, the GraphicsSharedMemorySize is
decreased to 1 Mbyte in order to reduce the swap space requirements of the system.
Decreasing GraphicsSharedMemorySize is appropriate when you do not intend
to run any 3D graphics applications.
ServerOptions
GraphicsSharedMemorySize 0x100000
Screen /dev/crt
MonitorSize 17 inches
The display diagram would be the same as that of the “Results of Minimal Legal
X*screens File” configuration, above.
The overlay visual is selected as the default. There are 255 overlay colormap entries
available on the HP VISUALIZE-FXE. The 256th entry is hard-wired to transparent.
Having less than 256 colormap entries should not cause a problem for most
applications, but for those applications that require 256 colormap entries, the
CountTransparentInOverlayVisual screen option should be used as shown below.
Note that any attempts to modify the 256th entry will have no effect on the
colormap.
Screen /dev/crt
ScreenOptions
CountTransparentInOverlayVisual
The display diagram would be the same as that of the “Results of Minimal Legal
X*screens File” configuration, above.
The default visual on the HP VISUALIZE-FXE is the opaque overlay visual. All
256 colormap entries are opaque and allocable. If an application requires
transparency in the default visual, the “Transparent” keyword can be used to select
the transparent overlay visual as shown below.
42 configuring X server on HP-UX (HP Visualize-FXE)