2 .\" @(#)@PACKAGE@-@VERSION@ @RELDATELONG@
3 .TH fvwm-root 1 "@RELDATELONG@ (@VERSION@)" Fvwm "Fvwm Modules"
7 fvwm-root \- Sets the root window of the current X display to image
11 .RB [ "--retain-pixmap" | "-r" ]
12 .RB [ "--no-retain-pixmap" ]
13 .RB [ "--dummy" | "-d" ]
19 .RB [ "--no-color-limit" ]
20 .RB [ "--help" | "-h" | "-?" ]
21 .RB [ "--version" | "-V" ]
26 reads the image file specified in the command line and displays it in the
27 root window. The supported image formats are
28 .IR XBM ", " XPM ", " PNG " and " SVG
29 if appropriated libraries are compiled in.
32 .RB " (as described in the " " ICONS AND IMAGES "
33 section of the main fvwm documentation) can be utilized.
36 These command line options are recognized by fvwm-root:
38 .BR "--retain-pixmap" " | " "-r"
39 Causes fvwm-root to retain and publish the Pixmap with which the background
40 has been set (the ESETROOT_PMAP_ID and _XROOTPMAP_ID properties are used).
41 This is useful for applications which want to use the root
42 Pixmap on the background to simulate transparency (for example,
43 Eterm and Aterm use this method). This option should also be used for the
44 RootTransparent colorset option, refer to the COLORSETS section of fvwm(1).
45 If this option is not used, fvwm-root sets the _XSETROOT_ID property to
46 None, and some programs, like fvwm modules, may use this to update their
47 background if the background is transparent (Transparent colorset).
49 Note, a well behaved program, like fvwm, should listen to both _XSETROOT_ID
50 and _XROOTPMAP_ID property changes and update itself correspondingly.
51 However some programs listen only to one of them, so you should either use
52 this option or not depending on what part is implemented by these programs.
53 You should also use this option to get fast root-transparent menus in fvwm.
55 .BI "--no-retain-pixmap"
56 This is a default. May be useful to explicitely force the default even
57 if "--retain-pixmap" is specified earlier.
59 .BR "--dummy" " | " "-d"
60 Causes fvwm-root NOT to set the background, but to only free a memory
61 associated with the ESETROOT_PMAP_ID property (if any).
62 In any case the _XSETROOT_ID property is set to None.
65 This is a default. May be useful to explicitely force the default even
66 if "--dummy" is specified earlier.
69 Causes fvwm-root to dither images for "smoother" rendition on displays
70 with color depth of 16 or lower. This the defaut with color depth less
74 Causes fvwm-root NOT to dither images. This is the default with color depth
77 .BI "--color-limit " ncolors
78 Causes fvwm-root to limit its color use to
80 (if specified). This option is taken in account only with color depth less
81 or equal to 8 (and a TrueColor or GrayScale visual). The default is
82 to use the same color limit as fvwm. So in normal situation this option
83 is not useful. However, if fvwm use a private colors map, as fvwm-root
84 always use the default colors map you should use this option for
85 limiting colors correctly. If
87 is not specified a default is used.
89 .BI "--no-color-limit"
90 Causes fvwm-root NOT to limit its color use.
96 Shows a version number.
99 In the past this utility was called
101 This name is still supported as a symlink.
104 Repeated use of fvwm-root with different xpm pixmaps will use up slots in
105 your color table pretty darn fast.
110 Rewritten and enhanced by fvwm-workers.