admxserv(1) X11 R4.11MU05 admxserv(1)
NAME
admxserv - configure the X Window System server
SYNOPSIS
admxserv [ -v | -q ] [ -r rootpath ] -o action [ object[=value] ... ]
where:
rootpath
Is the directory to be used in place of /.
action Is one of list, get, set or whatif.
object Is the object to be acted upon.
value Is the value to assign the object.
DESCRIPTION
The admxserv command is used to configure the X Window server. This
command should be used to specify what type of mouse is in use and
the monitor connected to the system.
Options are:
-v Verbose mode. Print headings on -o list output and print
object= before the value in -o get output. This is the
opposite of -q and is the default.
-q Quiet mode. Do not print headings on -o list output and do
not print object= before the value in -o get output. This is
the opposite of -v.
-r rootpath
Specifies an alternate root directory. All files opened will
be relative to this directory. This is primarily used for
testing.
-o action
Specifies the action to be taken on the object(s) that are
listed later in the command line. The actions are:
list -- list the valid choices for each of the objects. If no
objects are specified, a list of all objects is printed
(without the list of choices).
get -- print the current (or default) value for each of the
objects. If no objects are specified, the current (or
default) value for all objects is printed. In verbose mode,
object= is printed before each value.
set -- change the value associated with an object(s). Each
object must be followed by =value. At least one object must
be specified.
whatif -- works like set, but does not actually change the
configuration file. This is only useful when followed by a -o
list or -o get. This is provided because the setting of some
objects will affect the valid choices for other objects. See
the example below.
object[=value]
This specifies the object to be operated on by the action
named in the -o option. If the action is set or whatif, there
must be a =value appended to the object name. If the value
contains spaces or other shell meta characters, it must be
quoted. The pseudo object all is valid for the list and get
actions. Use the command admxserv -o list to get a list of
all objects. Use the command admxserv -o list object to get a
list of valid values for an object.
EXAMPLES
admxserv -o list all
will list the choices for all objects.
admxserv -o get all
will list the current value for all objects.
admxserv -o set mouse=Logitech mouseport=com2
will set the mouse protocol to Logitech and the port to COM2.
admxserv -q -o whatif monitor='Hitachi HM-4821' -o list displaymode
will list the display modes available for the Hitachi HM-4821 monitor
without any header information.
FILES
/var/X11/Xserver/XdgConfig
the configuration file (holds the current configuration)
/var/X11/Xserver/XdgConfig.proto
contains information used to construct XdgConfig
/var/X11/Xserver/XdgProbe
contains information about the graphics accelerator card
/var/X11/xdm/Xservers
lists the X Window servers that xdm should start
/var/X11/xdm/Xservers.proto
prototype for creating Xservers
/usr/opt/X11/bin/Xdg
a symbolic link that points to the appropriate server
executable
DIAGNOSTICS
Exit Codes
0 The operation was successful.
1 The operation was unsuccessful.
2 The operation failed due to access restrictions.
3 There was an error in the command line.
SEE ALSO
xdm(1), X(1), Xserver(1).
Licensed material--property of copyright holder(s)