'\" t .\" Title: fvwmpager .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.20 .\" Date: 2024-03-09 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "FVWMPAGER" "1" "2024-03-09" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" FvwmPager \- the Fvwm Pager module .SH "SYNOPSIS" .sp \fBFvwmPager\fP [ \fI\-transient\fP ] [ \fIname\fP ] [ \fIfirst desk\fP [ \fIlast desk\fP ] ] FvwmPager is spawned by fvwm, so no command line invocation will work. .sp All desks with desk numbers between \fIfirst desk\fP and \fIlast\fP desk are displayed. If \fIlast desk\fP is omitted only the \fIfirst desk\fP is shown. If both desk numbers are omitted, the current desk is used instead. If you use an asterisk \*(Aq*\*(Aq in place of \fIfirst desk\fP the pager will always show the current desktop, even when you switch desks. .sp FvwmPager will compute its initial window size based on your monitor(s) configuration. By default it makes a page 1/32 the size of your monitor(s) resolution (see \fIDeskTopScale\fP) and matches either the global aspect ratio or a single monitor if \fIMonitor\fP is set. FvwmPager will preserve this aspect ratio when you resize it. See the \fIGeometry\fP option for more info. .sp Example lines to put in your .fvwm2rc: .sp .if n .RS 4 .nf .fam C Module FvwmPager 0 3 .fam .fi .if n .RE .sp or .sp .if n .RS 4 .nf .fam C Module FvwmPager * .fam .fi .if n .RE .sp or from within an fvwm pop\-up menu: .sp .if n .RS 4 .nf .fam C AddToMenu Module\-Popup Modules Title + Audio Module FvwmAudio + Auto Module FvwmAuto 200 + Buttons Module FvwmButtons + Console Module FvwmConsole + Ident Module FvwmIdent + Banner Module FvwmBanner + Pager Module FvwmPager 0 3 .fam .fi .if n .RE .sp or .sp .if n .RS 4 .nf .fam C + Pager Module FvwmPager * .fam .fi .if n .RE .sp If the pager is started with the \fI\-transient\fP option, the next time a button is released the pager is closed. Note that this option does only work if the window style of the pager window is \*(Aqsticky\*(Aq (see the fvwm man page). You should use the \*(AqStaysOnTop\*(Aq style too. .sp Example: .sp .if n .RS 4 .nf .fam C Style FvwmPager Sticky, StaysOnTop *FvwmPager: Rows 1 *FvwmPager: Columns 1 Mouse 3 R C Module FvwmPager \-transient .fam .fi .if n .RE .sp With this in your .fvwm2rc, if you press control and button 3 in the root window the pager pops up under the mouse and while the viewport moves with the mouse. .SH "DESCRIPTION" .sp The FvwmPager module shows a miniature view of the Fvwm desktops which are specified in the command line. This is a useful reminder of where your active windows are. Windows in the pager are shown in the same color as their fvwm decorations. .sp The pager can be used to change your viewport into the current desktop, to change desktops, or to move windows around. .sp Pressing mouse button 1 in the pager will cause you viewport to change to the selected page of the selected desk. If you click with button 1 in the desk\-label area, you will switch desks but not pages within the desk. .sp Dragging mouse button 2 on a miniature view of a window will cause that window to be move to the location where you release the mouse button, but your viewport will not change. If you drag the window out of the pager and onto your desktop, a full size image of the window will appear for you to place. There is no way to pick up a full size image of the window and move it into the pager, however. Since some mice do not have button 2, I have made provisions to drag windows in the pager by using pressing modifier\-1 (usually Alt) and dragging with button 3. .sp Clicking mouse button 3 on a location will cause the viewport to move to the selected location and switch desks if necessary, but will not align the viewport to a page boundary. Dragging button 3 will cause the viewport to move as you drag but not switch desktops, even if the pointer moves to another desktop. .sp With the \fI*FvwmPager: SloppyFocus\fP option the focus is transferred to the window pointed at with the mouse when the pointer is inside the pager. .sp When iconified, the pager will work as a fully functional current desk only pager. Windows and viewports can be moved within the icon of the pager. Users will want to make sure that they have no lines similar to .sp .if n .RS 4 .nf .fam C Icon "Fvwm Pager" whatever .fam .fi .if n .RE .sp in their .fvwm2rc files. .SH "INITIALIZATION" .sp During initialization, \fIFvwmPager\fP gets config info from \fBfvwm\fP\*(Aqs module configuration database (see \fIfvwm\fP(1), section \fBMODULE COMMANDS\fP). .sp To use FvwmPager with several different configurations, you can invoke FvwmPager with an optional parameter, which it will use as its \fIname\fP instead (e.g "Module FvwmPager OtherPager"). OtherPager will then read only the lines in the configuration file starting with "*OtherPager", and not the lines belonging to FvwmPager. This way multiple pager instances may be used. .sp Note: the old way to use the FvwmPager with several different configurations is to link the executable to another name, i.e. .sp .if n .RS 4 .nf .fam C ln \-s FvwmPager OtherPager .fam .fi .if n .RE .sp This may work, but this method is not supported. .SH "KEYBOARD FOCUS CONTROL" .sp You can direct the keyboard focus to any window on the current desktop by clicking with button 2 on its image in the pager. The window does not need to be visible, but it does need to be on the current page. .SH "INVOCATION" .sp The invocation method was shown in the synopsis section .SH "CONFIGURATION OPTIONS" .sp *FvwmPager: Geometry geometry .RS 4 Completely or partially specifies the pager windows location and geometry, in standard X11 notation. If both width and height are set, FvwmPager will use that size and no longer preserve the aspect ratio when resized. If you wish to maintain an undistorted aspect ratio, you can set one dimension to zero. For example \*(Aq400x0\*(Aq will make a 400 pixel wide window whose height matches the aspect ratio and will also preserve aspect ratio when resized. .sp \fBNote\fP: FvwmPager\(cqs dimensions will be slightly adjusted to ensure every page shown has the exact same number of pixels. So the actual size may be slightly different than the specified size. .RE .sp *FvwmPager: Rows rows .RS 4 Tells fvwm how many rows of desks to use when laying out the pager window. .RE .sp *FvwmPager: Columns columns .RS 4 Tells fvwm how many columns of desks to use when laying out the pager window. .RE .sp *FvwmPager: IconGeometry geometry .RS 4 Specifies a size (optional) and location (optional) for the pager\(cqs icon window. Since there is no easy way for FvwmPager to determine the height of the icon\(cqs label, you will have to make an allowance for the icon label height when using negative y\-coordinates in the icon location specification (used to specify a location relative to the bottom instead of the top of the screen). .RE .sp *FvwmPager: StartIconic .RS 4 Causes the pager to start iconified. .RE .sp *FvwmPager: NoStartIconic .RS 4 Causes the pager to start normally. Useful for canceling the effect of the \fIStartIconic\fP option. .RE .sp *FvwmPager: LabelsBelow .RS 4 Causes the pager to draw desk labels below the corresponding desk. .RE .sp *FvwmPager: LabelsAbove .RS 4 Causes the pager to draw desk labels above the corresponding desk. Useful for canceling the effect of the \fILabelsBelow\fP option. .RE .sp *FvwmPager: ShapeLabels .RS 4 Causes the pager to hide the labels of all but the current desk. This turns off label hilighting. .RE .sp *FvwmPager: NoShapeLabels .RS 4 Causes the pager to show the labels of all visible desks. Useful for canceling the effect of the \fIShapeLabels\fP option. .RE .sp *FvwmPager: Font font\-name .RS 4 Specified a font to use to label the desktops. If \fIfont_name\fP is "none" then no desktop labels will be displayed. .RE .sp *FvwmPager: SmallFont font\-name .RS 4 Specified a font to use to label the window names in the pager. If not specified, the window labels will be omitted. Window labels seem to be fairly useless for desktop scales of 32 or greater. If \fIfont_name\fP is "none" then no window names will be displayed. .RE .sp *FvwmPager: Fore color .RS 4 Specifies the color to use to write the desktop labels, and to draw the page\-grid lines. .RE .sp *FvwmPager: Back color .RS 4 Specifies the background color for the window. .RE .sp *FvwmPager: Hilight color .RS 4 The active page and desk label will be highlighted by using this background pattern instead of the normal background. .RE .sp *FvwmPager: HilightPixmap pixmap .RS 4 The active page will be highlighted by using this background pattern instead of the normal background. .RE .sp *FvwmPager: DeskHilight .RS 4 Hilight the active page with the current hilight color/pixmap. Useful for canceling the effect of the \fINoDeskHilight\fP option. .RE .sp *FvwmPager: NoDeskHilight .RS 4 Don\(cqt hilight the active page. .RE .sp *FvwmPager: WindowColors fore back hiFore hiBack .RS 4 Change the normal/highlight colors of the windows. \fIfore\fP and \fIhiFore\fP specify the colors as used for the font inside the windows. \fIback\fP and \fIhiBack\fP are used to fill the windows with. .RE .sp *FvwmPager: WindowLabelFormat format .RS 4 This specifies a printf() like format for the labels in the mini window. Possible flags are: %t, %i, %c, and %r for the window\(cqs title, icon title, class, or resource name, respectively. The default is "%i". .RE .sp *FvwmPager: DeskColor desk color .RS 4 Assigns the color \fIcolor\fP to desk \fIdesk\fP (or the current desk if desk is "*") in the pager window. This replaces the background color for the particular \fIdesk\fP. This only works when the pager is full sized. When Iconified, the pager uses the color specified by *FvwmPager: Back. .sp \fBTIP:\fP Try using *FvwmPager: DeskColor in conjunction with FvwmCpp (or FvwmM4) and FvwmBacker to assign identical colors to your various desktops and the pager representations. .RE .sp *FvwmPager: Pixmap pixmap .RS 4 Use \fIpixmap\fP as background for the pager. .RE .sp *FvwmPager: DeskPixmap desk pixmap .RS 4 Assigns the pixmap \fIcolor\fP to desk \fIdesk\fP (or the current desk if desk is "*") in the pager window. This replaces the background pixmap for the particular \fIdesk\fP. .sp \fBTIP:\fP Try using *FvwmPager: DeskPixmap in conjunction with FvwmCpp (or FvwmM4) and FvwmBacker to assign identical pixmaps to your various desktops and the pager representations. .RE .sp *FvwmPager: DeskTopScale number .RS 4 If the geometry is not specified, then a desktop reduction factor is used to calculate the pager\(cqs size. Things in the pager window are shown at 1/\fInumber\fP of the actual size. .RE .sp *FvwmPager: MiniIcons .RS 4 Allow the pager to display a window\(cqs mini icon in the pager, if it has one, instead of showing the window\(cqs name. .RE .sp *FvwmPager: MoveThreshold pixels .RS 4 Defines the distance the pointer has to be moved before a window being dragged with button 2 is actually moved. The default value is three pixels. If the pointer moved less that this amount the window snaps back to its original position when the button is released. If \fIpixels\fP is less than zero the default value is used. The value set with the \fIMoveThreshold\fP command in fvwm is inherited by FvwmPager but can be overridden with this option. .RE .sp *FvwmPager: SloppyFocus .RS 4 If the SloppyFocus option is used, you do not need to click into the mini window in the pager to give the real window the focus. Simply putting the pointer over the window inside the pager is enough. .sp Note: This option interferes slightly with the MouseFocus and SloppyFocus styles of fvwm. Sometimes, if you click into the pager window to change pages or desks and then move the pointer to a place on the screen where a window of the new page will appear, this new window does not get the input focus. This may happen if you drag the pointer over one of the mini windows in the pager. There is nothing that can be done about this \- except not using SloppyFocus in the pager. .RE .sp *FvwmPager: SolidSeparators .RS 4 By default the pages of the virtual desktop are separated by dashed lines in the pager window. This option causes FvwmPager to use solid lines instead. .RE .sp *FvwmPager: NoSeparators .RS 4 Turns off the lines separating the pages of the virtual desktop. .RE .sp *FvwmPager: Balloons [type] .RS 4 Show a balloon describing the window when the pointer is moved into a window in the pager. The default format (the window\(cqs icon name) can be changed using BalloonStringFormat. If \fItype\fP is \fIPager\fP balloons are just shown for an un\-iconified pager; if \fItype\fP is \fIIcon\fP balloons are just shown for an iconified pager. If \fItype\fP is anything else (or null) balloons are always shown. .RE .sp *FvwmPager: BalloonFore color .RS 4 Specifies the color for text in the balloon window. If omitted it defaults to the foreground color for the window being described. .RE .sp *FvwmPager: BalloonBack color .RS 4 Specifies the background color for the balloon window. If omitted it defaults to the background color for the window being described. .RE .sp *FvwmPager: BalloonFont font\-name .RS 4 Specifies a font to use for the balloon text. Defaults to \fIfixed\fP. .RE .sp *FvwmPager: BalloonBorderWidth number .RS 4 Sets the width of the balloon window\(cqs border. Defaults to 1. .RE .sp *FvwmPager: BalloonBorderColor color .RS 4 Sets the color of the balloon window\(cqs border. Defaults to black. .RE .sp *FvwmPager: BalloonYOffset number .RS 4 The balloon window is positioned to be horizontally centered against the pager window it is describing. The vertical position may be set as an offset. Negative offsets of \fI\-n\fP are placed \fIn\fP pixels above the pager window, positive offsets of \fI+n\fP are placed \fIn\fP pixels below. Offsets of \-1 and 1 represent the balloon window close to the original window without a gap. Offsets of 0 are not permitted, as this would permit direct transit from pager window to balloon window, causing an event loop. Defaults to +3. The offset will change sign automatically, as needed, to keep the balloon on the screen. .RE .sp *FvwmPager: BalloonStringFormat format .RS 4 The same as \fI*FvwmPager: WindowLabelFormat\fP, it just specifies the string to display in the balloons. The default is "%i". .RE .sp *FvwmPager: Colorset desk colorset .RS 4 Tells the module to use colorset \fIcolorset\fP for \fIdesk\fP. If you use an asterisk \*(Aq*\*(Aq in place of \fIdesk\fP, the colorset is used on all desks. .RE .sp *FvwmPager: BalloonColorset desk colorset .RS 4 Tells the module to use colorset \fIcolorset\fP for balloons on \fIdesk\fP. If you use an asterisk \*(Aq*\*(Aq in place of \fIdesk\fP, the colorset is used on all desks. .RE .sp *FvwmPager: HilightColorset desk colorset .RS 4 Tells the module to use colorset \fIcolorset\fP for hilighting on \fIdesk\fP. If you use an asterisk \*(Aq*\*(Aq in place of \fIdesk\fP, the colorset is used on all desks. .RE .sp *FvwmPager: WindowColorsets colorset activecolorset .RS 4 Uses colorsets in the same way as *FvwmPager: WindowColors. The shadow and hilight colors of the colorset are only used for the window borders if the *FvwmPager: Window3DBorders is specified too. .RE .sp *FvwmPager: WindowMinSize n .RS 4 Specifies the minimum size as \fIn\fP pixels of the mini windows. This does not include the width of the border, so the actual minimum size is 2 * \fIWindowBorderWidth\fP + \fIWindowMinSize\fP. The default is 3. .RE .sp *FvwmPager: WindowBorderWidth n .RS 4 Specifies the width of the border drawn around the mini windows. This also affects the minimum size of the mini windows, which will be 2 * \fIWindowBorderWidth\fP + \fIWindowMinSize\fP. The default is 1. .RE .sp *FvwmPager: HideSmallWindows .RS 4 Tells FvwmPager to not show windows that are the minimum size. Useful for tiny pagers where small windows will appear out of place. .RE .sp *FvwmPager: Window3DBorders .RS 4 Specifies that the mini windows should have a 3d borders based on the mini window background. This option only works if *FvwmPager: WindowColorsets is specified. .RE .sp *FvwmPager: UseSkipList .RS 4 Tells FvwmPager to not show the windows that are using the WindowListSkip style. .RE .sp *FvwmPager: Monitor RandRName .RS 4 Tells FvwmPager to display windows only on \fIRandRName\fP monitor. This is especially meaningful when the \fIDesktopConfiguration\fP command is set to \fIper\-monitor\fP. .RE .SH "AUTHOR" .sp Robert Nation .br DeskColor patch contributed by Alan Wild .br MiniIcons & WindowColors patch contributed by Rob Whapham .br Balloons patch by Ric Lister \c .MTO "ric\(atgiccs.georgetown.edu" "" "" .br fvwm\-workers: Dominik, Olivier, Hippo and others.