xorg (xorg.conf)

Configuração do xorg

Categoria: X11

Software: xorg

[ Hits: 75.994 ]

Por: Lucas


Este arquivo foi a solução que consegui criar para fazer o xorg funcionar no meu PC. Eu havia seguido um tutorial, mas no momento do startx, ocorriam erros de fonte. Segue a minha solução para o caso.


# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
   RgbPath     "/usr/local/X11R6.8/lib/X11/rgb"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/local/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/misc/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/75dpi/:unscaled"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/100dpi/:unscaled"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/Type1/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/TTF/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/CID/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/Speedo/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/75dpi/"
   FontPath    "/usr/local/X11R6.8/lib/X11/fonts/100dpi/"      
EndSection

Section "Module"
#   ModulePath "/usr/local/X11R6.8/lib/modules"
   Load        "dbe"
   SubSection  "extmod"
      Option  "omit xfree86-dga"
   EndSubSection
   Load        "type1"
   Load        "freetype"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xfree86"
   Option      "XkbModel"   "abnt2"
   Option      "XkbLayout"   "br"
   Option      "XkbVariant"   "abnt2"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"
   Option      "ZAxisMapping"      "4 5"
EndSection

Section "Device"
   Identifier   "Nvidia GeForce FX6200"
   Driver      "nvidia"
   Option       "RenderAccel"       "true"
#   Option      "UseFBDev"      "true"
EndSection

Section "Monitor"
   Identifier   "PBR:c801"
   HorizSync   30-57
   VertRefresh   43-72
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Nvidia GeForce FX6200"
   Monitor      "PBR:c801"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection

Section "Extensions"

       Option "Composite" "Enable"

EndSection
       
  


Comentários
[1] Comentário enviado por KYRM& em 18/11/2005 - 19:24h

hmm .. legal.. mas porque você colocou de titulo "configuração do xorg.conf" se você ta configurando o xfree???

#Option "XkbRules" "xfree86"

[2] Comentário enviado por hugoamaral em 25/11/2005 - 19:48h

Acho que o xfree mudou para xorg, já vem assim no slack 10.2

[3] Comentário enviado por sombriks em 05/12/2005 - 02:41h

affe.
ei, essa eh a configuração do xfree kra. o padrão do slack eh o xorg.

o legal é que a única diferença eh em

Option "XkbRules" "xfree86"

pra

Option "XkbRules" "xorg"

[4] Comentário enviado por sapiras em 12/12/2005 - 16:23h

Uma curiosidade, certa vez configurei o xorg mas com o xorgcfg, aconteceu que meu windowMaker não rodou mais, descobri então que no meio de uma das linhas do xorg.conf havia "^DRH", detalhe, nunca tinha mexido no xorg.conf, apaguei isso e o gerenciador voltou a funcionar. É normal acontecer esse bug se usando o xorgcfg?

[5] Comentário enviado por marcops em 29/01/2006 - 00:55h

os problemas que tive com o modo grafico foram resolvidos com o xorgconfig,
so configura ele direitinho, ou no meu caso tenho gforce fx5200 depois de ter configurado o xorgconfig corretamente baixei o driver da placa, ( que necessita do codigo do kernel do linux ) e sai rodando feliz :D

[6] Comentário enviado por JefersonLopes em 07/02/2006 - 10:17h

Uma outra dica é na sub-seção "extmod". Você pode deixar assim

SubSection "extmod"
Option "xfree86-dga"
EndSubSection

Com isto, estará abilitando o "Direct Graphic do X"

[7] Comentário enviado por removido em 28/01/2009 - 10:14h

Amigo, vc conhece alguma configuração (ou sabe se existe) pra aumentar o brilho ou gama da tela pelo xorg.conf? Minha placa é ATI e não estou usando o software proprietário FGLRX, portanto não há aticonfig.

[8] Comentário enviado por andersonrdas em 14/03/2010 - 08:33h

ola galera tudo bem com vocês?
poisé,meu problema é crítico mais sei que a comunidade linux é atenciosa e quer que esse SO seja idolatrado mais do que o windows,merecidamente.
mais o meu problema é com a resoluçâo do ubuntu 9.10
cara nunca tinha nem se quer visto o linux funcionando,nâo sei nada sobre ele,mais gostei do sistema.
procurei em tudo quanto é lugar como aumentar a resoluçâo e até achei algumas dicas.

MEU PROBLEMA É:ONDE FICA ESSE TAL XORG.CONF?COMO FAÇO PRA CHEGAR ATÉ ELE?SOCORRO!!!!
SERÁ QUE TEM UMA ALMA BOA PRA ME ENSINAR PASSO A PASSO?
DESDE JA AGRADEÇO.

[9] Comentário enviado por lucascoala em 19/03/2010 - 10:21h

tem q ver a versão que esta utilizando, hoje muita coisa mudou desde q postei esta conf.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts