doc082.htm
来自「Reh Hat user manual. really goooood」· HTM 代码 · 共 549 行 · 第 1/2 页
HTM
549 行
<html><body><a href="doc083.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc081.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr><h2><a name="sB.2">B.2 Metro X Configuration File</a></h2><title>Metro X Configuration File</title><p><h3><a name="sB.2.1">B.2.1 Warning</a></h3><title>Warning</title>The primary configuration file for the X server is <tt>Xconfig</tt>. If inappropriate changes are made to this file, the proper functioning of Metro-X will be impaired!Do not edit the <tt>Xconfig</tt> file unless absolutely necessary.<p><h3><a name="sB.2.2">B.2.2 Xconfig</a></h3><title>Xconfig</title>Metro-X looks for the <tt>Xconfig</tt> file in the following locations and in the following order:<blockquote><font size=-1><tt><pre>$HOME/Xconfig$HOME/.Xconfig/etc/X11/Xconfig (on Linux only)/usr/lib/X11/Metro/Xconfig</pre></tt></font></blockquote><p>Most options are set with the configuration utility (<tt>ConfigX</tt>, section<a href="doc039.html#s5.3.3">5.3.3</a>). Additional options can be added using an editor, and ConfigX will preserve these.<p><h3><a name="sB.2.3">B.2.3 Keywords</a></h3><title>Keywords</title>Descriptions of the <tt>Xconfig</tt> keywords are listed below. They are alphabetized here for your convenience and any order dependencies are noted within the individual entries.<p><h4><a name="sB.2.3.1">B.2.3.1 Options Set In Configuration Utility</a></h4><title>Options Set In Configuration Utility</title>The following list of <tt>Xconfig</tt> keywords are options controlled via the Metro-X Configuration Utility. Any changes to these options should be made through the utility to avoid accidental damage to the function of Metro-X.<p><b><tt>BitsPerPixel</tt></b> <b><i><tt><</tt>number<tt>></tt></i></b>Some X drivers support packed 24 bits per pixel memory organization. This means that each pixel takes up three bytes of video memory. In this case, <i>configX</i> inserts the line:<tt>BitsPerPixel 24</tt><p><b><tt>Buttons</tt></b> <b><i><tt><</tt>number<tt>></tt></i></b>This specifies the number of buttons on the mouse.<em>This entry must immediately follow the Mouse entry in the Xconfig file.</em><p><b><tt>Card</tt></b> <b><i><tt><</tt>string<tt>></tt></i></b>This designates the model of the graphics card in use. This is only used by configX.<p><b><tt>Chipset</tt></b> <b><i><tt><</tt>string<tt>></tt></i></b>This displays the chipset used by the server. Normally configX inserts the correct chipset into the Xconfig file.<p><b><tt>Clocks</tt></b> <b><i><tt><</tt>number<tt>></tt> [<tt><</tt>number<tt>></tt>...]</i></b>This contains a list of numbers specifying the frequencies associated with the clock generator on the card. The numbers are specified in MHz.<p><b><tt>Depth</tt></b> <b><i><tt><</tt>number<tt>></tt></i></b>This references the color depth of the screen, which controls how many colors can be displayed. Different cards and drivers support different depth values: 4, 8, 16, 24, or 32. Depth 4 supports 16 colors and depth 32 supports 16 million colors.<p><b><tt>Dimensions</tt></b> <b><tt><</tt></b><i>width</i><b><tt>></tt> <tt><</tt></b><i>height</i> <b><tt>></tt></b>This keyword represents the dimensions of the screen in millimeters, which is passed to X clients upon request. <p><b><tt>DPMSoffDelay</tt></b> <b><i><tt><</tt>number<tt>></tt></i></b>This controls the number of seconds after the last user input before the screen enters DPMS off mode. Off mode provides maximum power reduction. To activate this mode, the X server disables both the horizontal and vertical sync signals to the monitor.<p><b><tt>DPMSstandbyDelay</tt></b><b><i><tt><</tt>number<tt>></tt></i></b>This controls the number of seconds after the last user input before the screen enters DPMS standby mode. Standby mode provides minimal power reduction. To activate this mode, the X server disables the horizontal sync signal to the monitor.<p><b><tt>DPMSsuspendDelay</tt></b><b><i><tt><</tt>number<tt>></tt></i></b>This controls the number of seconds after the last user input before the screen enters DPMS suspend mode. Suspend mode provides significant power reduction. To activate this mode, the X server disables the vertical sync signal to the monitor.<p><b><tt>Driver</tt></b><b><i><tt><</tt>string<tt>></tt></i></b>This references the name of the driver, which usually corresponds to the name of the X server. For example: <blockquote><font size=-1><tt><pre>Driver 8514</pre></tt></font></blockquote>initiates the section for defining the 8514 driver.<p><b><tt>Emulate3Buttons</tt></b>This entry is used when a two-button mouse is emulating a three-button mouse.This entry must immediately follow the Mouse entry in the Xconfig file.<p><b><tt>FontPath <tt><</tt></tt></b><i>string</i><b><tt></tt></b><tt>></tt> FontPath is followed by a comma-delimited string of font directories. A font directory is any directory which contains fonts and a fonts.dir file. <p><b><tt>HotKeyExit</tt></b>This allows you to shut down the X server with the key sequence <tt>[Ctrl]</tt>- <tt>[Alt]</tt>-<tt>[Backspace]</tt>. If this keyword is not present, <tt>[Ctrl]</tt>- <tt>[Alt]</tt>-<tt>[Backspace]</tt> does nothing special.<p><b><tt>KbdDesc</tt></b> <b><i><tt><</tt>string<tt>></tt></i></b>The quoted string must match one of the entries in the KeyboardInfo file. <p><b><tt>KbdDescFile</tt></b> <b><i><tt><</tt>string<tt>></tt></i></b>The string describes the keyboard.<p><b><tt>LogFile</tt></b> <b><i><tt><</tt>filename<tt>></tt></i></b>Errors from the X server are logged here.<p><b><tt>Modes</tt></b>The entries following the Modes give display mode timing information. If more than one mode is specified, the server can switch between modes. See Modes ( section <a href="doc082.html#sB.2.4">B.2.4</a> for more details.<p><b><tt>Monitor</tt></b> <b><i>``<tt><</tt>string<tt>></tt>''</i></b>The quoted string must match one of the entries in the MonitorInfo file. <b><tt>Mouse</tt></b><b><i><tt><</tt>type<tt>></tt> [device]</i></b>This describes the type of mouse in use. Type is a keyword that is OS dependant;the device parameter is usually required and is a file in the /dev directory.<p><b><tt>MouseDesc</tt></b> <b><i>``<tt><</tt>string<tt>></tt>''</i></b>The quoted string must match one of the entries in the MouseInfo file. <p><b><tt>ScreenLayout</tt></b><b><i> <tt><</tt>screen<tt>></tt> <tt><</tt>left<tt>_</tt>neighbor<tt>></tt> <tt><</tt>right<tt>_</tt>neighbor<tt>></tt> <tt><</tt>top<tt>_</tt>neighbor<tt>></tt> <tt><</tt>bottom<tt>_</tt>neighbor<tt>></tt> <tt><</tt>left<tt>_</tt>edge<tt>></tt> <tt><</tt>right<tt>_</tt>edge<tt>></tt> <tt><</tt>top<tt>_</tt>edge<tt>></tt> <tt><</tt>bottom<tt>_</tt>edge<tt>></tt></i></b>This defines how the mouse cursor behaves when it gets to the edge of the screen. There is one ScreenLayout entry for each configured screen.The *<tt>_</tt>neighbor fields tell which screen to move the mouse to. A value of -1 indicates that the mouse should stop at that edge. The *<tt>_</tt>edge fields tell at which edge of the corresponding *<tt>_</tt>neighbor screen the mouse will appear. Screens are numbered from 0 to 4. Edges are numbered as follows:<p><a name="f56"></a><center><table border><tr valign=top><td colspan=1 align=left nowrap>EDGES </td><td colspan=1 align=left nowrap> NUMBER </td></tr><tr valign=top><td colspan=1 align=left nowrap> ENTER<tt>_</tt>LEFT </td><td colspan=1 align=left nowrap> 1 </td></tr><tr valign=top><td colspan=1 align=left nowrap>ENTER<tt>_</tt>RIGHT </td><td colspan=1 align=left nowrap> 2</td></tr><tr valign=top><td colspan=1 align=left nowrap>ENTER<tt>_</tt>UP </td><td colspan=1 align=left nowrap> 3 </td></tr><tr valign=top><td colspan=1 align=left nowrap>ENTER<tt>_</tt>DOWN </td><td colspan=1 align=left nowrap> 4</td></tr></table><p><center>Figure 56:ScreenLayout Edge Numbering</center></center><p><p><b>NOTE:</b> Any changes made to this entry will be lost if configX is run.<p><b><tt>ScreenLayoutIndex</tt></b><b><i> <tt><</tt>number<tt>></tt></i></b>This tells which of the predefined screen layouts was chosen in configX.<p><b><tt>Virtual</tt></b><b><i><tt><</tt>width<tt>></tt> <tt><</tt>height<tt>></tt></i></b>This designates the virtual width and height of the screen. The virtual width and height may be larger than the physical width and height if hardware panning is used.<p><b><tt>Weight</tt></b><b><i><tt><</tt>string<tt>></tt></i></b>This designates the RGB color specification, which is dependent on the depth value. When the depth value is 16, the options are:<blockquote><font size=-1><tt><pre>R5:G5:B5 (default) orR5:G6:B5</pre></tt></font></blockquote>When the depth value is 32, the options are:<blockquote><font size=-1><tt><pre>R8:G8:B8 (default) orB8:G8:R8</pre></tt></font></blockquote>When the depth value is 4 or 8, the weight value is ignored.<b><tt>XscreenSaverDelay</tt></b>This controls the number of seconds (with no input) before the screen is blanked.<p><h4><a name="sB.2.3.2">B.2.3.2 Options Not Set in Configuration Utility</a></h4><title>Options Not Set in Configuration Utility</title>The following keywords control options not set through the configuration utility, and require manual editing of the Xconfig file.<p><b><tt>BackBuffer</tt></b>This entry tells the X server to allocate off-screen memory for a BackBuffer.<p><b><tt>CursorAdjustX</tt></b><p><b><tt>CursorAdjustY</tt></b>If the hardware cursor does not position correctly over the X Window screen, CursorAdjustX and CursorAdjustY allow you to specify a delta (number of pixels) to adjust the cursor left or right.<p><b><tt>CursorScreenOne</tt></b>In a multiple screen configuration, this setting constrains the cursor to screen 0.<p><b><tt>NoBackingStore</tt></b>This turns off backing store. Backing store is a server feature that allows programs to create complex drawings and have the server automatically handle exposure requests, thus preventing lengthy re-draw cycles. Backing store uses system memory to hold the window contents and can actually slow down the system if there is limited memory.<p><b><tt>NoCursorWrap</tt></b>In a multiple screen configuration, this setting prevents the cursor from wrapping from screen 1 to screen 0.<p><b><tt>NoFontCache</tt></b>This turns off font caching.<p><b><tt>NoKeyboard</tt></b>This setting disallows keyboard input.<p><b><tt>NoLEDs</tt></b>No LED processing is done by the server.<p><b><tt>NoPixmapCache</tt></b>This turns off pixmap and stipple caching.<p><b><tt>NotPrimaryMonitor</tt></b>No console processing is done for Virtual Terminal Support. This is normally used when X is run on a graphics card that is not driving the console.<p><b><tt>Option <tt><</tt>string<tt>></tt></tt></b>This specifies a special option passed to the server. It might specify the card model or a specific feature not typically used. Normally configX inserts the correct options in the Xconfig file.<p><b><tt>Option HardwarePex</tt></b>Add this line to the Xconfig file to use the Hardware Z Buffer on the Matrox MGA Impression Plus graphics card. This file entry must immediately follow the Driver MGA entry.<p><b><tt>Option NoHardwareCursor</tt></b>Add this line to disable hardware cursor support.This file entry must immediately follow the Driver entry.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?