XRUNCLIENT(1)XRUNCLIENT(1)NAMExrunclient - launch an X client
SYNOPSISxrunclient [ -display displayname ] [ -t seconds ] command
[ args ... ]
DESCRIPTION
The xrunclient program is used to launch an X client pro-
gram from .xinitrc or a similar script. It waits until
the client creates a top level window before exiting so
that clients start smoothly and sequentially, instead of
chaotically competing for system resources.
OPTIONS-display displayname
This option specifies the display to which xrun-
client will connect to determine when the client
program has created a window. xrunclient will set
the DISPLAY environment variable to the same
value, so it is not necessary to also give a -dis-
play option to the client program.
-timeout seconds
This option specifies the length of time in sec-
onds that xrunclient will wait for the client pro-
gram to create a window. If the timeout occurs,
xrunclient will exit with a status of 0. The
default timeout is 15 seconds.
EXAMPLE
Below is an example .xinitrc file using xrunclient to con-
trol client startup:
xrdb -load $HOME/.Xresources
xrunclient xterm -C -title Console -geometry 80x24+0+0
twm &
xrunclient xsetroot -solid gray
xrunclient xclock -geometry 50x50-0+0 -bw 0
xrunclient xload -geometry 50x50-50+0 -bw 0
xrunclient xterm -geometry 80x24+0-0
wait
ENVIRONMENT
DISPLAY to get the default host and display number if the
-display option is not used.
SEE ALSOxinit(1)AUTHOR
David DiGiacomo, david@slack.com
X Version 11 Release 6 1