Chinaunix

标题: archlinux设置 [打印本页]

作者: kiever    时间: 2008-03-08 19:15
标题: archlinux设置
1    archlinux使用xfce,在运行screen时发现无法使用backspace或者delete
      解决方法:在terminal的preference中的advanced下,将backspace定义为ASCII DEL,
                                delete定义为 ATUO-DETECT
2   ASUS集成ATI Xpress 1200系列显卡配置
      示例:
################################################################################
Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen      0  "aticonfig-Screen[0]" 0 0
    Screen         "aticonfig-Screen[1]" Above "aticonfig-Screen[0]"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
    Option         "AIGLX" "on"
EndSection
Section "Files"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/Type1"
EndSection
Section "Module"
    Load  "dbe"      # Double buffer extension
    SubSection "extmod"
        Option        "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load  "freetype"
    Load "bitmap"
    Load "i2c"
    Load "glx"
    Load "ddc"
    Load "type1"
    Load "freetype"
    Load "extmod"
    Load "synaptics"
    Load "int10"
    Load "vbe"
    Load "dri"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option        "AutoRepeat" "500 30"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc101"
    Option        "XkbLayout" "us"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option        "Protocol" "Auto"    # Auto detect
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
    Identifier   "aticonfig-Monitor[0]"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection
Section "Monitor"
    Identifier   "aticonfig-Monitor[1]"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection
Section "Device"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
    BusID       "PCI:1:5:0"
    Option "VideoOverlay" "on"
    Option "OpenGLOverlay" "off"
    Option "DRI" "on"
    Option "ColorTiling" "on"
    Option "EnablePageFlip" "on"
    Option "AccelMethod" "EXA"
    Option "XAANoOffscreenPixmaps" "on"
    Option "RenderAccel" "on"
    option "AGPMode" "4"
    Option "AGPFastWrite" "on"
    Option "KernelModuleParm" "agplock=0"
    Option "UseInternalAGPGART" "no"
    Option "EnablePrivateBackZ" "no"
    Option "DisableGLXRootClipping" "on"
    Option "AddARGBGLXVisuals" "on"
    Option "AllowGLXWithComposite" "on"
    Option "mtrr" "on"
    Option "DynamicClocks" "on"
    Option "TexturedVideo" "on"
    Option "TexturedVideoSync" "on"
    Option "Textured2D" "on"
    Option "TexturedXrender" "on"
    Option "UseFastTLS" "1"
    Option "BackingStore" "on"
    Option "MaxGARTSize" "128"
EndSection
Section "Device"
    Identifier  "aticonfig-Device[1]"
    Driver      "fglrx"
    BusID       "PCI:1:5:0"
    Screen      1
EndSection
Section "Screen"
    Identifier "aticonfig-Screen[0]"
    Device     "aticonfig-Device[0]"
    Monitor    "aticonfig-Monitor[0]"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1440x900" "1280x1024" "1024x768"
    EndSubSection
EndSection
Section "Screen"
    Identifier "aticonfig-Screen[1]"
    Device     "aticonfig-Device[1]"
    Monitor    "aticonfig-Monitor[1]"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection
Section "Extensions"
     Option "Composite" "Enable"
     Option "RENDER" "Enable"
     Option "DAMAGE" "Enable"
     Option "XVideo" "Enable"   #mplayer播放使用xv模式必须参数
EndSection
Section "DRI"
    Group 0
    Mode 0666
EndSection
################################################################################
3    使用alsa驱动,多声道声卡却是双声道输出
    解决方法:确认声卡驱动安装正确;
                            运行alsamixer,将channel选择为正确设置,如6ch
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22826/showart_492103.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2