FVWMPAGER(1) | FVWMPAGER(1) |
FvwmPager - the Fvwm Pager module
FvwmPager [ -transient ] [ name ] [ first desk [ last desk ] ] FvwmPager is spawned by fvwm, so no command line invocation will work.
All desks with desk numbers between first desk and last desk are displayed. If last desk is omitted only the first desk is shown. If both desk numbers are omitted, the current desk is used instead. If you use an asterisk '*' in place of first desk the pager will always show the current desktop, even when you switch desks.
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 DeskTopScale) and matches either the global aspect ratio or a single monitor if Monitor is set. FvwmPager will preserve this aspect ratio when you resize it. See the Geometry option for more info.
Example lines to put in your .fvwm2rc:
Module FvwmPager 0 3
or
Module FvwmPager *
or from within an fvwm pop-up menu:
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
or
+ Pager Module FvwmPager *
If the pager is started with the -transient 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 'sticky' (see the fvwm man page). You should use the 'StaysOnTop' style too.
Example:
Style FvwmPager Sticky, StaysOnTop *FvwmPager: Rows 1 *FvwmPager: Columns 1 Mouse 3 R C Module FvwmPager -transient
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.
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.
The pager can be used to change your viewport into the current desktop, to change desktops, or to move windows around.
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.
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.
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.
With the *FvwmPager: SloppyFocus option the focus is transferred to the window pointed at with the mouse when the pointer is inside the pager.
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
Icon "Fvwm Pager" whatever
in their .fvwm2rc files.
During initialization, FvwmPager gets config info from fvwm's module configuration database (see fvwm(1), section MODULE COMMANDS).
To use FvwmPager with several different configurations, you can invoke FvwmPager with an optional parameter, which it will use as its name 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.
Note: the old way to use the FvwmPager with several different configurations is to link the executable to another name, i.e.
ln -s FvwmPager OtherPager
This may work, but this method is not supported.
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.
The invocation method was shown in the synopsis section
*FvwmPager: Geometry geometry
Note: FvwmPager’s 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.
*FvwmPager: Rows rows
*FvwmPager: Columns columns
*FvwmPager: IconGeometry geometry
*FvwmPager: StartIconic
*FvwmPager: NoStartIconic
*FvwmPager: LabelsBelow
*FvwmPager: LabelsAbove
*FvwmPager: ShapeLabels
*FvwmPager: NoShapeLabels
*FvwmPager: Font font-name
*FvwmPager: SmallFont font-name
*FvwmPager: Fore color
*FvwmPager: Back color
*FvwmPager: Hilight color
*FvwmPager: HilightPixmap pixmap
*FvwmPager: DeskHilight
*FvwmPager: NoDeskHilight
*FvwmPager: WindowColors fore back hiFore hiBack
*FvwmPager: WindowLabelFormat format
*FvwmPager: DeskColor desk color
TIP: Try using *FvwmPager: DeskColor in conjunction with FvwmCpp (or FvwmM4) and FvwmBacker to assign identical colors to your various desktops and the pager representations.
*FvwmPager: Pixmap pixmap
*FvwmPager: DeskPixmap desk pixmap
TIP: Try using *FvwmPager: DeskPixmap in conjunction with FvwmCpp (or FvwmM4) and FvwmBacker to assign identical pixmaps to your various desktops and the pager representations.
*FvwmPager: DeskTopScale number
*FvwmPager: MiniIcons
*FvwmPager: MoveThreshold pixels
*FvwmPager: SloppyFocus
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.
*FvwmPager: SolidSeparators
*FvwmPager: NoSeparators
*FvwmPager: Balloons [type]
*FvwmPager: BalloonFore color
*FvwmPager: BalloonBack color
*FvwmPager: BalloonFont font-name
*FvwmPager: BalloonBorderWidth number
*FvwmPager: BalloonBorderColor color
*FvwmPager: BalloonYOffset number
*FvwmPager: BalloonStringFormat format
*FvwmPager: Colorset desk colorset
*FvwmPager: BalloonColorset desk colorset
*FvwmPager: HilightColorset desk colorset
*FvwmPager: WindowColorsets colorset activecolorset
*FvwmPager: WindowMinSize n
*FvwmPager: WindowBorderWidth n
*FvwmPager: HideSmallWindows
*FvwmPager: Window3DBorders
*FvwmPager: UseSkipList
*FvwmPager: Monitor RandRName
Robert Nation
DeskColor patch contributed by Alan Wild
MiniIcons & WindowColors patch contributed by Rob Whapham
Balloons patch by Ric Lister <ric@giccs.georgetown.edu>
fvwm-workers: Dominik, Olivier, Hippo and others.
2023-01-17 |