📄 install-post.html
字号:
<p><img src="install/xf86setup.png" /></p></div><p>您可以通过许多方法来配置 X server。在认真读了所有的说明后,请使用方向键来选择一种配置方式,并按<b class="KEYCAP">Enter</b>。 键确认。</p><p><b class="APPLICATION">xf86cfg</b> 和 <b class="APPLICATION">xf86cfg -textmode</b>配置方法可能会使屏幕黑屏一会 过一会即会启动。要有耐心。</p><p>下面将介绍<b class="APPLICATION">xf86config</b> 配置工具。根据系统硬件的不同,下面的信息可能会适当的发生变动:</p><pre class="SCREEN"> Message You have configured and been running the mouse daemon. Choose "/dev/sysmouse" as the mouse port and "SysMouse" or "MouseSystems" as the mouse protocol in the X configuration utility. [ OK ] [ Press enter to continue ]</pre><p>这个信息指明,前面配置的鼠标驱动程序被检测到。按 <b class="KEYCAP">Enter</b>键继续。</p><p>启动 <b class="APPLICATION">xf86config</b> 后会显示一个简单的说明:</p><pre class="SCREEN">This program will create a basic XF86Config file, based on menu selections youmake.The XF86Config file usually resides in /usr/X11R6/etc/X11 or /etc/X11. A sampleXF86Config file is supplied with XFree86; it is configured for a standardVGA card and monitor with 640x480 resolution. This program will ask for apathname when it is ready to write the file.You can either take the sample XF86Config as a base and edit it for yourconfiguration, or let this program produce a base XF86Config file for yourconfiguration and fine-tune it.Before continuing with this program, make sure you know what video cardyou have, and preferably also the chipset it uses and the amount of videomemory on your video card. SuperProbe may be able to help with this.Press enter to continue, or ctrl-c to abort.</pre><p>按 <b class="KEYCAP">Enter</b> 将启动鼠标配置。请按照指示选择 ``Mouse Systems''作为鼠标协议, <tt class="DEVICENAME">/dev/sysmouse</tt> 作为鼠标端口。下面的例子向你说明的是使用一个 PS/2 鼠标:</p><pre class="SCREEN">First specify a mouse protocol type. Choose one from the following list: 1. Microsoft compatible (2-button protocol) 2. Mouse Systems (3-button protocol) & FreeBSD moused protocol 3. Bus Mouse 4. PS/2 Mouse 5. Logitech Mouse (serial, old type, Logitech protocol) 6. Logitech MouseMan (Microsoft compatible) 7. MM Series 8. MM HitTablet 9. Microsoft IntelliMouseIf you have a two-button mouse, it is most likely of type 1, and if you havea three-button mouse, it can probably support both protocol 1 and 2. There aretwo main varieties of the latter type: mice with a switch to select theprotocol, and mice that default to 1 and require a button to be held atboot-time to select protocol 2. Some mice can be convinced to do 2 by sendinga special sequence to the serial port (see the ClearDTR/ClearRTS options).Enter a protocol number: 2You have selected a Mouse Systems protocol mouse. If your mouse is normallyin Microsoft-compatible mode, enabling the ClearDTR and ClearRTS optionsmay cause it to switch to Mouse Systems mode when the server starts.Please answer the following question with either 'y' or 'n'.Do you want to enable ClearDTR and ClearRTS? nYou have selected a three-button mouse protocol. It is recommended that youdo not enable Emulate3Buttons, unless the third button doesn't work.Please answer the following question with either 'y' or 'n'.Do you want to enable Emulate3Buttons? yNow give the full device name that the mouse is connected to, for example/dev/tty00. Just pressing enter will use the default, /dev/mouse.On FreeBSD, the default is /dev/sysmouse.Mouse device: /dev/sysmouse</pre><p>下一个要配置的项目是键盘。在例子中使用的键盘一般是101-key 。你可以选择不同的键盘类型或直接按 <b class="KEYCAP">Enter</b> 键来使用默认配置。</p><pre class="SCREEN">Please select one of the following keyboard types that is the betterdescription of your keyboard. If nothing really matches,choose 1 (Generic 101-key PC) 1 Generic 101-key PC 2 Generic 102-key (Intl) PC 3 Generic 104-key PC 4 Generic 105-key (Intl) PC 5 Dell 101-key PC 6 Everex STEPnote 7 Keytronic FlexPro 8 Microsoft Natural 9 Northgate OmniKey 101 10 Winbook Model XP5 11 Japanese 106-key 12 PC-98xx Series 13 Brazilian ABNT2 14 HP Internet 15 Logitech iTouch 16 Logitech Cordless Desktop Pro 17 Logitech Internet Keyboard 18 Logitech Internet Navigator Keyboard 19 Compaq Internet 20 Microsoft Natural Pro 21 Genius Comfy KB-16M 22 IBM Rapid Access 23 IBM Rapid Access II 24 Chicony Internet Keyboard 25 Dell Internet KeyboardEnter a number to choose the keyboard.1Please select the layout corresponding to your keyboard 1 U.S. English 2 U.S. English w/ ISO9995-3 3 U.S. English w/ deadkeys 4 Albanian 5 Arabic 6 Armenian 7 Azerbaidjani 8 Belarusian 9 Belgian 10 Bengali 11 Brazilian 12 Bulgarian 13 Burmese 14 Canadian 15 Croatian 16 Czech 17 Czech (qwerty) 18 DanishEnter a number to choose the country.Press enter for the next page1Please enter a variant name for 'us' layout. Or just press enterfor default variantusPlease answer the following question with either 'y' or 'n'.Do you want to select additional XKB options (group switcher,group indicator, etc.)? n</pre><p>接下来,我们要配置显示器。不要超过你显示器的刷新频率,这样可以会损坏你的显示器。如果你有疑问,请参考其它信息后再做配置。</p><pre class="SCREEN">Now we want to set the specifications of the monitor. The two criticalparameters are the vertical refresh rate, which is the rate at which thewhole screen is refreshed, and most importantly the horizontal sync rate,which is the rate at which scanlines are displayed.The valid range for horizontal sync and vertical sync should be documentedin the manual of your monitor. If in doubt, check the monitor database/usr/X11R6/lib/X11/doc/Monitors to see if your monitor is there.Press enter to continue, or ctrl-c to abort.You must indicate the horizontal sync range of your monitor. You can eitherselect one of the predefined ranges below that correspond to industry-standard monitor types, or give a specific range.It is VERY IMPORTANT that you do not specify a monitor type with a horizontalsync range that is beyond the capabilities of your monitor. If in doubt,choose a conservative setting. hsync in kHz; monitor type with characteristic modes 1 31.5; Standard VGA, 640x480 @ 60 Hz 2 31.5 - 35.1; Super VGA, 800x600 @ 56 Hz 3 31.5, 35.5; 8514 Compatible, 1024x768 @ 87 Hz interlaced (no 800x600) 4 31.5, 35.15, 35.5; Super VGA, 1024x768 @ 87 Hz interlaced, 800x600 @ 56 Hz 5 31.5 - 37.9; Extended Super VGA, 800x600 @ 60 Hz, 640x480 @ 72 Hz 6 31.5 - 48.5; Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz 7 31.5 - 57.0; High Frequency SVGA, 1024x768 @ 70 Hz 8 31.5 - 64.3; Monitor that can do 1280x1024 @ 60 Hz 9 31.5 - 79.0; Monitor that can do 1280x1024 @ 74 Hz10 31.5 - 82.0; Monitor that can do 1280x1024 @ 76 Hz11 Enter your own horizontal sync rangeEnter your choice (1-11): 6You must indicate the vertical sync range of your monitor. You can eitherselect one of the predefined ranges below that correspond to industry-standard monitor types, or give a specific range. For interlaced modes,the number that counts is the high one (e.g. 87 Hz rather than 43 Hz). 1 50-70 2 50-90 3 50-100 4 40-150 5 Enter your own vertical sync rangeEnter your choice: 2You must now enter a few identification/description strings, namely anidentifier, a vendor name, and a model name. Just pressing enter will fillin default names.The strings are free-form, spaces are allowed.Enter an identifier for your monitor definition: Hitachi</pre><p>下一个配置是从显卡的驱动列表里选择一个显卡驱动程序。如果忽略当前列表中的选项,请直接按<b class="KEYCAP">Enter</b> 下一屏将会出现在屏幕上,会显示下面的信息:</p><pre class="SCREEN">Now we must configure video card specific settings. At this point you canchoose to make a selection out of a database of video card definitions.Because there can be variation in Ramdacs and clock generators evenbetween cards of the same model, it is not sensible to blindly copythe settings (e.g. a Device section). For this reason, after you make aselection, you will still be asked about the components of the card, withthe settings from the chosen database entry presented as a strong hint.The database entries include information about the chipset, what driver torun, the Ramdac and ClockChip, and comments that will be included in theDevice section. However, a lot of definitions only hint about what driverto run (based on the chipset the card uses) and are untested.If you can't find your card in the database, there's nothing to worry about.You should only choose a database entry that is exactly the same model asyour card; choosing one that looks similar is just a bad idea (e.g. aGemStone Snail 64 may be as different from a GemStone Snail 64+ in terms ofhardware as can be).Do you want to look at the card database? y288 Matrox Millennium G200 8MB mgag200289 Matrox Millennium G200 SD 16MB mgag200290 Matrox Millennium G200 SD 4MB mgag200291 Matrox Millennium G200 SD 8MB mgag200292 Matrox Millennium G400 mgag400293 Matrox Millennium II 16MB mga2164w294 Matrox Millennium II 4MB mga2164w295 Matrox Millennium II 8MB mga2164w296 Matrox Mystique mga1064sg297 Matrox Mystique G200 16MB mgag200298 Matrox Mystique G200 4MB mgag200299 Matrox Mystique G200 8MB mgag200300 Matrox Productiva G100 4MB mgag100301 Matrox Productiva G100 8MB mgag100302 MediaGX mediagx303 MediaVision Proaxcel 128 ET6000304 Mirage Z-128 ET6000305 Miro CRYSTAL VRX Verite 1000Enter a number to choose the corresponding card definition.Press enter for the next page, q to continue configuration.288Your selected card definition:Identifier: Matrox Millennium G200 8MBChipset: mgag200Driver: mgaDo NOT probe clocks or use any Clocks line.Press enter to continue, or ctrl-c to abort.Now you must give information about your video card. This will be used forthe "Device" section of your video card in XF86Config.You must indicate how much video memory you have. It is probably a goodidea to use the same approximate amount as that detected by the server youintend to use. If you encounter problems that are due to the used servernot supporting the amount memory you have (e.g. ATI Mach64 is limited to1024K with the SVGA server), specify the maximum amount supported by theserver.How much video memory do you have on your video card: 1 256K 2 512K 3 1024K 4 2048K 5 4096K 6 OtherEnter your choice: 6Amount of video memory in Kbytes: 8192You must now enter a few identification/description strings, namely anidentifier, a vendor name, and a model name. Just pressing enter will fillin default names (possibly from a card definition).Your card definition is Matrox Millennium G200 8MB.The strings are free-form, spaces are allowed.Enter an identifier for your video card definition:</pre><p>接下来,设置显卡的分辨率。典型的使用范围是 640x480, 800x600, 和1024x768,这些显卡的功能特性、分辨率的大小以眼睛的舒适为准。当选择颜色深度时,可以选择你显卡支持最大模式。</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -