ICEWMBG(1)
π icewmbg β the manual, but make it make sense
okay so bestie, gather round. this is icewmbg, and it's the desktop background image manager for IceWM (that's the one-line NAME bit, consider it folded in π). it's giving "i make your desktop pretty and i take it very seriously."
β¨ SYNOPSIS β¨
icewmbg [OPTIONS] [ARGUMENTS]
π¦ DESCRIPTION π¦
so icewmbg can slap a colour or an image onto your X11 desktop background. common image formats? supported, obviously. and every single icewm(1) workspace can have its own background β like each one is a different era of you π.
when the background image changes, icewmbg can be notified to update the background. when you're switching workspaces it checks the image file's modification time, and if that's changed it reloads the image. lowkey smart.
it also supports semitransparency β semitransparent background images and colours can be configured. yes ma'am.
it uses RandR or Xinerama to support backgrounds on all your connected monitors, so when monitors appear/disappear or change their resolution, icewmbg will adjust. there's also an option for one giant background spread over all monitors, if that's your vibe.
it updates the "_ICEWMBG_IMAGE" property of the root window to the path of the background image whenever it changes the desktop background. periodt.
icewmbg is started automatically by icewm-session(1). and here's the cute part: if there's just a single background for all workspaces, icewmbg may conclude it can safely exit after setting the desktop background, to free its system memory. if the screen size changes, icewm will then attempt to restart icewmbg, preferably via icewm-session. icon behaviour honestly.
π ARGUMENTS π
π SPECIFIC OPTIONS
where multiple values can be given for images or colours, they're separated by comma's. each such value may be enclosed in double quotes ". if FILE is a directory, all images from that directory are used in sorted order. and if the value starts with an exclamation mark, as in !FILE, the images from the directory FILE are permuted randomly π. image file names or directory names may have glob(7) wildcards, or they may start with a tilde or environment variable.
-f,--forkβ fork into the background and detach from the terminal. bye bestie π-p,--replaceβ replace an existingicewmbg. if there's a runningicewmbg, it's instructed to quit, and the newicewmbgtakes over. main character energy only.-q,--quitβ tell the runningicewmbgto quit. this option is used byicewm-session(1)whenicewm(1)exits.-r,--restartβ tell the runningicewmbgto restart itself. useful whensettings in have changed. if noicewmbgis active, it starts one.-u,--shuffleβ shuffle the list of background images randomly. you can give this option again whenever the runningicewmbgshould reshuffle its list of background images π.-c,--config=FILEβ load preferences from FILE.-t,--theme=THEMEβ use the theme named THEME.-i,--image=FILE[,FILE]*β load background images from each FILE. this overrules the"DesktopBackgroundImage"preference. when more than one image is given, they're assigned to each workspace in the given order.-k,--color=COLOR[,COLOR]*β use background colours from each COLOR. this overrules the"DesktopBackgroundColor"preference.-s,--semis=FILE[,FILE]*β load transparency images from each FILE. this overrules the"DesktopTransparencyImage"preference.-x,--trans=NAME[,NAME]β use transparency colours for each NAME. this overrules the"DesktopTransparencyColor"preference.-e,--center={0|1}β disable/enable centring background. this overrules the"DesktopBackgroundCenter"preference.-a,--scaled={0|1}β disable/enable scaling background. this overrules the"DesktopBackgroundScaled"preference.-m,--multi={0|1}β disable or enable a single background over all monitors. this overrules the"DesktopBackgroundMultihead"preference.-y,--cycle=SECONDSβ cycle over the list of background images every SECONDS. this overrules the"CycleBackgroundsPeriod"preference.-o,--output=FILEβ redirect all output to FILE. a leading tilde or environment variable is expanded.--postpreferencesβ print a list of all preference values thaticewmbgwill use.--verboseβ print a log of actions and some events.
π GENERAL OPTIONS
-d,--display=DISPLAYβ use DISPLAY to connect to the X server. otherwise useDISPLAYfrom the environment.-h,--helpβ print a brief usage statement to stdout and exit.-V,--versionβ print the program version to stdout and exit.-C,--copyingβ print copying permissions to stdout for the program and exit.--syncβ use a slow synchronous mode to communicate with the X11 server. ngl it's slow on purpose.--verboseβ report on some of the activities.
π FILES π
additional arguments, which either are a path or which have an image extension, are assumed to be background image files or directories. iykyk.
πΈ PREFERENCES πΈ
by default icewmbg loads settings from the icewm(1) preferences file. see icewm-preferences(5) for details. the settings read are:
DesktopBackgroundCenter - Display desktop background centered
DesktopBackgroundScaled - Display desktop background scaled
DesktopBackgroundColor - Desktop background color(s)
DesktopBackgroundImage - Desktop background image(s)
ShuffleBackgroundImages - Shuffle the list of background images
SupportSemitransparency - Support for semitransparent terminals
DesktopTransparencyColor - Semitransparency background color(s)
DesktopTransparencyImage - Semitransparency background image(s)
DesktopBackgroundMultihead - One background over all monitors
CycleBackgroundsPeriod - Seconds between cycling over backgrounds
if these settings are set in the preferences file, they can be overridden by the theme in the theme defaults file. to enforce a certain setting, set it in the prefoverride file instead β see icewm-prefoverride(5). no cap, that's the way to lock it in π.
π§ WORKSPACES π§
each workspace can have a unique image. specify multiple images to DesktopBackgroundImage separated by comma's, or give at least one directory with images. the images are assigned to each workspace in the order given. when icewm changes workspace, the running icewmbg will adapt the desktop background to the assigned image. it just knows π
.
if you specify more images than there are workspaces, then CycleBackgroundsPeriod can set a period. when the period expires, icewmbg will switch to the next set of images. if you give less images than there are workspaces, then icewmbg will reuse previous images for the remaining workspaces. recycling queen πΏ.
β IMAGE SCALING β
often a background image has a different width or height than the screen. the image can then be replicated (tiled), centered or scaled. this is controlled by "DesktopBackgroundCenter" and "DesktopBackgroundScaled". what happens for their combination is given by the following table:
center:0 scaled:0 = The background is replicated in both directions.
center:1 scaled:0 = The background is centered, but not scaled.
center:1 scaled:1 = Fill one dimension and preserve the aspect ratio.
center:0 scaled:1 = Fill both dimensions and preserve the aspect ratio.
π₯ EXAMPLES π₯
# For four unique desktop backgrounds for four workspaces do:
icewmbg -f -p -i image0,image1,image2,image3
# Or create a directory with the four images and do:
icewmbg -f -p -i /path/to/directory
# The images should have proper image filename extensions.
(that last line is a comment, not a command β pls don't run it π the images should have proper image filename extensions, fr fr.)
π SIGNALS π
icewmbg supports the following signals:
SIGHUPβicewmbgwill restart itself.SIGINT,SIGTERMβicewmbgwill terminate. πSIGUSR1βicewmbgwill reshuffle the list of background images and update the backgrounds of all workspaces.
π«Ά SEE ALSO π«Ά
icewm(1), icewm-preferences(5), icewm-prefoverride(5), wmsetbg(1), xsetbg(1), xwallpaper(1).
π BUGS π
please report bugs at <https://github.com/ice-wm/icewm/issues>. do it for the culture.
π AUTHOR π
Brian Bidulock <mailto:bidulock@openss7.org>.
see --copying for full copyright notice and copying permissions.
π LICENSE π
IceWM is licensed under the GNU Library General Public License. see the COPYING file in the distribution or use the --copying flag to display copying permissions.
ok that's the whole thing, nothing skipped, you're welcome π β¨
and that's a wrap bestie π β this little love letter ships as part of icewm 4.1.0, dated 2026-08-06. now go set a cute wallpaper, you've earned it ππ¦
π¦ where this page comes from
- arch rolling: icewm 4.1.0-1 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms