X.org (xorg.conf)
xorg.conf para dois monitores
Categoria: X11
Software: X.org
[ Hits: 9.236 ]
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
Atenção a quem posta conteúdo de dicas, scripts e tal (1)
Manutenção de sistemas Linux Debian e derivados com apt-get, apt, aptitude e dpkg
Melhorando o tempo de boot do Fedora e outras distribuições
Como instalar as extensões Dash To Dock e Hide Top Bar no Gnome 45/46
Instalar Google Chrome no Debian e derivados
Consertando o erro do Sushi e Wayland no Opensuse Leap 15
Instalar a última versão do PostgreSQL no Lunix mantendo atualizado
Flathub na sua distribuição Linux e comandos básicos de gerenciamento
[Shell Script] Script para desinstalar pacotes desnecessários no OpenSuse
[Shell Script] Script para criar certificados de forma automatizada no OpenVpn
[Shell Script] Conversor de vídeo com opção de legenda
[C/C++] BRT - Bulk Renaming Tool
[Shell Script] Criação de Usuarios , Grupo e instalação do servidor de arquivos samba