XRUNCLIENT(1) USER COMMANDS XRUNCLIENT(1)
NAME
xrunclient - launch an X client
SYNOPSIS
xrunclient [ -display displayname ] [ -t seconds ] command [
args ... ]
DESCRIPTION
The xrunclient program is used to launch an X client program
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 chaoti-
cally 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 -display
option to the client program.
-timeout seconds
This option specifies the length of time in seconds
that xrunclient will wait for the client program 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 ALSO
xinit(1)
X Version 11 Last change: Release 6 1
XRUNCLIENT(1) USER COMMANDS XRUNCLIENT(1)
AUTHOR
David DiGiacomo, david@slack.com
X Version 11 Last change: Release 6 2