Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fvwm-root(1) [debian man page]

fvwm-root(1)							   Fvwm Modules 						      fvwm-root(1)

NAME
fvwm-root - Sets the root window of the current X display to image SYNOPSIS
fvwm-root [--retain-pixmap|-r] [--no-retain-pixmap] [--dummy|-d] [--no-dummy] [--dither] [--no-dither] [--color-limit [ncolors] ] [--no- color-limit] [--help|-h|-?] [--version|-V] image_file DESCRIPTION
fvwm-root reads the image file specified in the command line and displays it in the root window. The supported image formats are XBM, XPM, PNG and SVG if appropriated libraries are compiled in. SVG rendering options (as described in the ICONS AND IMAGES section of the main fvwm documentation) can be utilized. OPTIONS
These command line options are recognized by fvwm-root: --retain-pixmap | -r Causes fvwm-root to retain and publish the Pixmap with which the background has been set (the ESETROOT_PMAP_ID and _XROOTPMAP_ID properties are used). This is useful for applications which want to use the root Pixmap on the background to simulate transparency (for example, Eterm and Aterm use this method). This option should also be used for the RootTransparent colorset option, refer to the COLORSETS section of fvwm(1). If this option is not used, fvwm-root sets the _XSETROOT_ID property to None, and some programs, like fvwm modules, may use this to update their background if the background is transparent (Transparent colorset). Note, a well behaved program, like fvwm, should listen to both _XSETROOT_ID and _XROOTPMAP_ID property changes and update itself correspondingly. However some programs listen only to one of them, so you should either use this option or not depending on what part is implemented by these programs. You should also use this option to get fast root-transparent menus in fvwm. --no-retain-pixmap This is a default. May be useful to explicitely force the default even if "--retain-pixmap" is specified earlier. --dummy | -d Causes fvwm-root NOT to set the background, but to only free a memory associated with the ESETROOT_PMAP_ID property (if any). In any case the _XSETROOT_ID property is set to None. --no-dummy This is a default. May be useful to explicitely force the default even if "--dummy" is specified earlier. --dither Causes fvwm-root to dither images for "smoother" rendition on displays with color depth of 16 or lower. This the defaut with color depth less or equal to 8. --no-dither Causes fvwm-root NOT to dither images. This is the default with color depth greater than 8. --color-limit ncolors Causes fvwm-root to limit its color use to ncolors (if specified). This option is taken in account only with color depth less or equal to 8 (and a TrueColor or GrayScale visual). The default is to use the same color limit as fvwm. So in normal situation this option is not useful. However, if fvwm use a private colors map, as fvwm-root always use the default colors map you should use this option for limiting colors correctly. If ncolors is not specified a default is used. --no-color-limit Causes fvwm-root NOT to limit its color use. --help Shows a short usage. --version Shows a version number. COMPATIBILITY
In the past this utility was called xpmroot. This name is still supported as a symlink. BUGS
Repeated use of fvwm-root with different xpm pixmaps will use up slots in your color table pretty darn fast. AUTHOR
Rob Nation Rewritten and enhanced by fvwm-workers. 3rd Berkeley Distribution 09 May 2010 (2.5.30) fvwm-root(1)

Check Out this Related Man Page

FvwmBacker(1)							   Fvwm Modules 						     FvwmBacker(1)

NAME
FvwmBacker - the fvwm background changer module SYNOPSIS
Module FvwmBacker FvwmBacker can only be invoked by fvwm. Command line invocation of the FvwmBacker module will not work. DESCRIPTION
The FvwmBacker module provides functionality to change the background when changing desktops. Any command can be executed to change the backgrounds. Actually, any arbitrary command can be sent to fvwm to execute, so you could also do things such as changing window border colors, etc. COPYRIGHTS
The FvwmBacker module is the original work of Mike Finger. Copyright 1994, Mike Finger. The author makes no guarantees or warranties of any kind about the use of this module. Use this module at your own risk. You may freely use this module or any portion of it for any purpose as long as the copyright is kept intact. INITIALIZATION
During initialization, FvwmBacker gets config info from fvwm's module configuration database (see fvwm(1), section MODULE COMMANDS). Available options are discussed in a later section. INVOCATION
FvwmBacker can be invoked by fvwm during initialization by inserting the line AddToFunc StartFunction I Module FvwmBacker in the .fvwm2rc file. FvwmBacker can be started using a 'Module FvwmBacker' command or stopped using a 'KillModule FvwmBacker' command at any time when fvwm is running. FvwmBacker must reside in a directory that is listed in the ModulePath option of fvwm for it to be executed by fvwm. CONFIGURATION OPTIONS
The following options can be placed in the .fvwm2rc file *FvwmBacker: Command (Desk d, Page x y) command Specifies the command to execute when the viewport matches the arguments for the desk d, page x coordinate and y coordinate. Any or all of these three numeric arguments can be replaced with an asterisk (*) to indicate that any value matches, in this case Desk or Page parts can be skipped. If either the Desk or the Page parts are omitted, the command is not executed if only the desk or the page is switched. If neither is given, the command is executed only once when the module is started. This is not the same as using asterisks for the numeric arguments: if asterisks are used, the command is always executed when only the desk or page changes, if the corresponding part is omitted, the command is never executed when only the desk or page changes. If the command is -solid FvwmBacker uses the next argument as a color in the X database and sets the background to that color with- out generating a system call to xsetroot (only single word color names may be used). If the command is colorset FvwmBacker uses the background specified in colorset n for the given desk. Please refer to the man page of the FvwmTheme module for details about colorsets. Otherwise the command is sent to fvwm to execute. *FvwmBacker: RetainPixmap Causes FvwmBacker to retain and publish the Pixmap with which the background has been set. This works only for the -solid or col- orset commands. This is useful for applications which want to use the root Pixmap on the background to simulate transparency (for example, Eterm and Aterm use this method). This option should also be used for the RootTransparent colorset option (see the FvwmTheme man page). Note: with a colorset background this command may add a lot of memory to the X server. For example, this adds the pixmap width times height bytes with a TiledPixmap image, screen_width times screen_height bytes with a Pixmap image or a C,B,D,R,S or Y Gradient and screen_width bytes with a VGradient or screen height bytes with an HGradient. *FvwmBacker: DoNotRetainPixmap Cancels the effect of the previous option. This is the default. RUN-TIME CONFIGURATION It it possible to replace FvwmBacker's configuration at run-time, although it is not yet possible to remove existing configuration lines. This is done by simply removing the old configuration from withing fvwm and then read a new one. This can be done in many ways, for exam- ple by using an fvwm function or one of the modules FvwmCommand or FvwmConsole. Example: DestroyModuleConfig FvwmBacker* *FvwmBacker: Command (Desk 0) -solid black *FvwmBacker: Command (Desk 1) -solid blue OLD-STYLE OPTIONS There is continued support for the now deprecated option: *FvwmBacker: Desk d command It is functionally equivalent to omitting the page coordinates with *FvwmBacker: Command: *FvwmBacker: Command (Desk Id) command SAMPLE CONFIGURATION
The following are excerpts from an .fvwm2rc file which describe FvwmBacker initialization commands: #### # Set Up Backgrounds for different desktop pages (2 desks, 3x2 pages). #### *FvwmBacker: Command (Page 2 *) -solid steelblue *FvwmBacker: Command (Desk 0, Page 0 0) Exec fvwm-root $[HOME]/bg2.xpm *FvwmBacker: Command (Desk 0, Page 0 1) -solid midnightblue *FvwmBacker: Command (Desk 0, Page 1 *) -solid yellow *FvwmBacker: Command (Desk 1, Page * 0) -solid navy *FvwmBacker: Command (Desk 1, Page * 1) Colorset 5 AUTHOR
Mike Finger (mfinger@mermaid.micro.umn.edu) (Mike_Finger@atk.com) (doodman on IRC, check the #linux channel) Modified by Andrew Davison (davison@cs.monash.edu.au) Michael Han (mikehan@best.com) Mikhael Goikhman (migo@homemail.com) 3rd Berkeley Distribution 09 May 2010 (2.5.30) FvwmBacker(1)
Man Page