19.5.2. Making the WinList Part of Your Default Environment
If you want to make the WinList part of your default environment,
edit your configuration file to have the FvwmWinList module run at
both initialization and restart of the window manager. In the
following example, we've added the third and sixth
lines for these purposes:
AddToFunc InitFunction "I" Module FvwmButtons
+ "I" exec xsetroot -mod 2 2 -fg \#554055 -bg \#705070
+ "I" Module FvwmWinList
AddToFunc RestartFunction "I" Module FvwmButtons
+ "I" exec xsetroot -mod 2 2 -fg \#554055 -bg \#705070
+ "I" Module FvwmWinList
These lines specify that the FvwmWinList module is run whenever you
start or restart the window manager. The WinList window appears in
the bottom left corner of the screen.
As an alternative, you might make the WinList appear as a pop-up
menu. The following definition binds the module to the third pointer
button when it is held down on the root window (this may not be as
handy as having the module present all the time):
Mouse 3 R A Module FvwmWinList Transient
But running a module is different from specifying how it looks and
behaves. Like a number of other modules (FvwmButtonBox, FvwmPager,
etc.), the various characteristics of the FvwmWinList module are
defined elsewhere in the configuration file. Here are some typical
definition lines:
#########################FvwmWinList#########################
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +0-1
The first three lines specify the background color, foreground color,
and text font used for the application. The next three define the
actions that first, second, and third mouse button clicks invoke when
they occur within the WinList. UseSkipList tells the WinList not to
list any windows that are assigned the Style classification
WindowListSkip elsewhere in the configuration file. (Generally all
module windows are classified thus and do not appear in the WinList.)
The final line specifies the location at which the window should
appear (bottom left corner).
The WinList is also a sticky window; it appears on every page on
every desktop. But the configuration file can be confusing. This
characteristic is specified elsewhere in the file, using the Style
option:
Style "Fvwm*" NoTitle, Sticky, WindowListSkip