📄 561-566.html
字号:
<HTML>
<HEAD>
<TITLE>Linux in Plain English:Window Managers</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=1558285423//-->
<!--TITLE=Linux in Plain English//-->
<!--AUTHOR=Patrick Volkerding//-->
<!--AUTHOR=Kevin Reichard//-->
<!--PUBLISHER=IDG Books Worldwide, Inc.//-->
<!--IMPRINT=M & T Books//-->
<!--CHAPTER=7//-->
<!--PAGES=561-566//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="559-561.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="567-567.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H3><A NAME="Heading4"></A><FONT COLOR="#000077">Configuration Files</FONT></H3>
<P>When you launch <B>fvwm</B>, it looks for an initialization file named <B>.fvwmrc</B> in your home directory. This file contains information on key and button bindings, as well as color schemes and start-up applications and options.</P>
<P>When you look at a file, you’ll see a long list of options. Some of them begin with #, which comments out the line and neutralizes it.</P>
<P>The following options can be set in the <B>.fvwmrc</B> file:</P>
<TABLE WIDTH="100%"><TR>
<TH WIDTH="45%" ALIGN="LEFT">Option
<TH WIDTH="55%" ALIGN="LEFT">Purpose
<TR>
<TD VALIGN="TOP"><B>StdForeColor <I>colorname</I></B>
<TD>Sets the foreground color for menus and nonselected windows to <I>colorname</I>. A monochrome display defaults this color to black.
<TR>
<TD VALIGN="TOP"><B>StdBackColor <I>colorname</I></B>
<TD>Sets the background color for menus and nonselected windows to <I>colorname</I>. A monochrome display defaults this color to white.
<TR>
<TD VALIGN="TOP"><B>StickyForeColor <I>colorname</I></B>
<TD>Sets the foreground color for nonselected window sticky titles to <I>colorname</I>. A monochrome display defaults this color to black.
<TR>
<TD VALIGN="TOP"><B>StickyBackColor <I>colorname</I></B>
<TD>Sets the background color for nonselected window sticky windows to <I>colorname</I>. A monochrome display defaults this to white.
<TR>
<TD VALIGN="TOP"><B>HiForeColor <I>colorname</I></B>
<TD>Sets the title color for a selected window. A monochrome display defaults this color to black.
<TR>
<TD VALIGN="TOP"><B>HiBackColor <I>colorname</I></B>
<TD>Sets the background color for a selected window. A monochrome display defaults this color to white.
<TR>
<TD><B>MenuForeColor <I>colorname</I></B>
<TD>Sets the color for the menu foreground.
<TR>
<TD><B>MenuBackColor <I>colorname</I></B>
<TD>Sets the color for the menu background.
<TR>
<TD VALIGN="TOP"><B>MenuStippleColor <I>colorname</I></B>
<TD>Sets the color for unavailable (shaded-out) options on a menu.
<TR>
<TD><B>PagerBackColor <I>colorname</I></B>
<TD>Sets the pager background color.
<TR>
<TD><B>PagerForeColor <I>colorname</I></B>
<TD>Sets the pager foreground color.
<TR>
<TD VALIGN="TOP"><B>Font <I>fontname</I></B>
<TD>Sets the font for menus, resize indicators, and icon labels.
<TR>
<TD><B>WindowFont <I>fontname</I></B>
<TD>Sets the font for the window title bar.
<TR>
<TD><B>PagerFont <I>fontname</I></B>
<TD>Sets the font for window icon names.
<TR>
<TD><B>IconFont <I>fontname</I></B>
<TD>Sets the font for icon name labels.
<TR>
<TD VALIGN="TOP"><B>NoTitle <I>windowname</I></B>
<TD>Suppresses a title for a specified <I>windowname</I>.
<TR>
<TD VALIGN="TOP"><B>NoBorder <I>windowname</I></B>
<TD>Suppresses decorative borders for a specified <I>windowname</I>.
<TR>
<TD VALIGN="TOP"><B>Sticky <I>windowname</I></B>
<TD>Sets a <I>windowname</I> as “sticky,” not moving the viewport into the virtual desktop changes.
<TR>
<TD VALIGN="TOP"><B>StaysOnTop <I>windowname</B>
<TD></I>Tells <I>windowname</I> never to be obscured by other windows.
<TR>
<TD><B>StartsOnDesk <I>windowname</I></B><BR><B><I>desk-number</I></B>
<TD>Tells <I>windowname</I> to be placed on a specific <I>desk-number</I>, if you’re using multiple desks.
<TR>
<TD VALIGN="TOP"><B>CirculateSkip <I>windowname</I></B>
<TD>Skips <I>windowname</I> when circulate-up or circulate-down functions are invoked.
<TR>
<TD VALIGN="TOP"><B>CirculateSkipIcons</B>
<TD>Skips icons when running circulate and warp operations.
<TR>
<TD VALIGN="TOP"><B>WindowListSkip <I>windowname</I></B>
<TD>Omits <I>windowname</I> from the window list.
<TR>
<TD VALIGN="TOP"><B>Style <I>windowname options</I></B>
<TD>Can be used with the previous commands to place all the settings with one comprehensive command.
<TR>
<TD><B>CenterOnCirculate</B>
<TD>Centers the target window when circulating.
<TR>
<TD><B>DeskTopSize</B><BR><B><I>Horizontal</I>x<I>Vertical</I></B>
<TD>Sets the virtual desktop size in units of the physical screen size.
<TR>
<TD VALIGN="TOP"><B>DeskTopScale Scale</B>
<TD>Sets the virtual desktop scale with respect to the screen.
<TR>
<TD VALIGN="TOP"><B>BoundaryWidth <I>Width</I></B>
<TD>Sets the boundary width on decorated windows; the default is 6.
<TR>
<TD VALIGN="TOP"><B>NoBoundaryWidth <I>Width</I></B>
<TD>Sets the decoration width for windows with no boundaries. The default is 1.
<TR>
<TD VALIGN="TOP"><B>XORvalue <I>number</I></B>
<TD>Sets the value with which bits are XORed when doing rubber-band window moving or resizing.
<TR>
<TD VALIGN="TOP"><B>EdgeScroll <I>horizontal vertical</I></B>
<TD>Sets the percentage of a page to scroll when the cursor hits the edge of a page.
<TR>
<TD VALIGN="TOP"><B>PagingDefault <I>value</I></B>
<TD>Determines whether paging is enabled (where <I>value</I> is 1) or disabled (where <I>value</I> is 0).
<TR>
<TD VALIGN="TOP"><B>EdgeResistance</B><BR><B><I>scrolling moving</I></B>
<TD>Sets the parameters for moving a mouse over the edge of the screen (set with the <I>scrolling</I> value) and moving a window over the edge of a screen (set with the <I>moving</I> value).
<TR>
<TD VALIGN="TOP"><B>OpaqueMove <I>percent</I></B>
<TD>Sets the maximum size window with which opaque window movement should be used.
<TR>
<TD VALIGN="TOP"><B>ClickToFocus</B>
<TD>Sets keyboard input with an active window until another window is explicitly selected.
<TR>
<TD><B>SloppyFocus</B>
<TD>Sets focus with the mouse.
<TR>
<TD><B>MWMBorders</B>
<TD>Uses <B>mwm</B>-style window borders.
<TR>
<TD><B>MWMButtons</B>
<TD>Uses <B>mwm</B>-style button configurations.
<TR>
<TD><B>MWMMenus</B>
<TD>Uses <B>mwm</B>-style menus.
<TR>
<TD><B>MWMDecorHints</B>
<TD>Uses <B>mwm</B>-style window hints.
<TR>
<TD><B>MWMFunctionHints</B>
<TD>Uses <B>mwm</B>-style window functions.
<TR>
<TD><B>MWMHintOverride</B>
<TD>Uses <B>mwm</B>-style hint overrides for iconifying.
<TR>
<TD VALIGN="TOP"><B>Lenience</B>
<TD>Tells <B>fvwm</B> to ignore an ICCCM convention.
<TR>
<TD VALIGN="TOP"><B>OpaqueResize</B>
<TD>Resizes window with its borders, not with an outline.
<TR>
<TD VALIGN="TOP"><B>DontMoveOff</B>
<TD>Doesn’t allow windows to be moved off the desktop.
<TR>
<TD VALIGN="TOP"><B>AutoRaise <I>delay</I></B>
<TD>Sets the autoraising of windows and specifies the delay (in milliseconds) between when a window acquires the input focus and when it is automatically raised.
<TR>
<TD VALIGN="TOP"><B>Pager <I>X Y</I></B>
<TD>Sets the paging style of a window moving across the desktop, as a window appears at <I>X</I> and <I>Y</I>.
<TR>
<TD VALIGN="TOP"><B>Mouse <I>Button Context</I></B><BR><B><I>Modifiers Functions</I></B>
<TD>Sets several mouse parameters: <I>button</I> the button number, <I>context</I> is the binding context (R for root window, W for application window, T for titlebar, S for window bar, F for window frame, I for icon window, or 0 through 9 for titlebar buttons), <I>modifier</I> is a key modifier (N for no modifiers, C for <B>Ctrl</B> key, S for <B>Shift</B> key, M for <B>Meta</B> key, or A for any), and <I>function</I> for a built-in function.
<TR>
<TD VALIGN="TOP"><B>Key <I>keyname Context</I></B><BR><B><I>Modifiers Function</I></B>
<TD>Binds a key to a function: <I>key</I> is the key, <I>context</I> is the binding context (R for root window, W for application window, T for titlebar, S for window bar, F for window frame, I for icon window, or 0 through 9 for titlebar buttons), <I>modifier</I> is a key modifier (N for no modifiers, C for <B>Ctrl</B> key, S for <B>Shift</B> key, M for <B>Meta</B> key, or A for any), and <I>function</I> for a built-in function.
<TR>
<TD><B>IconBox</B><BR><B><I>left top right bottom</I></B>
<TD VALIGN="TOP">Sets the regions of the screen to place icons.
<TR>
<TD VALIGN="TOP"><B>StubbornIconPlacement</B>
<TD>Tells IconBoxes not to be covered by windows.
<TR>
<TD VALIGN="TOP"><B>StubbornIcons</B>
<TD>Tells the window to expand icons into their original position.
<TR>
<TD><B>SuppressIcons</B>
<TD>Suppresses icons.
<TR>
<TD VALIGN="TOP"><B>StickyIcons</B>
<TD>Places icons in the same place, no matter where you move the virtual screen.
<TR>
<TD VALIGN="TOP"><B>IconPath <I>path</I></B>
<TD>Sets the pathname for the location of black-and-white icons.
<TR>
<TD VALIGN="TOP"><B>PixmapPath <I>path</I></B>
<TD>Sets the pathname for the location of color icons.
<TR>
<TD><B>Icon <I>windowname</I></B><BR><B><I>bitmap-file</B></I>
<TD VALIGN="TOP">Sets the bitmap for a specific <I>win-downame</I>.
<TR>
<TD><B>DecorateTransients</B>
<TD>Decorates transient windows.
<TR>
<TD VALIGN="TOP"><B>RandomPlacement</B>
<TD>Places windows randomly, instead of waiting for users to place them.
<TR>
<TD VALIGN="TOP"><B>SmartPlacement</B>
<TD>Places windows in an open area, instead of waiting for users to place them.
<TR>
<TD VALIGN="TOP"><B>StubbornPlacement</B>
<TD>Places windows anywhere but over an icon, instead of waiting for users to place them.
<TR>
<TD VALIGN="TOP"><B>NoPPosition</B>
<TD>Ignores the <I>PPosition</I> field when adding new windows.
<TR>
<TD VALIGN="TOP"><B>ClickTime <I>delay</I></B>
<TD>Sets the delay (in milliseconds) between a button press and a button release.
<TR>
<TD><B>ModulePath</B>
<TD>Sets the path for modules.
<TR>
<TD VALIGN="TOP"><B>Module <I>ModuleName</I></B>
<TD>Sets a module to load when launching. The choices are: GoodStuff (recommended), FvwmPager, FvwmBanner, FvwmWinList, FvwmClean, FvwnIdent, FvwmSave, FvwmScroll, FvwmDebug, and FvwmSound. These modules have their own man pages.
<TR>
<TD><B>Cursor</B><BR><B><I>cursor_num cursor_type</I></B>
<TD VALIGN="TOP">Changes cursor style.
<TR>
<TD VALIGN="TOP"><B>ButtonStyle</B><BR><B><I>button</I># <I>Width</I>x<I>Height</I></B>
<TD>Sets the shape in a titlebar button.
<TR>
<TD VALIGN="TOP"><B>AppsBackingStore</B>
<TD>Sets backing store for applications, which fails ICCCM guidelines.
<TR>
<TD><B>SaveUnders</B>
<TD>Sets save-unders.
<TR>
<TD VALIGN="TOP"><B>BackingStore</B>
<TD>Sets backing store for the window manager, which fails ICCCM guidelines.
<TR>
<TD VALIGN="TOP"><B>Popup <I>Popup_Name</I></B>
<TD>Sets a pop-up menu, to be later bound to a mouse button or key.
<TR>
<TD VALIGN="TOP"><B>Function <I>Function_Name</I></B>
<TD>Sets a function, to be later bound to a mouse button or key.
</TABLE>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="559-561.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="567-567.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -