Portál AbcLinuxu, 3. prosince 2025 21:44
xorg.conf, který se všemi staršími verzemi ovladačů fungoval v pohodě, vypadá takto (trochu jsem ho okomentoval, aby to bylo přehlednější):
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "glx"
EndSection
Section "InputDevice" # klávesnice
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "cz"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "InputDevice" # myšička
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor" # první monitor - LCD displej
Option "DPMS" "true"
Identifier "samsunglcd"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection
Section "Monitor" # druhý monitor - televizor
Identifier "televize"
HorizSync 31.5 - 82.0
VertRefresh 40.0 - 150.0
EndSection
Section "Device" # grafická karta - LCD displej
BusId "PCI:8:0:0"
Identifier "gt6600"
Driver "nvidia"
Screen 0
Option "RenderAccel" "true"
Section "Device" # grafická karta - televizor
BusId "PCI:8:0:0"
Identifier "gt6600tv"
Driver "nvidia"
Screen 1
Option "RenderAccel" "true"
EndSection
Section "Screen" # obrazovka - LCD displej
Identifier "Screen0"
Device "gt6600"
Monitor "samsunglcd"
Option "NoLogo" "1"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024_75" "1024x768" "800x600" "640x480"
EndSubSection
Option "ConnectedMonitor" "DFP,TV"
Option "UseDisplayDevice" "DFP"
EndSection
Section "Screen" # obrazovka - televizor
Identifier "Screen1"
Device "gt6600tv"
Monitor "televize"
Option "NoLogo" "1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600"
EndSubSection
Option "TVStandard" "PAL-G"
Option "TVOutFormat" "SVIDEO"
Option "ConnectedMonitor" "DFP,TV"
Option "UseDisplayDevice" "TV"
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
Option "DontZap" "No"
EndSection
Chybové hlášky v Xorg.0.log jsou pouze
(EE) config/hal: NewInputDeviceRequest failed (8)a ty mi to hlásí, i když to funguje
Option "TVStandard" "PAL-G"takže jsem ho odstranil a už to funguje. Jen tak mimochodem mi ale systém ignoruje řádek
Option "XkbLayout" "cz"Občas si říkám, jestli není lepší se na všechny updaty vykašlat…
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.