HP Workstation zx2000 HP Graphics Administration Guide for HP-UX 11.X (IPF ver - Page 31

features, cursor scaling, logging and verbosity

Page 31 highlights

configuring an X Server on HP-UX features cursor scaling At times the standard X11 cursors are difficult to see on the screen. The effect is compounded on large displays. Two options are available in the X Server that instruct the X Server to scale all X11 cursors (both user-defined and built-in cursors) by a user-defined value. Cursor Scaling is indicated with the following syntax in the XF86Config file: Section "ServerLayout" . . . Option "CursorScaleFactor" Option "MaxCursorSize" . . . EndSection "n" "Size" Where n = 1, 2, 3, ... Where Size = 2, 4, 8, 16, 32, 64, 128 For example, n=2 instructs the X Server to scale all cursors by "2x" so that a 16x16 cursor becomes a 32x32 cursor and a 9x9 cursor becomes an 18x18 cursor, etc. If the scaled width or height of any cursor is greater than Size, the scale factor is reduced so that the net size of the cursor fits into a Size x Size rectangle. The default value for "n" is 1, or no scaling. The default value for "Size" is 64, or 64x64 maximum size. logging and verbosity Four options are available to control logging in the XF86Config file: Verbose, LogVerbose, NoLogging, and LogFile. The first three are located in the ServerLayout section and the last one is set in the Files section. ■ Verbose controls what is written to stderr. A negative option value effectively shuts off anything written to stderr, except errors and fatal errors. As values increase from 0 to 5, more information is written to stderr. Increasing the value beyond 5 has no effect. The default value is 1. ■ LogVerbose controls how much is written to the log file. A negative option value effectively shuts off anything being written to the log file, except errors and fatal errors. As values increase from 0 to 5, more information is written to the log file. Increasing the value beyond 5 has no effect. The default value is 3. ■ NoLogging closes the default log file and uses /dev/null as the log file. Therefore, anything being written to the log file is lost. The default value allows logging to the log file, either the default log file located in /var/X11/Xserver/logs or the user specified LogPath. ■ LogFile closes the built-in default log file and opens the file specified by this option as the default log file, unless the NoLogging option is selected. The NoLogging option overrides this option. Graphics Administration Guide 4-19

  • 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

Graphics Administration Guide
4–19
configuring an X Server on HP-UX
features
cursor scaling
At times the standard X11 cursors are difficult to see on the screen. The effect is compounded on
large displays. Two options are available in the X Server that instruct the X Server to scale all
X11 cursors (both user-defined and built-in cursors) by a user-defined value.
Cursor Scaling is indicated with the following syntax in the XF86Config file:
Section “ServerLayout”
. . .
Option
“CursorScaleFactor”
“n”
Option
“MaxCursorSize”
“Size”
. . .
EndSection
Where n = 1, 2, 3, …
Where Size = 2, 4, 8, 16, 32, 64, 128
For example, n=2 instructs the X Server to scale all cursors by “2x” so that a 16x16 cursor
becomes a 32x32 cursor and a 9x9 cursor becomes an 18x18 cursor, etc.
If the scaled width or height of any cursor is greater than Size, the scale factor is reduced so that
the net size of the cursor fits into a Size x Size rectangle.
The default value for “n” is 1, or no scaling. The default value for “Size” is 64, or 64x64
maximum size.
logging and verbosity
Four options are available to control logging in the XF86Config file:
Verbose
,
LogVerbose
,
NoLogging
, and
LogFile
. The first three are located in the ServerLayout section and the last one
is set in the Files section.
Verbose
controls what is written to
stderr
. A negative option value effectively shuts off
anything written to
stderr
, except errors and fatal errors. As values increase from 0 to 5,
more information is written to
stderr
. Increasing the value beyond 5 has no effect. The
default value is 1.
LogVerbose
controls how much is written to the log file. A negative option value effectively
shuts off anything being written to the log file, except errors and fatal errors. As values
increase from 0 to 5, more information is written to the log file. Increasing the value beyond
5 has no effect. The default value is 3.
NoLogging
closes the default log file and uses
/dev/null
as the log file. Therefore,
anything being written to the log file is lost. The default value allows logging to the log file,
either the default log file located in
/var/X11/Xserver/logs
or the user specified
LogPath.
LogFile
closes the built-in default log file and opens the file specified by this option as the
default log file, unless the NoLogging option is selected. The NoLogging option overrides
this option.