Strona 2 z 2

: 08 lipca 2008, 20:47
autor: fnmirk

Kod: Zaznacz cały

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/etc/X11/rgb"
    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"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbRules"    "xorg"
    Option      "XkbModel"    "pc105"
    Option      "XkbLayout"    "pl"
    Option      "XkbOptions"	"lv3:ralt_switch"
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      340   270    # mm
    Identifier   "Monitor0"
    VendorName   "PHL"
    ModelName    "Philips 170S"
 ### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync    30.0 - 83.0
    VertRefresh  56.0 - 76.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     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # [i]
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # [i]
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # [i]
        #Option     "DualHead"               # [<bool>]
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "G70 [GeForce 7600 GS]"
    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
To jest baza wyjściowa Twojego pliku xorg.conf. Miałeś tylko w sumie uzupełnić sekcję dotyczącą klawiatury. Utwórz np. na pulpicie nowy plik tekstowy i wklej do niego zawartość tego co jest powyżej. Nazwij plik xorg.conf i skopiuj go jako root do katalogu /etc/X11/
Restart systemu i popraw błąd w swoim poście ma być załączam

: 08 lipca 2008, 21:30
autor: chomik
fnmirk, THX wszystko działa