BR Indice(depth=2) VersioniSupportate(hardy gutsy dapper)
Introduzione
In questa guida si vuole spiegare come abilitare la funzione Dual monitor con Xinerama ed una scheda video che possiede una doppia uscita video.
Preparativi
Si raccomanda vivamente di fare una copia di backup del file xorg.conf prima di iniziare qualsiasi procedura tramite il comando
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
nel caso in cui non si ottengano i risultati sperati sui monitor connessi,ripristinarlo eventualmente con i comandi da terminale: {{{ sudo rm /etc/X11/xorg.conf sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf }}}
Riavviare il sistema
Se invece non si riesce a far ripartire il server grafico, selezionare all'avvio del bootloader Grub la voce «Recovery mode».
Avviatosi il «Recovery menu» ,selezionare «root Drop to root shell mode» e dare allora i seguenti comandi:
rm /etc/X11/xorg.conf cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
Riavviare il sistema con il comando
reboot
Requisiti di sistema
Sistema dotato di scheda grafica con doppia uscita video o, in alternativa, di due schede schede grafiche.
Dual monitor con una scheda video
Aprire con un [http://wiki.ubuntu-it.org/Ufficio/EditorDiTesto editor di testo] e con i [http://wiki.ubuntu-it.org/AmministrazioneSistema/Sudo privilegi di amministrazione] il file /etc/X11/xorg.conf.
Scorrere il file di testo fino a trovare la sezione inerente alla scheda video caratterizzata dalla dicitura Section "Device".
Esempio: {{{ Section "Device" Identifier "ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP) "Driver "ati" BusID "PCI:1:5:0" EndSection }}} Copiare questa sezione ed inserirla subito dopo l'opzione End Section, ottenendo qualcosa di simile a questo: {{{ Section "Device" Identifier "ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP) "Driver "ati" BusID "PCI:1:5:0" EndSection
Section "Device" Identifier "ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)" Driver "ati" BusID "PCI:1:5:0" EndSection }}}
Editare le opzioni Identifier differenziandole in questo modo:
Identifier "0 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)
Identifier "1 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)"
Aggiungere l'opzione Screen: {{{ Section "Device" Identifier "ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP) "Driver "ati" BusID "PCI:1:5:0" Screen 0 EndSection
Section "Device" Identifier "ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)" Driver "ati" Screen 1 BusID "PCI:1:5:0" EndSection }}} Duplicare e differenziare con 0 e 1, come sopra, le opzioni Section "Monitor" e Section "Screen" e differenziare ulteriormente entrambe le Section "Screen" modificando le diciture Identifier e Monitor ottenendo qualcosa di simile a questo: {{{ Section "Screen"
- Identifier "Main Screen" Device "0 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)" Monitor "Main Monitor"
DefaultDepth 24 SubSection "Display"
- Depth 1 Modes "1024x768"
# Subsections for other display depths not shown... EndSection
Section "Screen"
- Identifier "Second Screen" Device "1 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)" Monitor "Second Monitor"
DefaultDepth 24 SubSection "Display"
- Depth 1 Modes "1024x768"
# Subsections for other display depths not shown... EndSection }}} Trovare l'opzione ServerLayout e modificare la dicitura Screen per il primo monitor e aggiungere una riga per il secondo come segue: {{{ Section "ServerLayout"
- Identifier "Default Layout" Screen 0 "Main Screen"
Screen 1 "Second Screen" RightOf "Main Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad"
EndSection }}} aggiungere quindi Option "Xinerama" "true" a Section "ServerLayout" {{{Section "ServerLayout"
- Identifier "Default Layout" Screen 0 "Main Screen"
Screen 1 "Second Screen" RightOf "Main Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad" Option "Xinerama" "true"
EndSection }}}
Salvare le modifiche al file.
Riavviare il server grafico o riavviare il computer affinché le modifiche abbiano effetto.
Dual monitor con doppia scheda video
Se sul sistema sono presenti due schede video la risposta al comando {{{ lspci -x | grep VGA }} sarà simile a questa: {{{ PCI:1:5:0 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP) PCI:1:2:0 VGA compatible controller: Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller] }}} BR Seguire la guida precedente avendo cura di modificare le voci BusID inserendo l'opzione relativa alle proprie schede video: {{{ Section "Device" Identifier "0 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)" Driver "ati" BusID "PCI:1:5:0" Screen 0 EndSection
Section "Device" Identifier "1 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)" Driver "ati" BusID "PCI:1:2:0" Screen 1 EndSection }}}
Non è invece fondamentale cambiare la voce Identifier
Ulteriori risorse
[http://ubuntuforums.org/showthread.php?p=1773624 Dual Monitor Support With Xinerama HowTo:]