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