About
The only purpose of xdpyprobe program is to probe the X server for
connectivity. The idea of this program came from this SO question.
The result of probing can be obtained either from an output or from the
exit status (0 - connection is possible, 1 - it is not). The output may
be suppressed with --quiet option.
Examples
$ xdpyprobe
DISPLAY ':0' is available? yes$ xdpyprobe :3
DISPLAY ':3' is available? no$ DISPLAY=:2 xdpyprobe -q ; echo $?
1$ xdpyprobe -h
... <some useful info> ...Building from Git
Requirements for building from git:
Run ./autogen.sh to generate the build system infrastructure. After
that, the program can be built and installed with the usual sequence of
commands of the GNU Build System:
./configure
make
make installBuilding with Guix
This repository contains guix.scm file which can be used to build the
development version of this package with GNU Guix.
A Guix package for the latest release can be found in my guix-config repository.