Projeto MIB
Xinerama Configuração de múltiplos monitores no XFree86
Trabalhar com múltiplos monitores é uma daquelas coisas que, juntamente com direção hidráulica e aquecimento a gás, uma vez que se prova, não dá pra viver sem. Depois de acostumado com o trabalho em dois monitores, me é difícil voltar a encarar apenas um monitor, é quase como se voltasse a gravar arquivos em disquete.
Para habilitar dois monitores no Sarge, é relativamente simples. O maior problema é a compatibilidade de suas placas de vídeo.
# XF86Config-4 para uso com dois monitores em duas placas ATI PCI. # Algumas modificações serão necessárias para necesidades específicas, # Mas essas não serão diferentes das alterações para uso em um monitor. # Um how-to está sendo desenvolvido em http://www.debian-pr.org/pmwiki.php/MIB/MIBXinerama # Em caso de dúvidas, STFW, RTFM e entre em contato com mailto:breno.moiana@gmail.com # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/artwiz" EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer Load "dri" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "XkbModel" "abnt2" Option "XkbLayout" "br,pc104" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "monitor1" VendorName "Plug'n Play" ModelName "Dell E772c" HorizSync 30-70 VertRefresh 50-160 # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Monitor" Identifier "monitor2" # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "device1" VendorName "ATI" BoardName "ATI Rage 128" Driver "ati" Screen 0 BusID "PCI:1:7:0" Option "DPMS" EndSection Section "Device" Identifier "device2" VendorName "ATI" BoardName "ATI Rage 128" Driver "ati" Screen 0 BusID "PCI:1:9:0" Option "DPMS" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 15 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 16 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 24 Virtual 1280 1024 EndSubsection EndSection Section "Screen" Identifier "screen2" Device "device2" Monitor "monitor2" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 15 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 16 Virtual 1280 1024 EndSubsection Subsection "Display" Depth 24 Virtual 1280 1024 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" Screen "screen2" LeftOf "screen1" Option "Xinerama" EndSection