Dimensione: 6152
Commento:
|
Dimensione: 5371
Commento:
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 19: | Linea 19: |
Il file `xorg.conf` generato sarà simile al seguente: {{{ 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 |
La Section "Device" del file `xorg.conf` generato sarà simile alla seguente: {{{ |
Linea 84: | Linea 32: |
Option "AGPMode" "8" | #Option "AGPMode" # <i> |
Linea 86: | Linea 34: |
Option "AGPSize" "128" | #Option "AGPSize" # <i> |
Linea 90: | Linea 38: |
Option "EnableDepthMoves" "true" Option "EnablePageFlip" "true" |
#Option "EnableDepthMoves" # [<bool>] #Option "EnablePageFlip" # [<bool>] |
Linea 97: | Linea 45: |
Option "AccelDFS" "true" | Option "AccelDFS" # [<bool>] |
Linea 120: | Linea 68: |
Option "AccelMethod" "EXA" | #Option "AccelMethod" # <str> |
Linea 144: | Linea 92: |
}}} | |
Linea 145: | Linea 94: |
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 editor di testo ed i privilegi amministrativi 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" |
Linea 175: | Linea 112: |
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 nella Section "Device" del file `xorg.conf` alla riga Driver. Modificato il file, salvare le modifiche e riavviare il sistema per abilitare i cambiamenti al server grafico. |
Per creare un nuovo file di configurazione di xorg e possibile seguire la guida al paragrafo come si riconfigura Xorg?
In alternativa
- all'avvio del pc nella schemata del bootloader Grub scegliere la voce Recovery mode (Modalità di ripristino)
- Apparirà poi una schermata
- Selezionare la voce Drop to root shell prompt
- Dare il comando {{{X -configure
}}}Verra genetatio il file xorg.conf.new nella cartella
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
}}}
Riavviare il pc con il comando