Pular para o conteúdo

X (xorg.conf)

Configuração do X para:
- Placa de vídeo NVidia
- TV-OUT
- Monitor LCD (eles têm uma faixa de refresh rates suportada, que geralmente é bem rigorosa).

Testado no Ubuntu 5.04 e no Slackware 10.1.
Certifique-se que você instalou os drivers da NVidia antes!

Renan Birck Pinheiro Century_Child
Hits: 8.253 Categoria: X11
  • Download
  • Indicar
  • Denunciar
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.
Download xorg.conf
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

Esconder código-fonte

# Não mexa aqui a menos que saiba o que está fazendo.
Section "ServerLayout"
        Identifier "normal" 
   Screen      0  "Screen 1" 0 0
   InputDevice    "Mouse1" "CorePointer"
   InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

# Fontes.
# Não mexa aqui a menos que saiba o que está fazendo.
Section "Files"

 
        FontPath   "/home/renan/.fonts" # Aqui, mude o '/home/renan/' pelo seu home (/home/usuário).
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/local/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"
   FontPath     "/usr/X11R6/lib/X11/fonts/freefont/"
 
EndSection

# Módulos. Não é necessário mexer aqui.
Section "Module"
    Load        "bitmap"
    Load        "freetype"
    Load        "xtt"
   Load  "dbe"     # Extensão de buffer duplo
   SubSection "extmod"
      Option       "omit xfree86-dga"   # Não inicializa o DGA
   EndSubSection
   Load  "type1"
   Load  "glx" # OpenGL
   Load  "dri"
EndSection

# Teclado ABNT2.
Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "kbd"
   Option       "AutoRepeat" "500 30"
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "abnt2"
   Option       "XkbLayout" "br"
EndSection

# Mouse PS/2.

Section "InputDevice"

   Identifier  "Mouse1"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/psaux"
   Option       "ZAxisMapping" "4 5"
EndSection

# Configuração do monitor, com modeline específica
# ativando HSync e VSync para melhor nitidez da imagem.
Section "Monitor"

   Identifier   "AOC LM520"
#   HorizSync    31.5 - 60.0
   ModeLine     "1024x768 75Hz" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
EndSection

# Placa de vídeo "dummy" para deixar o X satisfeito.
Section "Device"

   Identifier  "Standard VGA"
   Driver      "vga"
   VendorName  "Unknown"
   BoardName   "Unknown"
EndSection

# Placa de vídeo real.
Section "Device"

   Identifier  "GF5200"
   Driver      "nvidia"
   Option       "NoLogo" "true"
        VideoRam    131072
        Option  "TwinView"      "TRUE"  # [<bool>]
        Option  "TVStandard"    "PAL-M" # Se sua TV é NTSC, troque aqui. A maioria das TV's fabricadas no Brasil são PAL-M, mas alguns videocassetes são NTSC.
        Option  "TwinViewOrientation"   "CLONE"
        Option  "MetaModes"     "1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480;"

        Option  "SecondMonitorVertRefresh"      "60"
        Option  "SecondMonitorHorizSync"        "30-50"
        Option  "TVOverScan"    "0.7"
        Option  "NvAGP" "1"

EndSection

Section "Screen"
   Identifier "Screen 1"
   Device     "GF5200"
   Monitor    "AOC LM520"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes    "1024x768" "800x600" "640x480" "320x240"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes    "1024x768" "800x600" "640x480" "320x240"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1024x768" "800x600" "640x480" "320x240" 
   EndSubSection
EndSection

O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

Conky (.conkyrc)

wvdial (wvdial.conf)

MPD (Music Player Daemon) (mpd.conf)

NetHack (.nethackrc)

Conky (.conkyrc)

Gnome (xorg.conf)

xserver (xorg.conf)

Conky (.conkyrc)

X11 (xorg.conf)

X.org (xorg.conf)

Nenhum comentário foi encontrado.

Contribuir com comentário

Entre na sua conta para comentar.