zhangqj 发表于 2003-4-22 11:08:05

xwindow 配置问题,请高手帮忙!多谢!

东芝TE2100笔记本:
      显卡:nVIDIA Ge Force4 420 Go, 16MB DDR
      安装NVIDIA_kernel和NVIDIA_GLX(4191)后,KDE/GNOME
不满屏,屏幕右侧有黑条,用xvidtune查看分辨率为800*600,怎样才能
改为1028*768.XF86config-4文件内容如下:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable &lt;Crtl&gt;&lt;Alt&gt;<BS> (server abort)
    #DontZoom # disable &lt;Crtl&gt;&lt;Alt&gt;&lt;KP_+&gt;/&lt;KP_-&gt; (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
    Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1024x768"
    HorizSync 31.5-48.5
    VertRefresh 40-70
   
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480488494563 -hsync -vsync
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"   50.00768832846 1000   576590595630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"   63.07768800960 1024   576578590616
EndSection

Section "Device"
    Identifier "device1"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
      Depth 8
      Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
      Depth 15
      Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
      Depth 16
      Modes "1024x768" "800x600" "640x480"
    EndSubsection
   
    Subsection "Display"
      Depth 24
      Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection
页: [1]
查看完整版本: xwindow 配置问题,请高手帮忙!多谢!