「FVWM」 – 杂项命令

  CREATED BY JENKINSBOT

BugOpts [option [bool]], …

This command controls several workarounds for bugs in third party programs. The individual options
are separated by commas. The optional argument bool is a boolean argument and controls if the bug
workaround is enabled or not. It can either be “True” or “False” to turn the option on or off, or
“toggle” to switch is back and forth. If bool is omitted, the default setting is restored.

FlickeringMoveWorkaround disables ConfigureNotify events that are usually sent to an application while
it is moved. If some windows flicker annoyingly while being moved, this option may help you. Note
that if this problem occurs it is not an fvwm bug, it is a problem of the application.

MixedVisualWorkaround makes fvwm install the root colormap before it does some operations using the
root window visuals. This is only useful when the -visual option is used to start fvwm and then only
with some configurations of some servers (e.g. Exceed 6.0 with an 8 bit PseudoColor root and fvwm
using a 24 bit TrueColor visual).

The ModalityIsEvil option controls whether Motif applications have the ability to have modal dialogs
(dialogs that force you to close them first before you can do anything else). The default is to not
allow applications to have modal dialogs. Use this option with care. Once this option is turned on,
you have to restart fvwm to turn it off.

RaiseOverNativeWindows makes fvwm try to raise the windows it manages over native windows of the X
server’s host system. This is needed for some X servers running under Windows, Windows NT or Mac OS X.
Fvwm tries to detect if it is running under such an X server and initializes the flag accordingly.

RaiseOverUnmanaged makes fvwm try to raise the windows it manages over override_redirect windows.
This is used to cope with ill-mannered applications that use long-lived windows of this sort, contrary
to ICCCM conventions. It is useful with the Unmanaged style option too.

FlickeringQtDialogsWorkaround suppresses flickering of the focused window in some modules when using
KDE or QT applications with application modal dialog windows. By default this option is turned on.
This option may be visually disturbing for other applications using windows not managed by fvwm.
Since these applications are rare it is most likely safe to leave this option at its default.

QtDragnDropWorkaround suppresses the forwarding of unknown ClientEvent messages to windows — usually
this is harmless, but Qt has problems handling unrecognised ClientEvent messages. Enabling this
option might therefore help for Qt applications using DragnDrop. This option is off by default.

EWMHIconicStateWorkaround is needed by EWMH compliant pagers or taskbars which represent windows which
are on a different desktops as iconified. These pagers and taskbars use a version of the EWMH
specification before version 1.2 (the current KDE 2 & 3 versions). These pagers and taskbars use the
IconicState WM_STATE state to determine if an application is iconified. This state, according to the
ICCCM, does not imply that a window is iconified (in the usual sense). Turning on this option forces
fvwm to establish an equivalence between the IconicState WM_STATE state and the iconified window.
This violates ICCCM compliance but should not cause big problems. By default this option is off.

With the DisplayNewWindowNames enabled, fvwm prints the name, icon name (if available), resource and
class of new windows to the console. This can help in finding the correct strings to use in the Style
command.

When the ExplainWindowPlacement option is enabled, fvwm prints a message to the console whenever a new
window is placed or one of the commands PlaceAgain, Recapture or RecaptureWindow is used. The message
explains on which desk, page, Xinerama screen and position it was placed and why. This option can be
used to figure out why a specific window does not appear where you think it should.

The DebugCRMotionMethod option enables some debugging code in the ConfigureRequest handling routines
of fvwm. It is not helpful for the user, but if you report a bug to the fvwm team we may ask you to
enable this option.

The TransliterateUtf8 option enables transliteration during conversions from utf-8 strings. By
default fvwm will not transliterate during conversion, but will fall back to alternate strings
provided by the clients if conversion from utf-8 fails due to characters which have no direct
correspondence in the target charecter set. Some clients however neglect to set non utf-8 properties
correctly in which case this option may help.

BusyCursor [Option bool], …

This command controls the cursor during the execution of certain commands. Option can be DynamicMenu,
ModuleSynchronous, Read, Wait or *. An option must be followed by a boolean argument bool. You can
use commas to separate individual options. If you set an option to “True”, then when the
corresponding command is run, fvwm displays the cursor of the WAIT context of the CursorStyle command.
“False” forces to not display the cursor. The default is:

BusyCursor DynamicMenu False, ModuleSynchronous False, \

Read False, Wait False

The * option refers to all available options.

The Read option controls the PipeRead command.

The DynamicMenu option affects the DynamicPopupAction and MissingSubmenuFunction options of the
AddToMenu command. If this option is set to “False”, then the busy cursor is not displayed during a
dynamic menu command even if this command is a Read or PipeRead command and the Read option is set to
“True”.

The ModuleSynchronous option affects the ModuleSynchronous command. If this option is set to “False”,
then the busy cursor is not displayed while fvwm waits for a module started by ModuleSynchronous to
complete its startup.

The Wait option affects only the root cursor. During a wait pause the root cursor is replaced by the
busy cursor and fvwm is still fully functional (you can escape from the pause, see the EscapeFunc
command). If you want to use this option and if you do not use the default root cursor, you must set
your root cursor with the CursorStyle command.

ClickTime [delay]

Specifies the maximum delay in milliseconds between a button press and a button release for the
Function command to consider the action a mouse click. The default delay is 150 milliseconds.
Omitting the delay value resets the ClickTime to the default.

ClickTime also specifies the delay between two clicks to be interpreted as a double-click.

ColormapFocus FollowsMouse | FollowsFocus

By default, fvwm installs the colormap of the window that the cursor is in. If you use

ColormapFocus FollowsFocus

then the installed colormap is the one for the window that currently has the keyboard focus.

CursorStyle context [num | name | None | Tiny | file [x y] [fg bg]]

Defines a new cursor for the specified context. Note that this command can not control the shapes an
applications uses, for example, to indicate that it is busy. The various contexts are:

POSITION (top_left_corner)

used when initially placing windows

TITLE (top_left_arrow)

used in a window title-bar

DEFAULT (top_left_arrow)

used in windows that do not set their cursor

SYS (hand2)

used in one of the title-bar buttons

MOVE (fleur)

used when moving or resizing windows

RESIZE (sizing)

used when moving or resizing windows

WAIT (watch)

used during certain fvwm commands (see BusyCursor for details)

MENU (top_left_arrow)

used in menus

SELECT (crosshair)

used when the user is required to select a window

DESTROY (pirate)

used for Destroy, Close, and Delete commands

TOP (top_side)

used in the top side-bar of a window

RIGHT (right_side)

used in the right side-bar of a window

BOTTOM (bottom_side)

used in the bottom side-bar of a window

LEFT (left_side)

used in the left side-bar of a window

TOP_LEFT (top_left_corner)

used in the top left corner of a window

TOP_RIGHT (top_right_corner)

used in the top right corner of a window

BOTTOM_LEFT (bottom_left_corner)

used in the bottom left corner of a window

BOTTOM_RIGHT (bottom_right_corner)

used in the bottom right corner of a window

TOP_EDGE (top_side)

used at the top edge of the screen

RIGHT_EDGE (right_side)

used at the right edge of the screen

BOTTOM_EDGE (bottom_side)

used at the bottom edge of the screen

LEFT_EDGE (left_side)

used at the left edge of the screen

ROOT (left_ptr)

used as the root cursor

STROKE (plus)

used during a StrokeFunc command.

The defaults are shown in parentheses above. If you ever want to restore the default cursor for a
specific context you can omit the second argument.

The second argument is either the numeric value of the cursor as defined in the include file
X11/cursorfont.h or its name (without the XC_ prefix). Alternatively, the xpm file name may be
specified. The name can also be None (no cursor) or Tiny (a single pixel as the cursor).

# make the kill cursor be XC_gumby (both forms work):

CursorStyle DESTROY 56

CursorStyle DESTROY gumby

Alternatively, the cursor can be loaded from an (XPM, PNG or SVG) image file. If fvwm is compiled
with Xcursor support, full ARGB is used, and (possibly animated) cursor files made with the xcursorgen
program can be loaded. Otherwise the cursor is converted to monochrome.

The optional x and y arguments (following a file argument) specifies the hot-spot coordinate with 0 0
as the top left corner of the image. Coordinates within the image boundary are valid and overrides
any hot-spot defined in the (XPM/Xcursor) image file. An invalid or undefined hot-spot is placed in
the center of the image.

CursorStyle ROOT cursor_image.png 0 0

The optional fg and bg arguments specify the foreground and background colors for the cursor,
defaulting to black and white (reverse video compared to the actual bitmap). These colors are only
used with monochrome cursors. Otherwise they are silently ignored.

CursorStyle ROOT nice_arrow.xpm yellow black

DefaultColors [foreground] [background]

DefaultColors sets the default foreground and background colors used in miscellaneous windows created
by fvwm, for example in the geometry feedback windows during a move or resize operation. If you do
not want to change one color or the other, use – as its color name. To revert to the built-in default
colors omit both color names. Note that the default colors are not used in menus, window titles or
icon titles.

DefaultColorset [num]

DefaultColorset sets the colorset used by the windows controlled by the DefaultColors command. To
revert back to the DefaultColors colors use

DefaultColorset -1

or any variant of the DefaultColors command.

DefaultFont [fontname]

DefaultFont sets the default font to font fontname. The default font is used by fvwm whenever no
other font has been specified. To reset the default font to the built-in default, omit the argument.
The default font is used for menus, window titles, icon titles as well as the geometry feedback
windows during a move or resize operation. To override the default font in a specific context, use
the Style * Font, Style * IconFont, or MenuStyle commands.

DefaultIcon filename

Sets the default icon which is used if a window has neither an client-supplied icon nor an icon
supplied via the Icon option of the Style command.

DefaultLayers bottom put top

Changes the layers that are used for the StaysOnBottom, StaysPut, StaysOnTop Style options.
Initially, the layers 2, 4 and 6 are used.

Deschedule [command_id]

Removes all commands that were scheduled with the id command_id with the Schedule command from the
list of commands to be executed unless they were already executed. If the command_id is omitted, the
value of the variable $[schedule.last] is used as the id.

Emulate Fvwm | Mwm | Win

This command is a catch all for how miscellaneous things are done by fvwm. Right now this command
affects where the move/resize feedback window appears and how window placement is aborted. To have
more Mwm- or Win-like behavior you can call Emulate with Mwm or Win as its argument. With Mwm resize
and move feedback windows are in the center of the screen, instead of the upper left corner. This
also affects how manual placement is aborted. See the ManualPlacement description.

EscapeFunc

By default the key sequence Ctrl-Alt-Escape allows for escaping from a Wait pause and from a locked
ModuleSynchronous command. The EscapeFunc command used with the Key command allows for configuring
this key sequence. An example:

Key Escape A MC –

Key Escape A S EscapeFunc

replaces the Ctrl-Alt-Escape key sequence with Shift-Escape for aborting a Wait pause and
ModuleSynchronous command. EscapeFunc used outside the Key command does nothing.

FakeClick [command value] …

This command is mainly intended for debugging fvwm and no guarantees are made that it works for you.
FakeClick can simulate mouse button press and release events and pass them to fvwm or the
applications. The parameters are a list of commands which consist of pairs of command tokens and
integer values, The press and release commands are followed by the appropriate mouse button number and
generate a button press or release event on the window below the pointer. The wait commands pauses
fvwm for the given number of milliseconds. The modifiers command simulates pressing or releasing
modifier keys. The values 1 to 5 are mapped to Mod1 to Mod5 while 6, 7 and 8 are mapped to Shift ,
Lock and Control The modifier is set for any further button events. To release a modifier key, use
the corresponding negative number. The depth command determines to which window the button events are
sent. With a depth of 1, all events go to the root window, regardless of the pointer’s position.
With 2, the event is passed to the top level window under the pointer which is usually the frame
window. With 3, events go to the client window. Higher numbers go to successive sub windows. Zero
(0) goes to the smallest window that contains the pointer. Note that events propagate upward.

FakeClick depth 2 press 1 wait 250 release 1

This simulates a click with button 1 in the parent window (depth 2) with a delay of 250 milliseconds
between the press and the release. Note: all command names can be abbreviated with their first
letter.

FakeKeypress [command value] …

This command is mainly intended for debugging fvwm and no guarantees are made that it works for you.
FakeKeypress can simulate key press and release events and pass them to fvwm or applications. The
parameters are a list of commands which consist of pairs of command tokens and values. The press and
release commands are followed by a key name. The key name is a standard X11 key name as defined in
/usr/include/X11/keysymdef.h, (without the XK_ prefix), or the keysym database
/usr/X11R6/lib/X11/XKeysymDB. The wait, modifiers and depth commands are the same as those used by
FakeClick.

Save all GVim sessions with: “Esc:w\n”

All (gvim) FakeKeypress press Escape \
press colon \

press w \

press Return

Save & exit all GVim sessions with: “Esc:wq\n”

All (gvim) FakeKeypress press Escape \
press colon \

press w \

press q \

press Return

Send A to a specific window:

WindowId 0x3800002 FakeKeypress press A

Note: all command names can be abbreviated with their first letter.

GlobalOpts [options]

This command is obsolete. Please replace the global options in your configuration file according to
the following table:

GlobalOpts WindowShadeShrinks

–>

Style * WindowShadeShrinks

GlobalOpts WindowShadeScrolls

–>

Style * WindowShadeScrolls

GlobalOpts SmartPlacementIsReallySmart

–>

Style * MinOverlapPlacement

GlobalOpts SmartPlacementIsNormal

–>

Style * TileCascadePlacement

GlobalOpts ClickToFocusDoesntPassClick

–>

Style * ClickToFocusPassesClickOff

GlobalOpts ClickToFocusPassesClick

–>

Style * ClickToFocusPassesClick

GlobalOpts ClickToFocusDoesntRaise

–>

Style * ClickToFocusRaisesOff

GlobalOpts ClickToFocusRaises

–>

Style * ClickToFocusRaises

GlobalOpts MouseFocusClickDoesntRaise

–>

Style * MouseFocusClickRaisesOff

GlobalOpts MouseFocusClickRaises

–>

Style * MouseFocusClickRaises

GlobalOpts NoStipledTitles

–>

Style * !StippledTitle

GlobalOpts StipledTitles

–>

Style * StippledTitle

GlobalOpts CaptureHonorsStartsOnPage

–>

Style * CaptureHonorsStartsOnPage

GlobalOpts CaptureIgnoresStartsOnPage

–>

Style * CaptureIgnoresStartsOnPage

GlobalOpts RecaptureHonorsStartsOnPage

–>

Style * RecaptureHonorsStartsOnPage

GlobalOpts RecaptureIgnoresStartsOnPage

–>

Style * RecaptureIgnoresStartsOnPage

GlobalOpts ActivePlacementHonorsStartsOnPage

–>

Style * ManualPlacementHonorsStartsOnPage

GlobalOpts ActivePlacementIgnoresStartsOnPage

–>

Style * ManualPlacementIgnoresStartsOnPage

GlobalOpts RaiseOverNativeWindows

–>

BugOpts RaiseOverNativeWindows on

GlobalOpts IgnoreNativeWindows

–>

BugOpts RaiseOverNativeWindows off

ImagePath path

Specifies a colon separated list of directories in which to search for images (both monochrome and
pixmap). To find an image given by a relative pathname, fvwm looks into each directory listed in
turn, and uses the first file found.

If a directory is given in the form “/some/dir;.ext”, this means all images in this directory have the
extension “.ext” that should be forced. The original image name (that may contain another extension
or no extension at all) is not probed, instead “.ext” is added or replaces the original extension.
This is useful, for example, if a user has some image directories with “.xpm” images and other image
directories with the same names, but “.png” images.

The path may contain environment variables such as $HOME (or ${HOME}). Further, a ‘+’ in the path is
expanded to the previous value of the path, allowing appending or prepending to the path easily.

For example:

ImagePath $HOME/icons:+:/usr/include/X11/bitmaps

Note: if the FvwmM4 module is used to parse your config files, then m4 may want to mangle the word
“include” which frequently shows up in the ImagePath command. To fix this one may add

undefine(`include’)

prior to the ImagePath command, or better: use the -m4-prefix option to force all m4 directives to
have a prefix of “m4_” (see the FvwmM4 man page).

LocalePath path

Specifies a colon separated list of “locale path” in which to search for string translations. A
locale path is constituted by a directory path and a text domain separated by a semicolon (‘;’). As
an example the default locale path is:

/install_prefix/share/locale;fvwm

where install_prefix is the fvwm installation directory. With such a locale path translations are
searched for in

/install_prefix/share/locale/lang/LC_MESSAGES/fvwm.mo

where lang depends on the locale. If no directory is given the default directory path is assumed. If
no text domain is given, fvwm is assumed. Without argument the default locale path is restored.

As for the ImagePath command, path may contain environment variables and a ‘+’ to append or prepend
the locale path easily.

For example, the fvwm-themes package uses

LocalePath “;fvwm-themes:+”

to add locale catalogs.

The default fvwm catalog contains a few strings used by the fvwm executable itself (Desk and Geometry)
and strings used in some default configuration files and FvwmForm configuration. You can take a look
at the po/ subdirectory of the fvwm source to get the list of the strings with a possible translation
in various languages. At present, very few languages are supported.

The main use of locale catalogs is via the “$[gt.string]” parameter:

DestroyMenu MenuFvwmWindowOps

AddToMenu MenuFvwmWindowOps “$[gt.Window Ops]” Title

+ “$[gt.&Move]” Move

+ “$[gt.&Resize]” Resize

+ “$[gt.R&aise]” Raise

+ “$[gt.&Lower]” Lower

+ “$[gt.(De)&Iconify]” Iconify

+ “$[gt.(Un)&Stick]” Stick

+ “$[gt.(Un)Ma&ximize]” Maximize

+ “” Nop

+ “$[gt.&Close]” Close

+ “$[gt.&Destroy]” Destroy

gives a menu in the locale languages if translations are available.

Note that the FvwmScript module has a set of special instructions for string translation. It is out
of the scope of this discussion to explain how to build locale catalogs. Please refer to the GNU
gettext documentation.

PixmapPath path

This command is obsolete. Please use ImagePath instead.

PrintInfo subject [verbose]

Print information on subject on stderr. An optional integer argument verbose defines the level of
information which is given. The current valid subjects are:

Colors which prints information about the colors used by fvwm. This useful on screens which can only
display 256 (or less) colors at once. If verbose is one or greater the palette used by fvwm is
printed. If you have a limited color palette, and you run out of colors, this command might be
helpful.

ImageCache which prints information about the images loaded by fvwm. If verbose is one or greater all
images in the cache will be listed together with their respective reuse.

Locale which prints information on your locale and the fonts that fvwm used. verbose can be 1 or 2.

nls which prints information on the locale catalogs that fvwm used

style which prints information on fvwm styles. verbose can be 1.

bindings which prints information on all the bindings fvwm has: key, mouse and stroke bindings.
verbose has no effect with this option.

infostore which prints information on all entries in the infostore, listing the key and its value.
verbose has no effect with this option.

Repeat

When the Repeat command is invoked, the last command that was executed by fvwm is executed again.
This happens regardless of whether it was triggered by user interaction, a module or by an X event.
Commands that are executed from a function defined with the Function command, from the Read or
PipeRead commands or by a menu are not repeated. Instead, the function, menu or the Read or PipeRead
command is executed again.

Schedule [Periodic] delay_ms [command_id] command

The command is executed after about delay_ms milliseconds. This may be useful in some tricky setups.
The command is executed in the same context window as the Schedule command. An optional integer
argument command_id may be given in decimal, hexadecimal or octal format. This id can be used with
the Deschedule command to remove the scheduled command before it is executed. If no id is given, fvwm
uses negative id numbers, starting with -1 and decreasing by one with each use of the Schedule
command. Note that the Schedule command and its arguments undergo the usual command line expansion,
and, when command is finally executed, it is expanded again. It may therefore be necessary to quote
the parts of the command that must not be expanded twice.

Note: A window’s id as it is returned with $[w.id] can be used as the command_id. Example:

Current Schedule 1000 $[w.id] WindowShade

The Schedule command also supports the optional keyword Periodic which indicates that the command
should be executed every delay_ms. Example:

Schedule Periodic 10000 PipeRead ‘[ -N “$MAIL” ] && echo \
Echo You have mail’

Use the Deschedule command to stop periodic commands.

State state [bool]

Sets, clears or toggles one of the 32 user defined states which are associated with each window. The
state is a number ranging from 0 to 31. The states have no meaning in fvwm, but they can be checked
in conditional commands like Next with the State condition. The optional argument bool is a boolean
argument. “True” sets the given state, while “False” clears it. Using “toggle” switches to the
opposite state. If the bool argument is not given, the state is toggled.

# WindowList [(conditions)] [position] [options] [double-click-action]

创建窗口列表菜单,并弹出,其中显示当前桌面上每个窗口的Title和Geometry。

其中,“Geometry”格式为:“desk(layer):x-geometry sticky”,其中desk和layer是相应的数字,sticky是空的或大写字母“S”。图标化窗口的“Geometry”显示在括号中。从窗口列表弹出菜单中选择一个项会导致函数“WindowListFunc”的执行,并以该窗口的窗口ID作为$0传入函数。默认的“WindowListFunc”如下所示:

AddToFunc WindowListFunc
+ I Iconify off
+ I FlipFocus
+ I Raise
+ I WarpToWindow 5p 5p

如果这些默认值不适合您,您可以销毁内置的“WindowListFunc”并创建自己的默认值。

窗口列表菜单使用“WindowList”菜单样式(如果已定义),请参阅MenuStyle命令。示例:

MenuStyle WindowList SelectOnRelease Meta_L

否则使用默认菜单样式。要切换回默认菜单样式,使用命令:

DestroyMenuStyle WindowList

来移除默认的样式。

(conditions)

该参数可用于从窗口列表中排除某些窗口。有关详细信息,请参阅Current命令。

只有符合给定条件的窗口才会显示在窗口列表中。下面的options反之亦然:可以选择窗口列表中不包含的窗口。conditions总是覆盖options。

position

该参数与Menu中的相同。

options

传递给WindowList的选项,使用用逗号分隔,可以是:

Geometry / NoGeometry / NoGeometryWithInfo, NoDeskNum, NoLayer, NoNumInDeskTitle, NoCurrentDeskTitle, MaxLabelWidth width, TitleForAllDesks, Function funcname, Desk desknum, CurrentDesk, NoIcons / Icons / OnlyIcons, NoNormal / Normal / OnlyNormal, NoSticky / Sticky / OnlySticky, NoStickyAcrossPages / StickyAcrossPages / OnlyStickyAcrossPages, NoStickyAcrossDesks / StickyAcrossDesks / OnlyStickyAcrossDesks, NoOnTop / OnTop / OnlyOnTop, NoOnBottom / OnBottom / OnlyOnBottom, Layer m [n], UseSkipList / OnlySkipList, NoDeskSort, ReverseOrder, CurrentAtEnd, IconifiedAtEnd, UseIconName, Alphabetic / NotAlphabetic, SortByResource, SortByClass, NoHotkeys, SelectOnRelease

选项Normal表示不是标志性的、不是粘性的、不是在顶部。

使用SortByResource选项,窗口将根据资源类按字母顺序排序,然后按资源名称排序,然后按窗口名称排序(如果指定了UseIconName,则还会按图标名称排序)。选项ReverseOrder也以预期的方式工作。

使用SortByClass选项,窗口的排序方式与SortByResource类似,但不考虑资源名称,只会考虑资源类。

选项SelectOnRelease与在MenuStyle中的SelectOnRelease选项完全相同,但会覆盖菜单样式中给出的选项。 默认情况下,此选项设置为左Alt键(Meta_L)。要将其关闭,请使用不带键名的SelectOnRelease。

如果通过Function funcname传入函数,则会在所选窗口的窗口上下文中调用它:

AddToFunc IFunc I Iconify toggle
WindowList Function IFunc, NoSticky, CurrentDesk, NoIcons

如果使用Layer m [n]选项,则仅显示“m”和“n”之间的层中的窗口。“n”的默认为“m”。使用ReverseOrder选项,列表中窗口的顺序相反。

使用CurrentAtEnd选项,当前的焦点窗口(如果有)显示在列表的底部。 这主要用于模拟另一个GUI中的Alt-Tab行为。

选项IconifiedAtEnd使图标化窗口移动到列表的末尾。这也来自另一个GUI。

选项NoGeometry导致fvwm不显示Geometry以及指示不同桌面的分隔符。NoGeometryWithInfo删除Geometry,但保留桌面信息并指示标志性窗口。NoDeskNum导致fvwm不使用NoGeometryWithInfo选项在Geometry中或窗口标题之前显示桌面编号。 NoNumInDeskTitle仅在使用DesktopName命令定义桌面名称时才有用,它导致fvwm不显示桌面名称之前的桌面编号。默认情况下,如果使用Desk条件,则WindowList菜单具有指示当前桌面或所选桌面的标题。 NoCurrentDeskTitle选项删除此标题。 TitleForAllDesks使fvwm在同一桌面上的每组窗口之前添加具有桌面名称和/或编号的菜单标题。使用NoLayer时,窗口的图层不会被显示。选项ShowPage、ShowPageX、ShowPageY启用显示窗口页面的四舍五入显示大小。使用ShowScreen,将显示窗口的Xinerama屏幕编号。

选项MaxLabelWidth将要打印的字符数作为其参数。只能看到窗口名称的许多字符。

如果要将WindowList用作图标管理器,可以调用以下内容:

WindowList OnlyIcons, Sticky, OnTop, Geometry

注意 – Only选项基本上消除了所有其他的选项,但是OnlyListSkip选项只会导致WindowList仅考虑具有WindowListSkip样式的窗口。

double-click-action

如果用户在打开窗口列表时,双击(或者如果菜单绑定到键,则快速按键两次),则会调用double-click-action命令。 如果双击动作由多个单词组成,则必须引用双击动作。

如果已将窗口列表绑定到键(或按钮):

AddToFunc SwitchToWindow
+ I WindowListFunc

Key Tab A M WindowList "Prev SwitchToWindow"

则双击操作对于定义默认窗口非常有用。

按下Alt-Tab一次,它会弹出窗口列表。如果你点击它两次,焦点就会在当前和最后一个聚焦窗口之间翻转。使用正确的SelectOnRelease菜单样式(参见上面的示例),一旦释放Alt键,就会选择一个窗口。

XSync

When XSync is called, the X function with the same name is used to send all pending X requests to the
server. This command is intended for debugging only.

XSynchronize [bool]

The XSynchronize command controls whether X requests are sent to the X server immediately or not.
Normally, requests are sent in larger batches to save unnecessary communication. To send requests
immediately, use “True” as the argument, to disable this use “False” or to toggle between both methods
use “Toggle” or omit the bool argument. Fvwm defaults to synchronized requests when started with the
–debug option. This command is intended for debugging only.

+

Used to continue adding to the last specified decor, function or menu. See the discussion for
AddToDecor, AddToFunc, and AddToMenu.

废弃的命令

HilightColor textcolor backgroundcolor

This command is obsoleted by the Style options HilightFore and HilightBack. Please use

Style * HilightFore textcolor, HilightBack backgroundcolor

instead.

ColorLimit limit

This command is obsolete. See the –color-limit option to fvwm.

HilightColorset [num]

This command is obsoleted by the Style option HilightColorset. Please use

Style * HilightColorset num

instead.

IconFont [fontname]

This command is obsoleted by the Style option IconFont. Please use

Style * IconFont fontname

instead.

IconPath path

This command is obsolete. Please use ImagePath instead.

WindowFont [fontname]

This command is obsoleted by the Style option Font. Please use

Style * Font fontname

instead.

参考文献

FVMW Documentation/Miscellaneous Commands