bgs is an extremely fast and small background setter for X.
In order to build bgs you need the
Imlib2 header files.
config.mk to match your local setup (bgs is installed into
/usr/local namespace, with Xinerama support enabled by default).
Afterwards enter the following command to build and install
necessary as root):
# make clean install
bgs is installed,
$ bgs /path/to/image
will rescale the image to fit the screen.
$ bgs -c /path/to/image
will center the image on the screen.
$ bgs -s /path/to/image
will stretch the image to fill the screen.
Given more than one image,
bgs will set the background of each monitor
(if multiple monitors are present) to the corresponding image respectively.
..more is there, read the man page.
In order to connect
bgs to a specific display, make sure that
the DISPLAY environment variable is set correctly, e.g.:
$ DISPLAY=foo.bar:1 bgs <image> &
(This will start
bgs on display
:1 of the host
Add the following line to your
~/.xinitrc to start
bgs <image> &