wmsetbg(1)
πΈ wmsetbg β the girlboss of root windows π
okay so bestie, we're in the wmsetbg(1) zone, General Commands Manual energy, and I am so ready to explain this. this is the little icon that sets your X11 background. periodt.
β¨ SYNOPSIS β¨
wmsetbg [-display display] [--update-domain domain|--update-wmaker]
[options] [image]
π DESCRIPTION π
so wmsetbg takes the image you hand it β literally any format the WRaster library can read, she's flexible like that β and drops it on the root window. iconic behavior honestly.
then she either scales it or tiles it so it actually fits your root window. no awkward gaps, no weird stretching, we don't do that here.
and here's the tea: Window Maker uses this command internally to set the root window image on start up. so she's not just out here doing side quests, she's the main character. π
π¦ OPTIONS π¦
--back-color,-bcolor β this color becomes the background color for the texture. Window Maker temporarily sets the background to this color while it's loading and processing the texture (like a lil placeholder glow-up β¨). you can give colors as their X11 names, or as an RGB triplet β either"rgb:RR/GG/BB"or"#RRGGBB"(reference to appropriate manpage should be here, love that for us). in the latter case, color is a quoted string, so don't forget the quotes bestie.--center,-eβ centers the image in the screen. balanced. symmetrical. slay.--colors,-ccount β limits the number of colors per channel to use for the image.-displaydisplay β connect to the X display. that's the vibe check for where to actually draw.--dither,-dβ enables color dithering on the image. fancy pixel trickery, we'll get to it below π--fillscale,-fβ scales the specified image to fill the screen while preserving aspect ratio. fills it all the way up, no squishing.--help,-hβ prints a help message with the list of options. she's helpful AND pretty.--match,-mβ uses the best-matching-color algorithm when converting the image to an indexed color palette.--maxscale,-aβ scales the specified image to fit inside the screen while preserving its aspect ratio. cozy, contained, no cropping drama.--parse,-ptexture β parses the specified texture as a proplist style texture. very "i speak fluent Window Maker" of her.--scale,-sβ scales the specified image to fill the screen. this one is the default, so if you don't pick anything, this is what you get. no cap.--smooth,-Sβ uses a smooth scaling algorithm when resizing the image. soft, glowy, blessed β¨--tile,-tβ tiles the specified image. pattern girlies rise up.--update-domain,-Ddomain β updates the specified domain database.--update-wmaker,-uβ updates the Window Maker defaults database.--version,-vβ prints the version of Window Maker from which the program comes. receipts! π§Ύ--workspace,-wworkspace β updates the background only for the specified workspace. one room at a time, we respect boundaries.--xinerama,-Xβ stretches the image across Xinerama heads. multi-monitor girlies, she sees you π«Ά
π INDEXED COLOR SCREENS π
okay so this part is important, listen up.
if your screen is not in a True Color configuration (the kind generally sold as 16,777,216 colors) but is instead in an indexed color mode (256 colors, 16 colors, ... the ones that are based on a ColorMap) β then Window Maker may need to process the image to convert it down to a limited number of colors before it can use it as a background image. it's giving budget era, but we make it work π
there are two options for which algorithm you want:
--matchor-mβ searches for the closest matching color from the current colormap. this is the fastest algorithm, but it may lead to a less good-looking result. speed over beauty, sometimes that's the move.--ditheror-dβ uses a more complex algorithm which modifies surrounding pixels to get a closer-looking color on average. this is slower but provides better looking images. she takes her time but she delivers.
if none is specified, then it is Window Maker's configuration choice that will be used. so it's not you deciding, it's the config deciding. iykyk.
you can also use the option --colors to reduce the total number of colors in the image before the algorithm is applied. the value you specify with this option defines the number of possible values for each primary color (red, green and blue). for example, 8 would reduce the image to use only 8*8*8=512 colors before applying the conversion algorithm. math ate, honestly. π₯
π SEE ALSO π
π AUTHOR π
this man page was written by Marcelo Magallon <mmagallo@debian.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>.
wmsetbg was written by Dan Pascu <dan@windowmaker.info>.
okay bestie that's the whole page, you're officially educated π
and a lil sign-off moment for the credits at the bottom: this page is dated April 2015 and it lives in the wmsetbg(1) section of the manual. mwah, bye πβ¨
π¦ where this page comes from
- alpine 3.24: windowmaker-doc 0.96.0-r0 Β· GPL-2.0-or-later
- arch rolling: windowmaker 0.96.0-5 Β· GPL-2.0-or-later AND WTFPL
- debian bookworm: wmaker 0.95.9-3+b2 Β· GPL-2.0-or-later
- debian trixie: wmaker 0.96.0-4 Β· GPL-2.0-or-later
- fedora 43: WindowMaker 0.96.0-6.fc43 Β· GPL-2.0-or-later
- fedora 43: WindowMaker 0.96.0-6.fc43 Β· GPL-2.0-or-later
- fedora 44: WindowMaker 0.96.0-8.fc44 Β· GPL-2.0-or-later
- fedora 44: WindowMaker 0.96.0-8.fc44 Β· GPL-2.0-or-later
- nixos 26.05: windowmaker 0.96.0
- nixpkgs unstable: windowmaker 0.96.0
- ubuntu jammy: wmaker 0.95.9-3 Β· GPL-2.0-or-later
- ubuntu noble: wmaker 0.96.0-2build3 Β· GPL-2.0-or-later
- ubuntu questing: wmaker 0.96.0-4
- ubuntu resolute: wmaker 0.96.0-5 Β· GPL-2.0-or-later
- ubuntu stonking: wmaker 0.96.0-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms