XSETWALLPAPER(1) General Commands Manual XSETWALLPAPER(1)

xsetwallpaper
draw an image on the root window

xsetwallpaper [-s] [-f color] file

The xsetwallpaper draws an image on the root window. The image is centered and any remaining space is filled with a solid color. Alternatively the image can be scaled instead.

The following options are available:

color
The fill color for any margins if the image is centered. The default fill color is black.
Scale the image instead of centering it.

Image formats are those supported by the STB image library. See http://nothings.org/stb

xsetroot(1)

xsetwallpaper utility appeared in NetBSD 6.0.

Jared D. McNeill <jmcneill@invisible.ca>
February 11, 2022 NetBSD 10.1