2 .\" @(#)@PACKAGE@-@VERSION@ @RELDATELONG@
3 .TH FvwmPager 1 "@RELDATELONG@ (@VERSION@)" Fvwm "Fvwm Modules"
6 FvwmPager \- the Fvwm Pager module
8 \fBFvwmPager\fP [ \fI-transient\fP ] [ \fIname\fP ] [ \fIfirst desk\fP [ \fIlast desk\fP ] ]
9 FvwmPager is spawned by fvwm, so no command line invocation will work.
11 All desks with desk numbers between \fIfirst desk\fP and \fIlast
12 desk\fP are displayed. If \fIlast desk\fP is omitted only the
13 \fIfirst desk\fP is shown. If both desk numbers are omitted, the
14 current desk is used instead. If you use an asterisk '*' in place
15 of \fIfirst desk\fP the pager will always show the current
16 desktop, even when you switch desks.
18 Example lines to put in your .fvwm2rc:
31 or from within an fvwm pop-up menu:
34 AddToMenu Module-Popup Modules Title
35 + Audio Module FvwmAudio
36 + Auto Module FvwmAuto 200
37 + Buttons Module FvwmButtons
38 + Console Module FvwmConsole
39 + Ident Module FvwmIdent
40 + Banner Module FvwmBanner
41 + Pager Module FvwmPager 0 3
47 + Pager Module FvwmPager *
51 If the pager is started with the \fI-transient\fP option, the next
52 time a button is released the pager is closed. Note that this
53 option does only work if the window style of the pager window is 'sticky'
54 (see the fvwm man page). You should use the 'StaysOnTop'
61 Style FvwmPager Sticky, StaysOnTop
64 Mouse 3 R C Module FvwmPager -transient
68 With this in your .fvwm2rc, if you press control and button 3 in
69 the root window the pager pops up under the mouse and while the
70 viewport moves with the mouse.
74 The FvwmPager module shows a miniature view of the Fvwm desktops
75 which are specified in the command line. This is a useful reminder
76 of where your active windows are. Windows in the pager are shown
77 in the same color as their fvwm decorations.
79 The pager can be used to change your viewport into the current
80 desktop, to change desktops, or to move windows around.
82 Pressing mouse button 1 in the pager will cause you viewport to
83 change to the selected page of the selected desk. If you click
84 with button 1 in the desk-label area, you will switch desks but
85 not pages within the desk.
87 Dragging mouse button 2 on a miniature view of a window will cause
88 that window to be move to the location where you release the mouse
89 button, but your viewport will not change. If you drag the window
90 out of the pager and onto your desktop, a full size image of the
91 window will appear for you to place. There is no way to pick up a
92 full size image of the window and move it into the pager,
93 however. Since some mice do not have button 2, I have made
94 provisions to drag windows in the pager by using pressing
95 modifier-1 (usually Alt) and dragging with button 3.
97 Clicking mouse button 3 on a location will cause the viewport to
98 move to the selected location and switch desks if necessary, but
99 will not align the viewport to a page boundary. Dragging button 3
100 will cause the viewport to move as you drag but not switch
101 desktops, even if the pointer moves to another desktop.
103 With the \fI*FvwmPager: SloppyFocus\fP option the focus is
104 transfered to the window pointed at with the mouse when the
105 pointer is inside the pager.
107 When iconified, the pager will work as a fully functional current
108 desk only pager. Windows and viewports can be moved within the
109 icon of the pager. Users will want to make sure that they have no
113 Icon "Fvwm Pager" whatever
116 in their .fvwm2rc files.
120 The FvwmPager program, and the concept for interfacing this module
121 to the Window Manager, are all original work by Robert Nation.
123 Copyright 1994, Robert Nation. No guarantees or warranties or
124 anything are provided or implied in any way whatsoever. Use this
125 program at your own risk. Permission to use this program for any
126 purpose is given, as long as the copyright is kept intact.
130 During initialization, \fIFvwmPager\fP gets config info from
131 \fBfvwm\fP's module configuration database (see
134 .BR "MODULE COMMANDS" ).
136 To use FvwmPager with several different configurations, you can
137 invoke FvwmPager with an optional parameter, which it will use as
138 its \fIname\fP instead (e.g "Module FvwmPager
139 OtherPager"). OtherPager will then read only the lines in the
140 configuration file starting with "*OtherPager", and not the lines
141 belonging to FvwmPager. This way multiple pager instances may be
144 Note: the old way to use the FvwmPager with several different
145 configurations is to link the executable to another name, i.e.
148 ln -s FvwmPager OtherPager
151 This may work, but this method is not supported.
153 .SH KEYBOARD FOCUS CONTROL
154 You can direct the keyboard focus to any window on the current
155 desktop by clicking with button 2 on its image in the pager. The
156 window does not need to be visible, but it does need to be on the
160 The invocation method was shown in the synopsis section
162 .SH CONFIGURATION OPTIONS
163 .IP "*FvwmPager: Geometry \fIgeometry\fP"
164 Completely or partially specifies the pager windows location and
165 geometry, in standard X11 notation. In order to maintain an
166 undistorted aspect ratio, you might want to leave out either the
167 width or height dimension of the geometry specification .
169 .IP "*FvwmPager: Rows \fIrows\fP"
170 Tells fvwm how many rows of desks to use when laying out the pager
173 .IP "*FvwmPager: Columns \fIcolumns\fP"
174 Tells fvwm how many columns of desks to use when laying out the
177 .IP "*FvwmPager: IconGeometry \fIgeometry\fP"
178 Specifies a size (optional) and location (optional) for the
179 pager's icon window. Since there is no easy way for FvwmPager to
180 determine the height of the icon's label, you will have to make an
181 allowance for the icon label height when using negative
182 y-coordinates in the icon location specification (used to specify
183 a location relative to the bottom instead of the top of the
186 .IP "*FvwmPager: StartIconic"
187 Causes the pager to start iconified.
189 .IP "*FvwmPager: NoStartIconic"
190 Causes the pager to start normally. Useful for canceling the
191 effect of the \fIStartIconic\fP option.
193 .IP "*FvwmPager: LabelsBelow"
194 Causes the pager to draw desk labels below the corresponding desk.
196 .IP "*FvwmPager: LabelsAbove"
197 Causes the pager to draw desk labels above the corresponding
198 desk. Useful for canceling the effect of the \fILabelsBelow\fP
201 .IP "*FvwmPager: ShapeLabels"
202 Causes the pager to hide the labels of all but the current
203 desk. This turns off label hilighting.
205 .IP "*FvwmPager: NoShapeLabels"
206 Causes the pager to show the labels of all visible desks. Useful
207 for canceling the effect of the \fIShapeLabels\fP option.
209 .IP "*FvwmPager: Font \fIfont-name\fP"
210 Specified a font to use to label the desktops. If \fIfont_name\fP
211 is "none" then no desktop labels will be displayed.
213 .IP "*FvwmPager: SmallFont \fIfont-name\fP"
214 Specified a font to use to label the window names in the pager. If
215 not specified, the window labels will be omitted. Window labels
216 seem to be fairly useless for desktop scales of 32 or greater. If
217 \fIfont_name\fP is "none" then no window names will be displayed.
219 .IP "*FvwmPager: Fore \fIcolor\fP"
220 Specifies the color to use to write the desktop labels, and to
221 draw the page-grid lines.
223 .IP "*FvwmPager: Back \fIcolor\fP"
224 Specifies the background color for the window.
226 .IP "*FvwmPager: Hilight \fIcolor\fP"
227 The active page and desk label will be highlighted by using this
228 background pattern instead of the normal background.
230 .IP "*FvwmPager: HilightPixmap \fIpixmap\fP"
231 The active page will be highlighted by using this background
232 pattern instead of the normal background.
234 .IP "*FvwmPager: DeskHilight"
235 Hilight the active page with the current hilight
236 color/pixmap. Useful for canceling the effect of the
237 \fINoDeskHilight\fP option.
239 .IP "*FvwmPager: NoDeskHilight"
240 Don't hilight the active page.
242 .IP "*FvwmPager: WindowColors \fIfore back hiFore hiBack\fP"
243 Change the normal/highlight colors of the windows. \fIfore\fP and
244 \fIhiFore\fP specify the colors as used for the font inside the
245 windows. \fIback\fP and \fIhiBack\fP are used to fill the windows
248 .IP "*FvwmPager: WindowLabelFormat \fIformat\fP"
249 This specifies a printf() like format for the labels in the mini
250 window. Possible flags are: %t, %i, %c, and %r for the window's
251 title, icon, class, or resource name, respectively. The default
254 .IP "*FvwmPager: Label \fIdesk label\fP"
255 Assigns the text \fIlabel\fP to desk \fIdesk\fP (or the current
256 desk if desk is "*") in the pager window. Useful for assigning
257 symbolic names to desktops, i.e.
260 *FvwmPager: Label 1 Mail
261 *FvwmPager: Label 2 Maker
262 *FvwmPager: Label * Matlab
267 There is currently a much better way to specify desk names
268 globally (and not just in FvwmPager) using
270 command, so you should not use this option anymore.
272 .IP "*FvwmPager: DeskColor \fIdesk color\fP"
273 Assigns the color \fIcolor\fP to desk \fIdesk\fP (or the current
274 desk if desk is "*") in the pager window. This replaces the
275 background color for the particular \fIdesk\fP. This only works
276 when the pager is full sized. When Iconified, the pager uses the
277 color specified by *FvwmPager: Back.
279 \fBTIP:\fP Try using *FvwmPager: DeskColor in conjunction with
280 FvwmCpp (or FvwmM4) and FvwmBacker to assign identical colors to
281 your various desktops and the pager representations.
283 .IP "*FvwmPager: Pixmap \fIpixmap\fP"
284 Use \fIpixmap\fP as background for the pager.
286 .IP "*FvwmPager: DeskPixmap \fIdesk pixmap\fP"
287 Assigns the pixmap \fIcolor\fP to desk \fIdesk\fP (or the current
288 desk if desk is "*") in the pager window. This replaces the
289 background pixmap for the particular \fIdesk\fP.
291 \fBTIP:\fP Try using *FvwmPager: DeskPixmap in conjunction with
292 FvwmCpp (or FvwmM4) and FvwmBacker to assign identical pixmaps to
293 your various desktops and the pager representations.
295 .IP "*FvwmPager: DeskTopScale \fInumber\fP"
296 If the geometry is not specified, then a desktop reduction factor
297 is used to calculate the pager's size. Things in the pager window
298 are shown at 1/\fInumber\fP of the actual size.
300 .IP "*FvwmPager: MiniIcons"
301 Allow the pager to display a window's mini icon in the pager, if
302 it has one, instead of showing the window's name.
304 .IP "*FvwmPager: MoveThreshold \fIpixels\fP"
305 Defines the distance the pointer has to be moved before a window
306 being dragged with button 2 is actually moved. The default value
307 is three pixels. If the pointer moved less that this amount the
308 window snaps back to its original position when the button is
309 released. If \fIpixels\fP is less than zero the default value is
310 used. The value set with the \fIMoveThreshold\fP command in fvwm
311 is inherited by FvwmPager but can be overridden with this option.
313 .IP "*FvwmPager: SloppyFocus"
314 If the SloppyFocus option is used, you do not need to click into
315 the mini window in the pager to give the real window the
316 focus. Simply putting the pointer over the window inside the pager
319 Note: This option interferes slightly with the MouseFocus and
320 SloppyFocus styles of fvwm. Sometimes, if you click into the
321 pager window to change pages or desks and then move the pointer to
322 a place on the screen where a window of the new page will appear,
323 this new window does not get the input focus. This may happen if
324 you drag the pointer over one of the mini windows in the pager.
325 There is nothing that can be done about this - except not using
326 SloppyFocus in the pager.
328 .IP "*FvwmPager: SolidSeparators"
329 By default the pages of the virtual desktop are separated by
330 dashed lines in the pager window. This option causes FvwmPager to
331 use solid lines instead.
333 .IP "*FvwmPager: NoSeparators"
334 Turns off the lines separating the pages of the virtual desktop.
336 .IP "*FvwmPager: Balloons [\fItype\fP]"
337 Show a balloon describing the window when the pointer is moved
338 into a window in the pager. The default format (the window's icon
339 name) can be changed using BalloonStringFormat. If \fItype\fP is
340 \fIPager\fP balloons are just shown for an un-iconified pager; if
341 \fItype\fP is \fIIcon\fP balloons are just shown for an iconified
342 pager. If \fItype\fP is anything else (or null) balloons are
345 .IP "*FvwmPager: BalloonFore \fIcolor\fP"
346 Specifies the color for text in the balloon window. If omitted it
347 defaults to the foreground color for the window being described.
349 .IP "*FvwmPager: BalloonBack \fIcolor\fP"
350 Specifies the background color for the balloon window. If omitted
351 it defaults to the background color for the window being
354 .IP "*FvwmPager: BalloonFont \fIfont-name\fP"
355 Specifies a font to use for the balloon text. Defaults to
358 .IP "*FvwmPager: BalloonBorderWidth \fInumber\fP"
359 Sets the width of the balloon window's border. Defaults to 1.
361 .IP "*FvwmPager: BalloonBorderColor \fIcolor\fP"
362 Sets the color of the balloon window's border. Defaults to black.
364 .IP "*FvwmPager: BalloonYOffset \fInumber\fP"
365 The balloon window is positioned to be horizontally centered
366 against the pager window it is describing. The vertical position
367 may be set as an offset. Negative offsets of \fI-n\fP are placed
368 \fIn\fP pixels above the pager window, positive offsets of
369 \fI+n\fP are placed \fIn\fP pixels below. Offsets of -1 and 1
370 represent the balloon window close to the original window without
371 a gap. Offsets of 0 are not permitted, as this would permit direct
372 transit from pager window to balloon window, causing an event
373 loop. Defaults to +3. The offset will change sign automatically,
374 as needed, to keep the balloon on the screen.
376 .IP "*FvwmPager: BalloonStringFormat \fTformat\fP"
377 The same as \fI*FvwmPager: WindowLabelFormat\fP, it just specifies
378 the string to display in the balloons. The default is "%i".
380 .IP "*FvwmPager: Colorset \fIdesk colorset\fP"
381 Tells the module to use colorset \fIcolorset\fP for \fIdesk\fP. If
382 you use an asterisk '*' in place of \fIdesk\fP, the colorset is
383 used on all desks. Please refer to the man page of the FvwmTheme
384 module for details about colorsets.
386 .IP "*FvwmPager: BalloonColorset \fIdesk colorset\fP"
387 Tells the module to use colorset \fIcolorset\fP for balloons on
388 \fIdesk\fP. If you use an asterisk '*' in place of \fIdesk\fP, the
389 colorset is used on all desks. Please refer to the man page of the
390 FvwmTheme module for details about colorsets.
392 .IP "*FvwmPager: HilightColorset \fIdesk colorset\fP"
393 Tells the module to use colorset \fIcolorset\fP for hilighting on
394 \fIdesk\fP. If you use an asterisk '*' in place of \fIdesk\fP, the
395 colorset is used on all desks. Please refer to the man page of the
396 FvwmTheme module for details about colorsets.
398 .IP "*FvwmPager: WindowColorsets \fIcolorset activecolorset\fP"
399 Uses colorsets in the same way as *FvwmPager: WindowColors. Please
400 refer to the man page of the FvwmTheme module for details about
401 colorsets. The shadow and hilight colors of the colorset are only
402 used for the window borders if the *FvwmPager: Window3DBorders is
405 .IP "*FvwmPager: WindowBorderWidth \fIn\fP"
406 Specifies the width of the border drawn around the mini
407 windows. This also sets the minimum size of the mini windows to (2
408 * \fIn\fP + 1). The default is 1.
410 .IP "*FvwmPager: Window3DBorders"
411 Specifies that the mini windows should have a 3d borders based on
412 the mini window background. This option only works if *FvwmPager:
413 WindowColorsets is specified.
415 .IP "*FvwmPager: UseSkipList"
416 Tells FvwmPager to not show the windows that are using the
417 WindowListSkip style.
422 DeskColor patch contributed by Alan Wild
424 MiniIcons & WindowColors patch contributed by Rob Whapham
426 Balloons patch by Ric Lister <ric@giccs.georgetown.edu>
428 fvwm-workers: Dominik, Olivier, Hippo and others.