XOrg

XOrgのインストール

Xサーバー設定ガイド を参考に設定した記録です。

# emerge xorg-x11
# env-update
# source /etc/profile

XOrgの設定

# Xorg -configure
# nano -w xorg.conf.new
Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath "/usr/X11R6/lib/X11/rgb"
    ModulePath "/usr/X11R6/lib/modules"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/CID/"
    FontPath "/usr/share/fonts/75dpi/"
    FontPath "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "jp106"
    Option "XkbLayout" "jp"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
    #DisplaySize 340 270 # mm
    Identifier "Monitor0"
    VendorName "IOD"
    ModelName "LCD-AD173C"
    HorizSync 20.0 - 83.0
    #HorizSync 1211184896.0 - 0.0
    VertRefresh 57.0 - 77.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 "ColorKey"         # <i>
    #Option "CacheLines"        # <i>
    #Option "Dac6Bit"         # [<bool>]
    #Option "DRI"         # [<bool>]
    #Option "NoDDC"         # [<bool>]
    #Option "ShowCache"         # [<bool>]
    #Option "XvMCSurfaces"     # <i>
    #Option "PageFlip"         # [<bool>]
    Identifier "Card0"
    Driver "i810"
    VendorName "Intel Corp."
    BoardName "82865G Integrated Graphics Device"
    BusID "PCI:0:2: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
# startx

スポンサード リンク

トラックバック

トラックバックURL
https://linux-life.net/tb/gentoo/setting/x/
Linux Life 〜 No linux, No life 〜
Gentoo Linux > デスクトップ用の設定 > XOrg