Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "TrackPoint" "CorePointer" # CorePointer: メインとなるポインティングデバイス InputDevice "Keyboard0" "CoreKeyboard" # CoreKeyboard: メインとなるキーボードデバイス InputDevice "USBMouse" "AlwaysCore" # AlwaysCore: サブ的なポインティングデバイス EndSection Section "ServerFlags" Option "BlankTime" "0" # ディスプレイの消去 (スクリーンセイバー) をしない EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/local/X11R6/lib/X11/fonts/TrueType/" FontPath "/usr/local/X11R6/lib/X11/fonts/japanese/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "speedo" Load "type1" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" # トラックポイントの設定を行う。 # トラックポイントは内蔵のため、ServerLayout では CorePointer # として設定しておく事。 # また、rc.conf で moused を起動しないようにしておく事。 Identifier "TrackPoint" Driver "mouse" Option "Device" "/dev/psm0" Option "Protocol" "PS/2" # 以下ホイールマウスの有効化設定 # センターボタンをスクロールボタンにするため、センターボタンを押 # した時の動作は Emulate3Buttons でエミュレーションさせる。 Option "Emulate3Buttons" "yes" Option "ZAxisMapping" "4 5" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "EmulateInertia" "50" EndSection Section "InputDevice" # USB マウスの設定を行う。 # USB マウスを指すと moused が起動して /dev/mouse を使用するので # rc.conf で moused を起動しないようにしておく事。 # なお、ServerLayout の InputDevice では AlwaysCore としておく事。 Identifier "USBMouse" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/mouse" # moused で確保されたデバイス #Option "Device" "/dev/sysmouse" # moused で確保される USB マウス、もしかしたらこっちかも。 # 以下ホイールマウスの有効化設定 Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "ati" VendorName "ATI Technologies Inc" BoardName "Radeon Mobility M6 LY" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultColorDepth 24 # 通常起動させた時の色数 # 以下解像度設定 # 解像度は色数によって決定される。 # デフォルトの解像度は先頭に記述したものがデフォルトとなる。 SubSection "Display" Depth 1 EndSubSection SubSection "Display" Depth 4 EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "DRI" Group 0 EndSection