[root @test root]# xf86config Step 1: 准备备份与是否进行? This program will create a basic XF86Config file, based on menu selections you make. Before continuing with this program, make sure you know what video card you have, and preferably also the chipset it uses and the amount of video memory on your video card. SuperProbe may be able to help with this. Press enter to continue, or ctrl-c to abort. <==这里按下Enter开始设定
Step 2: 设定鼠标: First specify a mouse protocol type. Choose one from the following list: 1. Microsoft compatible (2-button protocol) 2. Mouse Systems (3-button 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 IntelliMouse Enter a protocol number: 4 <==主要是2或4,目前大多使用ps/2鼠标,所以选4就对了!
Do you want to enable Emulate3Buttons? n <==是否模拟三键?我们已经是三键,当然不模拟!
Now give the full device name that the mouse is connected to, for example /dev/tty00. Just pressing enter will use the default, /dev/mouse. Mouse device: <==这里要设定鼠标的装置代号,通常使用默认值即可,所以按下Enter!
Step 3: 设定键盘格式: 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 Enter a number to choose the keyboard. 1 <==选择键盘的形式,如果不知道你的键盘格式,选择 1 或 3 即可!
1 U.S. English 2 U.S. English w/ ISO9995-3 3 U.S. English w/ deadkeys 4 Albanian Enter a number to choose the country. Press enter for the next page 1 <==选择键盘按键,我们键盘上面有的是英文呀!所以当然选择 1 英文按键!
Please enter a variant name for 'us' layout. Or just press enter for default variant <==选择这个键盘的名称,预设称为 us ,不用搞特殊,Enter即可!
Please answer the following question with either 'y' or 'n'. Do you want to select additional XKB options (group switcher, group indicator, etc.)? n <==是否需要额外的XKB选项,不需要啦!按 n !
Step 4:设定屏幕 Now we want to set the specifications of the monitor. The valid range for horizontal sync and vertical sync should be documented in 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. <==准备设定屏幕,按Enter开始
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 Hz 10 31.5 - 82.0; Monitor that can do 1280x1024 @ 76 Hz 11 Enter your own horizontal sync range Enter your choice (1-11): 7 <==目前的屏幕选择 7 应该都吃的下啦! 当然,如果你的屏幕比较好,可以考虑选择 8~10 的选择!
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 range Enter your choice: 2 <==目前屏幕选择 2 也应该都没有问题啦!
You must now enter a few identification/description strings, namely an identifier, a vendor name, and a model name. Just pressing enter will fill in default names. The strings are free-form, spaces are allowed. Enter an identifier for your monitor definition: MyMonitor<==这里要写一下你的屏幕的代号, 随便写没有关系啦!因为这个是在XF86Config里面的代号而已!
Step 5: 设定显示卡 Do you want to look at the card database? y <==是否要选择显示卡?当然是要啰!
468 SiS 5597 SiS5597 469 SiS 5598 SIS5598 470 SiS 620 SIS620 471 SiS 6326 SiS6326 472 SiS SG86C201 SIS86C201 Enter a number to choose the corresponding card definition. Press enter for the next page, q to continue configuration. 471<==这里接着下来会让你选择你的显示卡数据,由于我们的数据库相当庞大,所以 如果该页没有你要的数据时,可以按下Enter到下一页去选择!那么如果你的厂商 是比较小牌的怎么办?没关系,果真如此,那么选择不同厂商但是同样芯片的 数据就可以了!由于我是使用Sis 6326,所以就选择471这个号码啰!
Your selected card definition: Identifier: SiS 6326 Chipset: SiS6326 Driver: sis Do NOT probe clocks or use any Clocks line. Press enter to continue, or ctrl-c to abort. <==这里再按Enter即可!
How much video memory do you have on your video card: 1 256K 2 512K 3 1024K 4 2048K 5 4096K 6 Other Enter your choice: 6 <==设定你的显示卡内存,目前的主流已经提升到 64MB了, 所以自然要选择 6 来自定了!记得 RAM 的算法: 32M = 32*1024= 32768K 才对喔!
Amount of video memory in Kbytes: 1024 <==我的卡只有 1M 而已….
The strings are free-form, spaces are allowed. Enter an identifier for your video card definition: <==这里按下 Enter 使用默认值即可!
Step 6:设定屏幕分辨率: "640x480" "800x600" "1024x768" for 8-bit "640x480" "800x600" for 16-bit "640x480" for 24-bit
Modes that cannot be supported due to monitor or clock constraints will be automatically skipped by the server.
1 Change the modes for 8-bit (256 colors) 2 Change the modes for 16-bit (32K/64K colors) 3 Change the modes for 24-bit (24-bit color) 4 The modes are OK, continue.
Enter your choice: 3 <==预设的情况下会有上面的那些模式,那么我通常喜欢一种模式而已, 所以就按下 3 来修改该模式,设定为我喜欢的 1024x768 那个模式。
Select modes from the following list: 1 "640x400" 2 "640x480" 3 "800x600" 4 "1024x768" 5 "1280x1024" 6 "320x200" 7 "320x240" 8 "400x300" 9 "1152x864" a "1600x1200" b "1800x1400" c "512x384" Please type the digits corresponding to the modes that you want to select. For example, 432 selects "1024x768" "800x600" "640x480", with a default mode of 1024x768.
Which modes? 4 <==选择我要的呦!
Please answer the following question with either 'y' or 'n'. Do you want a virtual screen that is larger than the physical screen? n 上面的设定在说明,是否需要虚拟桌面?我才不要呢!所以选择 n 啰!
1 Change the modes for 8-bit (256 colors) 2 Change the modes for 16-bit (32K/64K colors) 3 Change the modes for 24-bit (24-bit color) 4 The modes are OK, continue.
Enter your choice: 4 <==这样就 OK 了!
Please specify which color depth you want to use by default:
1 1 bit (monochrome) 2 4 bits (16 colors) 3 8 bits (256 colors) 4 16 bits (65536 colors) 5 24 bits (16 million colors) Enter a number to choose the default depth. 5 <==预设是哪一个色彩度登入呢?选择你要的喔!我要的是 5 那个色彩度!
Step 7: 写入设定档 Shall I write it to /etc/X11/XF86Config? y <==勇敢一点!给他 y 写入吧!反正已经备份了! |