1 .\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.02)
4 .\" ========================================================================
5 .de Sh \" Subsection heading
13 .de Sp \" Vertical space (when we can't use .PP)
17 .de Vb \" Begin verbatim text
22 .de Ve \" End verbatim text
26 .\" Set up some character translations and predefined strings. \*(-- will
27 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
28 .\" double quote, and \*(R" will give a right double quote. \*(C+ will
29 .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
30 .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
31 .\" nothing in troff, for use with C<>.
33 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
37 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
38 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
51 .\" Escape single quotes in literal strings from groff's Unicode transform.
55 .\" If the F register is turned on, we'll generate index entries on stderr for
56 .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
57 .\" entries marked with X<> in POD. Of course, you'll have to process the
58 .\" output yourself in some meaningful fashion.
61 . tm Index:\\$1\t\\n%\t"\\$2"
71 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
72 .\" Fear. Run. Save yourself. No user-serviceable parts.
73 . \" fudge factors for nroff and troff
82 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
88 . \" simple accents for nroff and troff
98 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
99 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
100 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
101 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
102 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
103 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
105 . \" troff and (daisy-wheel) nroff accents
106 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
107 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
108 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
109 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
110 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
111 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
112 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
113 .ds ae a\h'-(\w'a'u*4/10)'e
114 .ds Ae A\h'-(\w'A'u*4/10)'E
115 . \" corrections for vroff
116 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
117 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
118 . \" for low resolution devices (crt and lpr)
119 .if \n(.H>23 .if \n(.V>19 \
132 .\" ========================================================================
134 .IX Title "FvwmWindowMenu 1"
135 .TH FvwmWindowMenu 1 "2009-03-22" "2.5.28 (from cvs)" "Fvwm Modules"
136 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
137 .\" way too many mistakes in technical documents.
141 FvwmWindowMenu \- open configurable fvwm menu listing current windows
143 .IX Header "SYNOPSIS"
144 FvwmWindowMenu should be spawned by \fIfvwm\fR\|(1) for normal functionality.
146 Run this module from your StartFunction:
149 \& AddToFunc StartFunction
150 \& + I Module FvwmWindowMenu
153 .IX Header "DESCRIPTION"
154 A substitute for \fIfvwm\fR builtin \fBWindowList\fR, but written in Perl and easy to customize. Unlike \fBFvwmIconMan\fR or \fBFvwmWinList\fR the module does not draw its own window, but instead creates an \fIfvwm\fR menu and asks \fIfvwm\fR to pop it up.
156 By defining a set of regular expressions, windows may be sorted into sections based on a regexp matching the window name, class or resource and included in the menu.
158 Similarly, another set of regular expressions can be used to exclude items from the menu.
160 Any windows not matching an instance of the include or exclude list will be placed in the last section of the menu.
163 Run the module, supposedly from StartFunction in \fI.fvwm2rc\fR:
166 \& Module FvwmWindowMenu
169 To actually invoke the menu add something like:
172 \& Key Menu A N SendToModule FvwmWindowMenu \e
173 \& Post Root c c SelectOnRelease Menu
179 \& Mouse 2 A N SendToModule FvwmWindowMenu Popup
182 The additional parameters are any valid \fBMenu\fR command parameters without a menu name, see fvwm.
184 Recognized actions are \fBPost\fR (or its alias \fBMenu\fR) and \fBPopup\fR, they create \fIfvwm\fR menus and invoke them using the corresponding commands \fBMenu\fR and \fBPopup\fR. If the module was started with \*(L"\-g\*(R" switch, it additionally supports \fBPostBar\fR (not implemented yet).
186 Set module options for windows to include (Show) or exclude (DontShow). The syntax is:
189 \& *FvwmWindowMenu: ShowName pattern
190 \& *FvwmWindowMenu: ShowClass pattern
191 \& *FvwmWindowMenu: ShowResource pattern
192 \& *FvwmWindowMenu: DontShowName pattern
193 \& *FvwmWindowMenu: DontShowClass pattern
194 \& *FvwmWindowMenu: DontShowResource pattern
197 Pattern is a perl regular expression that will be evaluated in m// context. See \fIperlre\fR\|(1).
202 \& *FvwmWindowMenu: ShowResource ^gvim
203 \& *FvwmWindowMenu: ShowName Galeon|Navigator|mozilla\-bin|Firefox
206 will define two sections containing respectively browsers, and GVim. A third section will contain all other windows.
208 To only include matching windows, add:
211 \& *FvwmWindowMenu: DontShowName .*
217 \& *FvwmWindowMenu: DontShowName ^Fvwm
218 \& *FvwmWindowMenu: DontShowClass Gkrellm
221 will cause the menu to ignore windows with name beginning with Fvwm or class gkrellm.
224 .IP "*FvwmWindowMenu: \fIOnlyIconified\fR {on|off}" 4
225 .IX Item "*FvwmWindowMenu: OnlyIconified {on|off}"
226 show only iconified windows
227 .IP "*FvwmWindowMenu: \fIAllDesks\fR {on|off}" 4
228 .IX Item "*FvwmWindowMenu: AllDesks {on|off}"
229 show windows from all desks
230 .IP "*FvwmWindowMenu: \fIAllPages\fR {on|off}" 4
231 .IX Item "*FvwmWindowMenu: AllPages {on|off}"
232 show windows from all pages
233 .IP "*FvwmWindowMenu: \fIMaxLen\fR 32" 4
234 .IX Item "*FvwmWindowMenu: MaxLen 32"
235 max length in chars of entry
236 .IP "*FvwmWindowMenu: \fIMenuName\fR MyMenu" 4
237 .IX Item "*FvwmWindowMenu: MenuName MyMenu"
238 name of menu to popup
239 .IP "*FvwmWindowMenu: \fIMenuStyle\fR MyMenuStyle" 4
240 .IX Item "*FvwmWindowMenu: MenuStyle MyMenuStyle"
241 name of MenuStyle to apply
242 .IP "*FvwmWindowMenu: \fIDebug\fR {0,1,2,3}" 4
243 .IX Item "*FvwmWindowMenu: Debug {0,1,2,3}"
244 level of debug info output, 0 means no debug
245 .IP "*FvwmWindowMenu: \fIFunction\fR MyWindowListFunc" 4
246 .IX Item "*FvwmWindowMenu: Function MyWindowListFunc"
247 function to invoke on menu entries; defaults to WindowListFunc
248 .IP "*FvwmWindowMenu: \fIItemFormat\fR formatstring" 4
249 .IX Item "*FvwmWindowMenu: ItemFormat formatstring"
250 how to format menu entries; substitutions are made as follows:
252 .ie n .IP "%n\fR, \f(CW%i\fR, \f(CW%c\fR, \f(CW%r" 4
253 .el .IP "\f(CW%n\fR, \f(CW%i\fR, \f(CW%c\fR, \f(CW%r\fR" 4
254 .IX Item "%n, %i, %c, %r"
255 the window name, icon name, class or resource
256 .ie n .IP "%x\fR, \f(CW%y" 4
257 .el .IP "\f(CW%x\fR, \f(CW%y\fR" 4
259 the window x or y coordinates w.r.t. the page the window is on.
260 .ie n .IP "%X\fR, \f(CW%Y" 4
261 .el .IP "\f(CW%X\fR, \f(CW%Y\fR" 4
263 the window x or y coordinates w.r.t. the desk the window is on.
265 .el .IP "\f(CW%d\fR" 4
267 the window desk number
269 .el .IP "\f(CW%m\fR" 4
271 the window's mini-icon
273 .el .IP "\f(CW%M\fR" 4
275 the window's mini-icon only for iconified windows, otherwise empty
277 .el .IP "\f(CW%t\fR" 4
285 The format string must be quoted. The default string is \*(L"%m%n%t%t(+%x+%y) \- Desk \f(CW%d\fR\*(R".
288 .IX Header "MORE EXAMPLES"
289 Fancy binding of the window menu to the right windows key on some keyboards. Hold this button while navigating using cursor keys, then release it.
292 \& CopyMenuStyle * WindowMenu
293 \& MenuStyle WindowMenu SelectOnRelease Super_R
294 \& *FvwmWindowMenu: MenuStyle WindowMenu
296 \& AddToFunc StartFunction I Module FvwmWindowMenu
298 \& Key Super_R A A SendToModule FvwmWindowMenu Post Root c c WarpTitle
302 Richard Lister <ric+lister@cns.georgetown.edu>.
304 Scott Smedley <ss@aao.gov.au>.
306 Mikhael Goikhman <migo@homemail.com>.