X.org (xorg.conf)
xorg.conf para dois monitores
Categoria: X11
Software: X.org
[ Hits: 9.403 ]
Por: Mauricio
Essa conf é para quem tem uma placa com saída para dois monitores e deseja usar como um sendo a extensão do outro. Funcionou no Ubuntu Dapper com uma placa FX 5200 com saída digital DVI, mas pode ser adaptado perfeitamente para outras configurações.
# /etc/X11/xorg.conf (xorg X Window System server configuration file) # # Este arquivo foi desenvolvido por Mauricio Maciel # mauricio@vendomicro.com.br # # Com essa opção ligada o monitor extra será a extensão do # principal e não um clone. Section "ServerFlags" Option "Xinerama" "true" EndSection Section "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" 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" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection # Placa de video nvidia FX5200 Section "Device" Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]" Driver "nvidia" BusID "PCI:1:0:0" Screen 0 EndSection # A placa é a mesma , mas o identifier tem que ser diferente para # colocar no outro monitor Section "Device" Identifier "Card1" Driver "nvidia" BusID "PCI:1:0:0" Screen 1 EndSection # Monitor principal Section "Monitor" Identifier "SyncMaster" Option "DPMS" EndSection # Monitor extra Section "Monitor" Identifier "IBM" Option "DPMS" EndSection # Configuração do primeiro monitor Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV34 [GeForce FX 5200]" Monitor "SyncMaster" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1152x864" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 4 Modes "1152x864" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 8 Modes "1152x864" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 15 Modes "1152x864" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 16 Modes "1152x864" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1152x864" "1024x768" "800x600" EndSubSection EndSection # Configuração do segundo monitor Section "Screen" Identifier "Screen1" Device "Card1" Monitor "IBM" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection 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 # Posicionamento dos monitores Section "ServerLayout" Identifier "Default Layout" Screen 0 "Default Screen"0 0 Screen 1 "Screen1" RightOf "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "DRI" Mode 0666 EndSection
Aprenda a Gerenciar Permissões de Arquivos no Linux
Como transformar um áudio em vídeo com efeito de forma de onda (wave form)
Como aprovar Pull Requests em seu repositório Github via linha de comando
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Pastas da raiz foram para a área de trabalho [RESOLVIDO] (7)
Sinto uma leve lentidão ao arrastar, miniminizar e restauras as janela... (0)
Zorin OS - Virtual Box não consigo abrir maquinas virtuais (6)