Linux中国 Linux中国门户站!
设为主页 设为主页
收藏本站 收藏本站
 
当前位置 :首页 ->Linux技术 ->系统管理 ->正文

用xf86config进行X-WINDOW配置

来源:Linux-cn.com 作者:Webmaster 时间:2007-05-05 点击: [收藏] [投稿]

  X-WINDOW是一种风行于UNIX的图形界面,现在它已经成功地移植到了LINUX平台上,装上X-WINDOW这一漂亮的门面,一定能让LINUX蓬荜生辉。它的最大特点是设备无关性,安装完后只要用xf86config配置一下就可以立马上班了。

  听了这许多介绍,加上我装的是Red Hat Linux,X-WINDOW已经在我的系统里呆着了,我急不可待地在命令行上输入xf86config,原本认为一锤定音,哪想到却是大费周折:

  首先当然得准备好资料,我将显示器和显卡的说明书放在案边,因为在设定

  Xwindow时要知道显示器的垂直及水平扫描频率;还有显卡的主芯片,显存大小;DAC芯片和时钟芯片型号。

  运行xf86cofnig后,前面几个画面没什麽重要的, 一直按ENTER直到设定鼠标的地方!屏幕上出现:


   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

  相信大家都知道自己的爱鼠该选那一种的吧??如果你的鼠标是可以2键与3键切换的,建议你使用3键的!!因为Xwindow下会使用到第三个键! 另外罗技的鼠标一般都应该要选第六项!我的小老鼠嘛,最常见,选2。

  选好之后,会根据你选的mouse问一些东西!你可以看说明来决定要选Yes或No!根据我的经验一路回车下去就搞定了。直到屏幕上出现:


 Please answer the following question with either 'y' or 'n'.
 Do you want to enable these bindings for the Alt keys?

  要我们设置键盘,直接按Enter就行了!

  注意,好戏上场了,屏幕显示:


It is VERY IMPORTANT that you do not specify a monitor type 
with a horizontal sync 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 Hz 10 Enter your own horizontal sync range Enter your choice (1-10):

  让你选择屏幕的水平扫描频率,如果你有显示器说明书,按说明书选择,或选10自己输入。如果没有说明书,选5比较合适。接下来就是设定垂直扫描频率了:


    You must indicate the vertical sync range of your monitor. You can either
    select 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 range

  一样的,根据说明书来选择,或选5自己输入。如果没有说明书,选2一般没问题。

  接着,它会问你显示器厂家型号, 随便输入就可以了!干脆,一路回车,搞定。

  屏幕上出现了选择显卡类型的提示:


     Do you want to look at the card database? (按y,列出下一页)
        0 S3 Trio64V+
        1 ......

  这里,它会列出近400百种显卡供你选择,选择与你相符的显卡。

  下面就是让我们选择自己的X服务器,这个选项是一定要选的。


     1 The XF86_Mono server. This a monochrome server that should work on any
        VGA-compatible card, in 640x480 (more on some SVGA chipsets).
     2 The XF86_VGA16 server. This is a 16-color VGA server that should work on
        any VGA-compatible card.
     3 The XF862_SVGA server. This is a 256 color SVGA server that supports a
        a number of SVGA chipsets. It is accelerated on some Cirrus and WD
        chipsets; it supports 16/32-bit color on certain Cirrus configurations.
     4 The accelerated servers. These include XF86_S3, XF86_Mach32, XF86_Mach8,
        XF86_8514, XF86_P9000, XF86_AGX, XF86_W32 and XF86_Mach64.
    These four server types correspond to the four different "Screen" sections
    in XF86Config (vga2, vga16, svga, accel).
    Which one of these screen types do you intend to run by default (1-4)?

  如果用户的显示卡是S3/Mach32/Mach8/8514/P9000/AGX/W32/S3 Virge系列就可以在第四个选项中挑选自己的服务器,否则只能选择3,使用256色了。如果连选3都无法正常启动X-WINDOW,那你只有选2,享用那丑陋的16色了,要么就只能换块卡了。像笔者的Trident9685,只能选3,忍受那平谈无奇的256色。

 如果您对本文有任何疑问或者建议,请到讨论区发表您的意见: >> 论坛入口 <<



上一篇:[网卡]快速搞定D-Link530TX RevB网卡   下一篇:和luster学习在Linux创建库函数(5)

文章评论】 【收藏本文】 【推荐好友】 【打印本文】 【我要投稿】 【论坛讨论
更多相关文章
Power by linux-cn.com 粤ICP备05006655号