The FvwmIconMan module provides a grid of Icons (Buttons) that represent the running windows on the system. FvwmIconMan can be configured to display different collections of windows and the buttons provides an interface to interact with the widows, such as giving them Focus to Iconify them.
Here is an example configuration which lists running windows in a vertical list whose window grows and shrinks with the number of running apps. Below is a brief description of what the various parts configure. For a full list of options see the FvwmIconMan manpage.
Here the first few options set some basics about which windows to show. UseWinList honors the WinListSkip style, Otherwise all windows will be shown. The options Show and DontShown can be further used to control which windows are included.
Other True/False options that can be turned on to control the included windows are ShowOnlyIcons, ShowNoIcons, ShowTransient, ShowOnlyFocused.
Tips configures tool tips which will give the full window name. In this case only for windows whose window name is longer than the button or as needed.
Short will short this list in this case by the window id. You can also set up Weights for windows to better control the sort order.
The manager can be configured to be a fixed size, or to grow and shrink as windows are added and removed. The size and this behavior can be configured through a combination of:
ButtonGeometry XxY: Sets the size of each button in pixels. If the height is 0, the font height will be used.
ManagerGeometry NxM+X+Y: Sets the size of the manager in terms of number of columns (N) and rows (M) of buttons. So the actual size is then also based on ButtonGeometry.
If either of the number of columns or rows are zero, the manager will grow and shrink in the direction associated with the zero.
If the columns and rows are both non zero, the manager will be that fixed size and not grow/shrink.
Note: If swallowing FvwmIconMan in FvwmButtons and FvwmIconMan is configured to grow/shrink, it will grow beyond the boundary of the Button if there are enough windows in the list.
MaxButtonWidth/MaxButtonWidthByColumns: By default the buttons width will grow/shrink to fit when listing them horizontally. These will set the max width in either pixels or total number of columns.
The buttons in the list can have different styles (colorset/relief effect) depending on if they have Focus, are Iconified or are Selected (by the mouse or keyboard in the manager) and the various combinations of these.
There are two related options to set these. For example for the Selected button you could use
Style is one of flat, up, down, raisededge or sunkedge and the forecolor and backcolor set the respective color. The color settings are optional and additionally you can set Colorset of the button, but still have to use SelectButton to set the style.
The list of different combinations are
In addition to configuring the different button types, some other settings related to the style of the buttons are
DrawIcons true/false/always: Sets if mini icons are included on the button. true will only show mini icons for Iconified windows, while always shows them for all windows.
Format and Font control what the title of the button is such as window name, etc.
ReliefThickness sets the thickness in pixles of the 3D relief border.
Colorset, Foreground, Backgound will set the default colors.
Note: Due to a bug in 2.6.7, the background of the manager which has no buttons on it will not honor the Colorset setting. Use Foreground and Background instead and PlainColorset to control the default button colorset. This bug has been fixed in the newest version of fvwm2 in git, and in fvwm3.
FvwmIconMan can have actions bound to the buttons via Mouse or Key bindings. These can be configured to control what happens when a selected button is clicked on to how to move through and control the buttons with a keyboard.
The basic configuration settings are
Here command are commands for FvwmIcon man. See the man page for a full list. The ones used in the example use sendcommand which will send the command to Fvwm to act on the selected window.
The default is to Iconify the window no matter what mouse button is pressed, which can be disabled with
The other actions then bind a custom Iconfiy like function to a left click and opens a Window Operations Menu when right clicked to preform various operations.
The custom function used, which will bring make a window Visable if it is not, and Iconify it otherwise is
New in fvwm3, the resolution setting (which configures which windows are shown) has been changed into a set of filters. There are four filters:
These filters will either show (or not show) windows on the stated desk, page, or screen. If no parameters are provided the current desk, or page are used. Multiple filters can be given to control which desk, page, and screen are shown. The invert filter inverts the whole filter.
No filters will show all windows (equivalent to
global in fvwm2).
You can then list up to one of each of the filters to control which
windows are shown. For example:
Shows all windows on the primary monitor, on desk 1, and not on page 0 2.