Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati
  • Differenze per "Hardware/Periferiche/XorgConfD"
Differenze tra le versioni 1 e 24 (in 23 versioni)
Versione 1 del 04/05/2010 15.26.28
Dimensione: 685
Commento:
Versione 24 del 13/10/2010 22.08.43
Dimensione: 7841
Commento:
Le cancellazioni sono segnalate in questo modo. Le aggiunte sono segnalate in questo modo.
Linea 1: Linea 1:
Per creare un nuovo file di configurazione di xorg e possibile seguire la guida al paragrafo come si riconfigura Xorg? = Modificare la configurazione di Xorg =

Nelle versioni precedenti a '''Ubuntu 9.10''' per modificare le impostazioni del server grafico occorreva editare con un editor di testo ed i privilegi amministrativi il file `/etc/X11/xorg.conf`, a partire da questa versione di Ubuntu il file `/etc/X11/xorg.conf` non è è presente, perché il server grafico è tutto gestito automaticamente dal sistema, ma se verrà creato un file di configurazione la gestione del server grafico passerà a questo.

Per creare un nuovo file di configurazione di X.org è possibile seguire la procedura della guida [:Hardware/Video/DomandeFrequenti:Domande frequenti] al paragrafo «'''Come si riconfigura il server grafico?'''»
Linea 5: Linea 9:
 0. all'avvio del pc nella schemata del bootloader Grub scegliere la voce Recovery mode (Modalità di ripristino)  0. All'avvio del pc nella schemata del bootloader Grub scegliere la voce «'''Recovery mode'''» (Modalità di ripristino)
Linea 13: Linea 17:
 0. Copiare il file `xorg.conf.new` nel file xorg.conf e inserirlo nella cartella `/etc/X11/` {{{ cp /root/home/xorg.conf.new /etc/X11/xorg.conf  0. Copiare il file `xorg.conf.new` nel file xorg.conf e inserirlo nella cartella `/etc/X11/` {{{ cp /root/xorg.conf.new /etc/X11/xorg.conf
Linea 18: Linea 22:

= Un esempio di file xorg.conf =
{{{
Section "ServerLayout"
 Identifier "X.org Configured"
 Screen 0 "Screen0" 0 0
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 ModulePath "/usr/lib/xorg/modules"
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "built-ins"
EndSection

Section "Module"
 Load "extmod"
 Load "dri"
 Load "record"
 Load "glx"
 Load "dbe"
 Load "dri2"
EndSection

Section "InputDevice"
 Identifier "Keyboard0"
 Driver "kbd"
EndSection

Section "InputDevice"
 Identifier "Mouse0"
 Driver "mouse"
 Option "Protocol" "auto"
 Option "Device" "/dev/input/mice"
 Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
 #DisplaySize 380 300 # mm
 Identifier "Monitor0"
 VendorName "SAM"
 ModelName "SyncMaster"
 HorizSync 30.0 - 81.0
 VertRefresh 56.0 - 75.0
 Option "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option "NoAccel" # [<bool>]
        #Option "SWcursor" # [<bool>]
        #Option "Dac6Bit" # [<bool>]
        #Option "Dac8Bit" # [<bool>]
        #Option "BusType" # [<str>]
        #Option "CPPIOMode" # [<bool>]
        #Option "CPusecTimeout" # <i>
        #Option "AGPMode" # <i>
        #Option "AGPFastWrite" # [<bool>]
        #Option "AGPSize" # <i>
        #Option "GARTSize" # <i>
        #Option "RingSize" # <i>
        #Option "BufferSize" # <i>
        #Option "EnableDepthMoves" # [<bool>]
        #Option "EnablePageFlip" # [<bool>]
        #Option "NoBackBuffer" # [<bool>]
        #Option "DMAForXv" # [<bool>]
        #Option "FBTexPercent" # <i>
        #Option "DepthBits" # <i>
        #Option "PCIAPERSize" # <i>
        #Option "AccelDFS" # [<bool>]
        #Option "IgnoreEDID" # [<bool>]
        #Option "CustomEDID" # [<str>]
        #Option "DisplayPriority" # [<str>]
        #Option "PanelSize" # [<str>]
        #Option "ForceMinDotClock" # <freq>
        #Option "ColorTiling" # [<bool>]
        #Option "VideoKey" # <i>
        #Option "RageTheatreCrystal" # <i>
        #Option "RageTheatreTunerPort" # <i>
        #Option "RageTheatreCompositePort" # <i>
        #Option "RageTheatreSVideoPort" # <i>
        #Option "TunerType" # <i>
        #Option "RageTheatreMicrocPath" # <str>
        #Option "RageTheatreMicrocType" # <str>
        #Option "ScalerWidth" # <i>
        #Option "RenderAccel" # [<bool>]
        #Option "SubPixelOrder" # [<str>]
        #Option "ShowCache" # [<bool>]
        #Option "ClockGating" # [<bool>]
        #Option "VGAAccess" # [<bool>]
        #Option "ReverseDDC" # [<bool>]
        #Option "LVDSProbePLL" # [<bool>]
        #Option "AccelMethod" # <str>
        #Option "DRI" # [<bool>]
        #Option "ConnectorTable" # <str>
        #Option "DefaultConnectorTable" # [<bool>]
        #Option "DefaultTMDSPLL" # [<bool>]
        #Option "TVDACLoadDetect" # [<bool>]
        #Option "ForceTVOut" # [<bool>]
        #Option "TVStandard" # <str>
        #Option "IgnoreLidStatus" # [<bool>]
        #Option "DefaultTVDACAdj" # [<bool>]
        #Option "Int10" # [<bool>]
        #Option "EXAVSync" # [<bool>]
        #Option "ATOMTVOut" # [<bool>]
        #Option "R4xxATOM" # [<bool>]
        #Option "ForceLowPowerMode" # [<bool>]
        #Option "DynamicPM" # [<bool>]
        #Option "NewPLL" # [<bool>]
        #Option "ZaphodHeads" # <str>
 Identifier "Card0"
 Driver "radeon"
 VendorName "ATI Technologies Inc"
 BoardName "RV350 AQ [Radeon 9600]"
 BusID "PCI:1:0:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor "Monitor0"
 SubSection "Display"
  Viewport 0 0
  Depth 1
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 4
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 8
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 15
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 16
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 24
 EndSubSection
EndSection}}}


Aprire con un [:Ufficio/EditorDiTesto:editor di testo] con i [:AmministrazioneSistema/Sudo:privilegi di amministrazione] il file `/etc/X11/xorg.conf`

Per abilitare una data opzione rimuovere il simbolo # all'inizio della riga che comincia con '''Option'''

 '''# [<bool>]''' va sostituito con un valore booleano (True o False)

 '''# <i>''' va sostituito con un numero intero

 '''# <f>''' va sostituito con un valore in virgola mobile

 '''# <freq>''' va sostituito con il valore della frequenza seguito dall'unità di misura (Hz/kHz/MHz) esempio 12 MHz


 '''# <str>''' va sostituito con una stringa

Tutti i valori, numeri o stringhe vanno inseriti fra doppi apici ad esempio {{{
Option "AccelMethod" "EXA"
}}}


Per sapere la funzione di una data opzione digitare in un terminale {{{
man nome_driver_video
}}}

Il nome del driver video è contenuto fra doppi apici alla riga '''Driver'''.

Modificato il file e salvare le modifiche, riavviare il sistema per abilitare i cambiamenti al server grafico.
----
CategoryHomepage

Modificare la configurazione di Xorg

Nelle versioni precedenti a Ubuntu 9.10 per modificare le impostazioni del server grafico occorreva editare con un editor di testo ed i privilegi amministrativi il file /etc/X11/xorg.conf, a partire da questa versione di Ubuntu il file /etc/X11/xorg.conf non è è presente, perché il server grafico è tutto gestito automaticamente dal sistema, ma se verrà creato un file di configurazione la gestione del server grafico passerà a questo.

Per creare un nuovo file di configurazione di X.org è possibile seguire la procedura della guida [:Hardware/Video/DomandeFrequenti:Domande frequenti] al paragrafo «Come si riconfigura il server grafico?»

In alternativa

  1. All'avvio del pc nella schemata del bootloader Grub scegliere la voce «Recovery mode» (Modalità di ripristino)

  2. Apparirà poi una schermata
  3. Selezionare la voce Drop to root shell prompt
  4. Dare il comando {{{X -configure

}}}Verra genetatio il file xorg.conf.new nella cartella

  1. Copiare il file xorg.conf.new nel file xorg.conf e inserirlo nella cartella /etc/X11/ {{{ cp /root/xorg.conf.new /etc/X11/xorg.conf

}}}

  1. Riavviare il pc con il comando