X.org (xorg.conf)
xorg.conf para dois monitores
Categoria: X11
Software: X.org
[ Hits: 9.355 ]
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
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalar e Configurar o Slackware Linux em 2025
Como configurar os repositórios do apt no Debian 12 em 2025
Passkeys: A Evolução da Autenticação Digital
Instalação de distro Linux em computadores, netbooks, etc, em rede com o Clonezilla
Configurando o Conky para iniciar corretamente no sistema
3 configurações básicas que podem melhorar muito a sua edição pelo editor nano
Como colorir os logs do terminal com ccze
Instalação Microsoft Edge no Linux Mint 22
Como configurar posicionamento e movimento de janelas no Lubuntu (Openbox) com atalhos de teclado