table of contents
FVWMPAGER(1) | FVWMPAGER(1) |
NAME¶
FvwmPager - The fvwm pager module
SYNOPSIS¶
FvwmPager [ -transient ] [ alias ] [ first desk [ last desk ] ]
FvwmPager is spawned by fvwm, so no command line invocation will work.
FvwmPager displays a miniature view of the fvwm virtual desktop(s) showing all desk numbers between first desk and last desk. 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. If you iconify FvwmPager, its icon on the virtual desktop will be a functional version of the pager only showing the current desktop.
FvwmPager is launched via the Module FvwmPager command from fvwm’s config file, and can be launched from functions, menus, key bindings, and so on. If the pager is started with the -transient option, the next time a button is released the pager is closed. Note that this option only works if the window style of the pager window is 'Sticky' (see the fvwm man page). You should use the 'StaysOnTop' style too.
The following example shows how to launch two pagers from your config file when fvwm starts. The first is a pager which will show all desks from 0 to 3, and the second is a pager which only shows the current desk.
AddToFunc StartFunction Module FvwmPager 0 3 AddToFunc StartFunction Module FvwmPager *
FvwmPager is configured via an fvwm module configuration alias. If an alias is given, FvwmPager will use the alias for the configuration and name of the window. If no alias is given, the default 'FvwmPager' alias is used. See the CONFIGURATION section below for a full list of configuration options.
DESCRIPTION¶
FvwmPager displays a miniature view of the fvwm virtual desktop(s) showing the position of all windows and pages within each visible desktop. If DeskHilight is set, the location of each monitor within the desktop is also shown. The pager can be used as a quick reference of the location of windows and monitors, to change the current page/desk, and to focus or move windows. The behavior of FvwmPager depends on the current 'DesktopConfiguration'.
When clicked with button 1, FvwmPager will move the current desk/page to the location clicked. If using 'DesktopConfiguration global' all monitors will move to the location clicked, 'DesktopConfiguration per-monitor' moves the only the monitor which occupies the area clicked, and last 'DesktopConfiguration shared' only allows changing pages of a monitor which occupies the clicked desk. If MonitorLabels are showing, clicks on the monitor label will move that monitor to the clicked desk. Clicks in which it cannot be clearly determined which monitor to move will be ignored, such as clicks on desk labels or dead space in 'per-monitor' mode, clicking on a desk not occupied by any monitor in 'shared' mode. It is suggested to use MonitorLabels with 'shared' mode.
When clicked with button 3, FvwmPager will move the current view port centered on the area clicked. Unlike a left click, which always places the monitor(s) inside a single page’s boundaries, left click will 'Scroll' between multiple pages. While right click is held down, moving the mouse will cause the view port to 'Scroll' to the mouse location. Note that 'Scroll' works best in 'global' mode.
When button 2 clicks a window in the pager, that window will gain focus. Setting the *FvwmPager: SloppyFocus option will give focus to the window under the mouse without clicking. Holding down button 2 on a window in the pager can be used the move the window. The window can be placed at any location inside the pager, and when you move the window outside of the pager, the window will move to the current location, and can continued to be moved.
When iconified, FvwmPager’s icon on the desktop is a fully functional pager that only shows the current desk. This icon pager responds to all the same clicks as described above. This is useful by allowing full pager that shows multiple virtual desktops to be iconified to a smaller pager that only shows the current desk. Note that the FvwmPager icon must be visible via 'Style FvwmPager Icon', and not overridden, for this to work.
FvwmPager will compute its initial window size based on your monitor(s) configuration. By default it makes a pager 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. Both the size of the pager (see Geometry) and desktop layout (see Cols and Rows) can be configured.
CONFIGURATION¶
FvwmPager is configured via a module configuration alias in fvwm’s configuration file. The default alias is 'FvwmPager' and can be configured using lines of the form:
*FvwmPager: Option parameters
When FvwmPager is launched with an optional alias, that alias will be used for the configuration instead. For example to start a pager that shows the current desk on a single monitor, use the following:
DestroyModuleConfig FvwmPagerDP2:* *FvwmPagerDP2: Monitor DP-2 *FvwmPagerDP2: Font None *FvwmPagerDP2: MiniIcons AddToFunc StartFunction Module FvwmPager FvwmPagerDP2 *
The full list of configuration options and their parameters are listed below.
CONFIGURATION OPTIONS¶
*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: DeskLabels
*FvwmPager: NoDeskLabels
*FvwmPager: MonitorLabels
*FvwmPager: NoMonitorLabels
*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
*FvwmPager: Pixmap pixmap
*FvwmPager: DeskPixmap desk pixmap
*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
AUTHOR¶
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.
2024-07-25 |